Question: Consider the following relational schema for a store's database. The relational schema captures information about the different products, the employees working in the store, the

Consider the following relational schema for a store's database. The relational schema captures information about the different products, the employees working in the store, the customers who purchased products, and the wish lists of these customers. The relational schema also captures the different customer transactions, the purchased product, the employee who helped them, the used credit card, the amount paid, the used discount percentage (if any), and the transaction date.
Customer: (Cid, Name, Age, email)
Employee: (Eid, Name, Start_Date, Salary, email)
Products: (Pid, Name, Company, Product_Type, Release_Date)
Transaction: (Cid, Eid, Pid, Amount_Paid, CreditCard_Used, Date, Discount_Percentage)
WishLists: (Eid, Pid)
Question 1(1 point)
Use the relational schema of the store to develop the following query in SQL: Count the number of customers who purchased laptops (product type) between 2022 and 2023.
Question 1 options:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!