Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started