subject

The president of the company wants a list of all orders ever taken. He wants to see the customer name, the last name of the employee who took the order, the shipper who shipped the order, the product that was ordered, the quantity that was ordered, and the date on which the order was placed. [Hint: You will need to join the following tables: Customers, Employees, Shippers, Orders, OrderDetails, Products, and to get all of the necessary information.]
Query

Number of records returned

[Source: w3schools. com] [Database Tables: Customers, Categories, Employees, OrderDetails, Orders, Products, Shippers, Suppliers]

Attempted sol'n:

SELECT ShipperName, CustomerName, Employees. LastName FROM Shippers, Customers, Employees
JOIN OrderDetails ON OrderDetails. ID = Orders. OrderDetailID
JOIN Customers ON Customers. customerID = Orders. customerID
JOIN Employees ON Employees. employeeID = Orders. employeeID
JOIN Shippers ON Shippers. ID = OrderDetails. shipperID
JOIN Products ON OrderDetails. ProductID = Products. ID;

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
What characteristic of long period comets suggest they come directly from the oort cloud?
Answers: 2
question
Computers and Technology, 22.06.2019 16:20
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
What is used to analyze and summarize your data without graphical support
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
The next button in the review section shows the next available comment. next slide with no comment. previous comment. edited comment.
Answers: 1
You know the right answer?
The president of the company wants a list of all orders ever taken. He wants to see the customer nam...
Questions
question
Geography, 03.12.2020 15:20
question
Mathematics, 03.12.2020 15:20
question
English, 03.12.2020 15:20
question
Chemistry, 03.12.2020 15:20
question
Mathematics, 03.12.2020 15:20
question
Mathematics, 03.12.2020 15:20
Questions on the website: 13722365