SQLite MAX Function
SQLite MAX function is used to fetch the maximum value of an expression.
Syntax when you use MAX function with GROUP BY clause:
We have a table named "STUDENT", having the following data:
Retrieve the highest fees of the student from the "STUDENT" table.
Using GROUP BY clause with MAX function:
Retrieve NAME, CITY and MAX FEES from the table "STUDENT" and ORDER BY the data by CITY: