AVG() Function

Data Manipulation Functions / Using Aggregate Functions

SELECT
    Continent,
    AVG(Population)
FROM country
GROUP BY Continent


Continent AVG(Population)
Asia 94,610,371.27
Europe 15,513,227.60
North America 16,137,218.00
Africa 26,237,703.35
Oceania 1,690,646.21
Antarctica 0.00
South America 31,283,660.07

AVG() is used to return the average value of a specified column by counting both the number of rows in the table and the sum of their values.