Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions