Question
Create the following SQL Server queries that access the Northwind database on the apmycs4.apsu.edu server. The employee id, employee first name, employee last name, and
Create the following SQL Server queries that access the Northwind database on the apmycs4.apsu.edu server.
-
The employee id, employee first name, employee last name, and number of orders taken for each employee in 1996. Place the list in descending order by the number of employees.
-
The order id, customer name, order date, and total cost of all items ordered for all orders shipped in July or August 1996. Place the list in descending order by the total cost.
-
The customer id, company name, number of orders, and total order amount for all customers who purchased an item in the Beverages category.
-
Same as problem 3 but, limit the list to all customers who placed 3 or more orders.
-
The product id, product name, last date that the product was ordered for all items in the Grains/Cereals category. (Hint: Use MAX)
-
The product ID, product name, and number of distinct customers who ordered that product in 1996
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started