Sectie 1. Hoofdstuk 32
single
The AVG() Function
Veeg om het menu te tonen
AVG() returns the average value of a certain column.
Let's see an example:
12SELECT AVG(population) FROM country;
AVG() can also be used to find the average of a selected set of columns or rows that meet certain conditions. Here’s an example:
123SELECT AVG(population) FROM country WHERE population < 4478500;
Taak
Swipe to start coding
Write an SQL query to retrieve the average value of a surfacearea column from the country table.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 32
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.