programming-examples/sql/RetrieveFromTables/Write a SQL query to calculate the average price of all products of the manufacturer which code is l6.sql

3 lines
169 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL query to calculate the average price of all products of the manufacturer which code is l6.*/
SELECT AVG(pro_price) FROM item_mast
WHERE pro_com=16;