Question: This assignment is meant to assess your ability to JOIN data using SQL. EJ Gallo wants a report of the quantities of wine they've sold,

This assignment is meant to assess your ability to JOIN data using SQL.
EJ Gallo wants a report of the quantities of wine they've sold, and wants this report to include the discount percentage of the customer who placed the order. Type a query that appends each customer's discount to the order_quantities table, based on who placed the order. Your result should return all columns from 'order_quantities', along with the customers' discount percentage. NOTE: You will need to join TWO tables to 'order_quantities' to find customers' discount percentages.

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 General Management Questions!