Question: Please answer the question (For customers who received the clothes from June 2021 onwards , show the customers' names and the types of clothes received





Please answer the question (For customers who received the clothes from June 2021 onwards , show the customers' names and the types of clothes received by the customers ) . Thank you.
CREATE TABLE Customer (Customer No Char(5) NOT NULL, Customer Name Varchar2(30) NOT NULL, Gender Char(1) NOT NULL, Address Varchar2(60) NOT NULL, Email Address Varchar2(60) NOT NULL, Telephone No Number(10) NOT NULL, No of Clothes Number(2) NOT NULL, Cust.Size Char(5) NOT NULL, Receipt Date Varchar2(15) NOT NULL, Return Date Varchar2(15) NOT NULL, CONSTRAINT Customer Newpk PRIMARY KEY (Customer_No)); CREATE TABLE Designer (Designer_No Char(5) NOT NULL, Designer_Name Varchar2(30) NOT NULL, Address Varchar2(60) NOT NULL, Email_Address Varchar2(60) NOT NULL, Telephone_No Number(10) NOT NULL, Social_Med_Plat Varchar2(30) NOT NULL, Ne Designed Number(3) NOT NULL, Salary Number(4) NOT NULL, CONSTRAINT Designer Nerk PRIMARY KEY (Designer_No)); CREATE TABLE Clothes (Clothes No Char(5) NOT NULL, Type_Clothes Varchar2(30) NOT NULL, Cond Clothes Varchar2(20) NOT NULL, Type_Fabric Varchar2(20) NOT NULL, Colour Clothes Varchar2(10) NOT NULL, Price Number(3) NOT NULL, Customer_No Char(5) NOT NULL, Designer_No Char(5) NOT NULL, CONSTRAINT Clothes_ No pk PRIMARY KEY (Clothes_No), CONSTRAINT Customer_No_fk FOREIGN KEY (Customer_No) REFERENCES Customer, CONSTRAINT Designer Ne fk FOREIGN KEY (Designer_No) REFERENCES Designer); SQL> INSERT INTO Customer 2 (Customer_No, Customer_Name, Gender, Address, Email Address, Telephone_No, No_of_clothes, Cust size, Receipt_Date, Return_Date) 3 VALUES 4 ("C4001', 'Sarah', 'F', '163, Main st.', 'sarah365@gmail.com', 0134576232, 2, 'm', '07-05-2021', '27-05-2021'); 1 row created. SQL> INSERT INTO Customer 2 (Customer_No, Customer_Name, Gender, Address, Email Address, Telephone_No, No_of_clothes, Cust_size, Receipt_Date, Return_Date) VALUES ('CUOO2', 'Ahmed', 'M', '32, Manse Rd.', 'ahmed35@gmail.com', 0176158359, 1, "l', '15-06-2021, 05-07-2021'); 3 4 1 row created. Customer 3 VALUES SQL> INSERT 2 (Customer_No, Customer_Name, Gender, Address, Email Address, Telephone_No, No_of_clothes, Cust_size, Receipt_Date, Return_Date) ("CU003', 'John', 'M', '56, Clover Dri, john5@gmail.com, 0177658349, 3, 'S', '04-10-2021', '24-10-2021'); 1 row created. 4 SQL> INSERT INTO Customer 2 (Customer_No, Customer_Name, Gender, Address, Email Address, Telephone_No, No of clothes, Cust_size, Receipt_Date, Return_Date) VALUES 4 ('CU004', 'Susan', 'F', '22, Deer St.', 'sus3@gmail.com, 0114563732, 1, XL, 27-12-2021', '17-01-2022'); 3 1 row created. SQL> INSERT INTO Customer 2 (Customer_No, Customer_Name, Gender, Address, Email Address, Telephone_No, No of clothes, Cust_size, Receipt_Date, Return_Date) VALUES 4 ('CUO05', 'David', 'M', '6, Lawrence st.', 'dave99@hotmail.com 0163782343, 5, XXL", 13-01-2022', '03-02-2022'); 3 1 row created. Query For customers who received the clothes from June 2021 onwards, show the customers' names and the types of clothes received by the customers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
