MAX returns NULL.
Syntax
Parameters
Return Types
Same as input typeExamples
Thetournaments table contains the following data:
Rows: 5Execution time: 6.00ms
tournaments table:
Rows: 1Execution time: 5.86ms
MAX also works on text columns, returning the lexicographically largest value. The following example finds the tournament name that comes last alphabetically:
Rows: 1Execution time: 5.94ms