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:40
In a response of approximately 50 words, explain why it would be essential for the successful a/v technician to participate in additional coursework, presentations and seminars offered by equipment manufacturers as well as annual conferences attended by colleagues in the industry.
Answers: 1
question
Computers and Technology, 22.06.2019 21:50
Given int variables k and total that have already been declared, use a while loop to compute the sum of the squares of the first 50 counting numbers, and store this value in total. thus your code should put 11 + 22 + 33 + + 4949 + 50*50 into total. use no variables other than k and total.
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Guys do you know sh27 cause he hacked me : ( pidgegunderson my old user
Answers: 2
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
Mathematics, 27.11.2019 03:31
question
Mathematics, 27.11.2019 03:31
question
Mathematics, 27.11.2019 03:31
Questions on the website: 13722359