Question: Question 1 (exercise 1.11) For Query: How many different products were bought on order 1001? In step 3, what should you write Question 1 options:
Question 1
(exercise 1.11) For Query: How many different products were bought on order 1001? In step 3, what should you write
Question 1 options:
| 3 | |
| count(P#) | |
| sum(P#) | |
| P# |
Question 2
For Query: Display the o# of orders where there is any "short ship". In step 2, what should you write?
Question 2 options:
| shot ship | |
| Count(o#) | |
| OrdQty-ShippedQty | |
| OrdQty>ShippedQty |
Question 3
(exercise 1.11)For Query: Display the name of the customers who experienced short ship. In step 1, which tables should you choose?
Question 3 options:
| Customers,Orders, OrderDetails | |
| Customers,OrderDetails | |
| Customers,Orders,OrderDetails,Products | |
| Customers |
Question 4
(exercise 1.11)For Query: How many units in total are ordered in order 1001? In step 3, what should you write
Question 4 options:
| sum(OrdQty) | |
| count(OrdQty) | |
| ordQty | |
| Max(OrdQty) |
Question 5
(exercise 1.11)For Query: What is the total shipped amount of O#1001? In step 3, what should you write
Question 5 options:
| sum(OrdQty*UnitPrice) | |
| sum(ShippedQty)*sum(UnitPrice) | |
| ShippedQty*UnitPrice | |
| sum(ShippedQty*UnitPrice) |
Question 6
(exercise 1.11)For Query: How many units of product 20100093 are purchased by customer 0023? In step 3, what should you write?
Question 6 options:
| sum(OrdQty) | |
| count(20100093) | |
| count(OrdQty) | |
| sum(20100093) |
Question 7
(exercise 1.11)For Query: What is the total shipped amount customer 0023 paid for product 20100093? In step 3, what should you write?
Question 7 options:
| sum(ShippedQty*UnitPrice) | |
| count(ShippedQty*UnitPrice) | |
| sum(ShippedQty) | |
| sum(20100093*0023) |
Question 8
(exercise 1.11)For Query: What is the total order amount of O#1001? In step 3, what should you write
Question 8 options:
| ordQty*UnitPrice | |
| sum(OrdQty)*sum(UnitPrice) | |
| sum(OrdQty) | |
| sum(OrdQty*UnitPrice) |
Question 9
(exercise 1.11)For Query: How many total units are purchased by Customer 0023? In step 1, which tables should you choose
Question 9 options:
| OrderDetails,Customers | |
| OrderDetails | |
| OrderDetails,Customers,Orders | |
| OrderDetails,Orders |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
