Question: (15 pts) write a SQL query to display the total number of different products belonging to category 1 (categoryId =1), and their average price. (20
(15 pts) write a SQL query to display the total number of different products belonging to category 1 (categoryId =1), and their average price. (20 pts) write a SQL query to display the id and name of each category, with the number of products that belong to the category (25 pts) write a SQL query to display the id and name of each category, with the number of products that belong to the category, and make sure ALL categories appear, even those with no products
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
