Question: Queen Anne Curiosity Shop I. Write an SQL statement to list LastName, FirstName, and Phone of the customers who made the purchases with SaleIDs 1

Queen Anne Curiosity Shop
I. Write an SQL statement to list LastName, FirstName, and Phone of the customers who made the purchases with SaleIDs 1,2, and 3. Use a subquery.
J. Answer part I but use a join using JOIN ON syntax. What are the consequences of using (or not using) the DISTINCT keyword in this version of the query?
K. Write an SQL statement to list LastName, FirstName, and Phone of customers who have made at least one purchase with SubTotal greater than $500. Use a subquery.
L. Answer part K but use a join using JOIN ON syntax. What are the consequences of using (or not using) the DISTINCT keyword in this version of the query?

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!