programming-examples/sql/AggregateFunctions/Write a SQL statement to find the average purchase amount of all orders.sql

3 lines
127 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL statement to find the average purchase amount of all orders.*/
SELECT AVG (purch_amt)
FROM orders;