Question: Write a SELECT statement that joins three tables together using LEFT JOINs. Do not use NATURAL JOIN. First LEFT JOIN the OE . CUSTOMERS table

Write a SELECT statement that joins three tables together using LEFT JOINs. Do not use
NATURAL JOIN. First LEFT JOIN the OE.CUSTOMERS table to the OE.ORDERS table, and
then LEFT JOIN the OE.ORDERS table to the OE.ORDER_ITEMS table.
Refer to the ERD that you created in Week 1 to determine what fields you will need to
use to join the tables together.
Project the following fields: CUST_LAST_NAME, CUST_EMAIL, ORDER_ID, PRODUCT_ID,
QUANTITY. Sort the results by ORDER_ID in ascending order

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!