Question
Hello I need help with the following SQL queries. Find the maximum quantity and total quantity ordered in OrderDetails where product ID is more than
Hello I need help with the following SQL queries.
Find the maximum quantity and total quantity ordered in OrderDetails where product ID is more than 20 Ordered by Total Quantity ( Note this is partial of the resulting table)(Hint: Use keyword Group By) :
3. (2 points) Find the product names and prices for the products whose suppliers are located in USA using subquery. The results are shown below:
4. (3 points) Show CustomerIDs and the Order dates for orders made by Ernst Handel. Use Subquery. Order your results by the dates in decreasing order.
5. (3 points) Use inner join to find the OrderID, Product name and Quantity for orders with order ID between 10261 and 10323 including ID 10285 and 10252. Order the result by Quantity. Part of the result id shown below:
6. (3 points) Use inner join to show the customer name, quantity and date of the orders made by customers from Germany. Order your result by quantity in decreasing order.
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