programming-examples/sql/AggregateFunctions/Write a SQL query to calculate the average price of all the products.sql

3 lines
138 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 the products.*/
SELECT AVG(pro_price) AS "Average Price"
FROM item_mast;