SQL avg()

AVG() function in SQL is used to calculate the average of a column in a table.


SYNTAX :
 AVG(column_name)

Table Name 'customers'

id

name

age

city

bill

1Tom34Paris5300
2Jhony51London 400
3Ram64Delhi20000.7
4Simon23Portland32.65



Online Execute/Compile