You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
217 B
MySQL
5 lines
217 B
MySQL
5 years ago
|
/*Write a SQL query to display the average price of each company's products, along with their code.*/
|
||
|
SELECT AVG(pro_price) AS "Average Price",
|
||
|
pro_com AS "Company ID"
|
||
|
FROM item_mast
|
||
|
OUP BY pro_com;
|