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.
4 lines
201 B
MySQL
4 lines
201 B
MySQL
5 years ago
|
/*Write a SQL query to display the average price of the items for each company, showing only the company code.*/
|
||
|
SELECT AVG(pro_price), pro_com
|
||
|
FROM item_mast
|
||
|
GROUP BY pro_com;
|