Question: Question 3. Use the baseball database you created in question 2 (now you have two tables) for this assignment. Write SQL queries (please save each

 Question 3. Use the baseball database you created in question 2(now you have two tables) for this assignment. Write SQL queries (please

Question 3. Use the baseball database you created in question 2 (now you have two tables) for this assignment. Write SQL queries (please save each query): (3a). Display the item id, description, on-hand value (UnitsOnHand*Cost), and supplier name of all items. (3b). Display the average selling price of supplier Logo Goods' (we only know this supplier name as the criteria) items. Use Join (3c). Display the average selling price of supplier Logo Goods' (we only know this supplier name as the criteria) items. Use Subquery/Nestedquery (3d). Display the average selling price of supplier Beverage Holders' items (We only know this supplier name as the criteria) (3e). For each supplier name, find a count of different types of items of the supplier name. (3f). Display item id, description, selling price for the item that has the lowest selling price. Note: when you join two or more tables together, don't use INNER JOIN, LEFT JOIN, RIGHT JOIN format, otherwise, you will get 0 point & Baseball X ID Description Cost 1 Baseball Cap $10.15 2 Al Clothes $7.45 3 Beverage Holders $1.85 4 Logo Goods $8.20 5 Jacket $44.75 6 Short $14.95 7 Sport Towel $3.25 8 Sweatshirt $27.45 9 Tee Shirt $9.50 10 Coffee Travel Mug $2.90 (New) $0.00 Units - Selling Price - Code - 30 $18.76 LG 12 $9.00 BH 20 $4.75 BH 8 $10.75 BH 12 $54.95 LG 10 $19.95 AC 24 $6.75 LG 9 $34.95 AC 32 $14.95 AC 11 $3.25 BH 0 $0.00 SupplierName SupplierPhone - Click to Add Logo Goods 517-555-3853 Beverage Holders 317-555-4747 Beverage Holders 317-555-4747 Beverage Holders 317-555-4747 Logo Goods 517-555-3858 Al Clothes 616-555-9228 Logo Goods 517-555-3853 Al Clothes 616-555-9228 Al Clothes 616-555-9228 Beverage Holders 317-555-4747 *

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!