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
To achieve this you can use the following SQL statement sql SELECT VCODE VNAME COUNTPCODE AS NUM ... View full answer
Get step-by-step solutions from verified subject matter experts
