The MAX() Function
MAX()
- This function returns the highest value in a particular column. Let's take a look at the following example:
SELECT MAX(population) FROM country;
Here MAX()
returns the largest population value in the country
table.
Task
Swipe to start coding
Write an SQL query to get the largest value from the surfacearea
column in the country
table.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 5. ChapterΒ 5