Sectionย 5. Chapterย 5
single
The MAX() Function
Swipe to show menu
MAX() - This function returns the highest value in a particular column. Let's take a look at the following example:
12SELECT 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
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat