Question: Write the appropriate SQL statement that either answers the questions or retrieves the requested values. 7-51. Write a SQL query to list each customer who

Write the appropriate SQL statement that either answers the questions or retrieves the requested values. 7-51. Write a SQL query to list each customer who bought at least one product that belongs to product line Cherry Tree in October 2015. List each customer only once. 7-52. Modify 7-51 so that you include the number of products in product line Cherry Tree that the customer ordered in October 2015. 7-53. Modify 7-52 so that the list includes the number of products each customer bought in each product line in October 2015. 7-60. Produce a list of all the products (show product description) and the number of times each product has been ordered 7-65. Display the customer ID, name, and order ID for all customer orders. For those customers who do not have any orders, include them in the display once, with a 0 value for OrderID:

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 Databases Questions!