Question: Write a sub-query that returns all orders placed on the last day of activity that can be found in the Orders table. Include the orderid,

Write a sub-query that returns all orders placed on the last day of activity that can be found in the Orders table. Include the orderid, orderdate, customerid, and the employeeid.

#2: SUB-QUERY - Write a sub-query that returns the total number of orders placed by the customer with the highest number of orders. Include the customerid and the number of orders placed.

#3: SUB-QUERY - Write a sub-query that returns employees who did not place orders on or after May 1st, 1998. Include the employeeid, last and first names.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 SELECT orderid orderdate customerid employeeid FROM Orders WHERE or... View full answer

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!