Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write SQL code to find the average product price for each category. You will need an inner join for the projects and category tables. Your
Write SQL code to find the average product price for each category. You will need an inner join for the projects and category tables. Your results should show the CategoryName and the average price. What is the average price for produce? O 32 O 52 O 62 42 Use an inner join on the Products and Suppliers tables so that your query returns information about the number of products that each supplier sells. You should eliminate the product called "Carnarvon Tigers" from your calculations, Also, keep only those records for suppliers that sell more than 1 product. How many observations are in the result? (Hint: this is a challenging one. You will need both a WHERE and a HAVING clause.) O 24 O 23 26 0.25 Write SQL code to find the average product price for each category. You will need an inner join for the projects and category tables. Your results should show the CategoryName and the average price. What is the average price for produce? O 32 O 52 O 62 42 Use an inner join on the Products and Suppliers tables so that your query returns information about the number of products that each supplier sells. You should eliminate the product called "Carnarvon Tigers" from your calculations, Also, keep only those records for suppliers that sell more than 1 product. How many observations are in the result? (Hint: this is a challenging one. You will need both a WHERE and a HAVING clause.) O 24 O 23 26 0.25
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