MAX Function in SQLite
SQLite MAX Function To fetch the lowest value from an expression, the SQLite MAX function is used. Syntax 1: SELECT MAX(aggregate_expression) FROM tables WHERE conditions; Syntax 2: With GROUP BY clause SELECT expression1, expression2, … expression_n MAX(aggregate_expression) FROM tables WHERE conditions GROUP BY expressions; Example 1: TEACHERS Table: ID NAME SALARY SUBJECT 1 Jim 10000 … Read more