SQLite MAX aggregate function is used to fetch the maximum value of an expression.
Syntax:
SELECT MAX(aggregate_expression) FROM tables [WHERE conditions];
SELECT MAX(aggregate_expression)
FROM tables
[WHERE conditions];