Question: Write a SQL statement to list V_CODE and V_NAME along with the number of products they supply (column name as 'NUM PRODS') and the average

Write a SQL statement to list V_CODE and V_NAME along with the number of products they supply (column name as 'NUM PRODS') and the average price of product they supply (column name as 'AVG PROD PRICE').

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To achieve this you can use the following SQL statement sql SELECT VCODE VNAME COUNTPCODE AS NUM ... View full answer

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!