Answered You can hire a professional tutor to get the answer.

QUESTION

Practice 1: Data Integration (14 points) Integrate data in SQL database (8 points) Supposed that you are the data scientist in Northwinds.

Practice 1: Data Integration (14 points)

Integrate data in SQL database (8 points)

Supposed that you are the data scientist in Northwinds. Your boss asks you to provide a dataset about the details of each order, including supplier name, supplier country, category name, price, quantity, order date, customer name, customer country, shipper name, and employees' last name and first name. You need to integrate all the tables in the Northwinds database.

I provide you with a skeleton of SQL query as below. Please complete the query by filling the blanks and run it on .

SELECT suppliername,suppliers.country AS suppliercountry, categoryname, productname, price, quantity, orderdate, customername, customers.country AS customercountry, shippername, lastname, firstname

FROM suppliers

  1. JOIN products ON suppliers._____=products._____
  2. JOIN categories ON categories._____=products.______
  3. JOIN orderdetails ON products._____=orderdetails.______
  4. JOIN orders ON orderdetails.______=orders.______
  5. JOIN employees ON orders.______=employees._______
  6. JOIN customers ON orders._______=customers.______
  7. JOIN shippers ON orders.______=shippers.______

ORDER BY orderdate 

I am not understanding what to fill in on the blanks.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question