avg()

Takes the average of row values in a given column.

avg() follows this syntax.

1SELECT avg(COLUMN_NAME)
2FROM DATASET
3WHERE CONDITION;