Question: Create SQL code to display the CustomerName, TotalSales and ProductName of the customer with the most sales in 2 0 1 4 thru 2 0
Create SQL code to display the CustomerName, TotalSales and ProductName of the customer with the most sales in thru using the Orders, Sales, Products, Customer tables
Use a series of SubqueriesLinks to an external site. to achieve the answer # You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Order o ON cCustomerID oCustomerID
INNER JOIN Sale s ON oOrderID s at line from the one i copied here.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
