Question
1. Display the TID and the total number of items of all products) sold within the transaction for all sales transactions whose total number of
1. Display the TID and the total number of items of all products) sold within the transaction for all sales transactions whose total number of items (of all products) sold within the transaction is greater than five.
2. Display the ProductID and ProductName of the most expensive product
3. Display the ProductID, ProductName, and Vendor Name for products whose price is above the average price of all products.
4. Display the ProductID for the product that has been sold the most (i.e., that has been sold in the highest quantity).
5. Rewrite Query 30 using a JOINstatement (no nested queries).
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