SQLite MAX function
Translation results:
max
UK [mæks] US [mæks]
adv.Up to
SQLite MAX functionsyntax
Function:SQLite MAX aggregate function allows us to select the maximum value of a column.
Syntax: sqlite> SELECT max (a certain column of data) FROM TABLENAME
SQLite MAX functionexample
COMPANY 表 ID NAME AGE ADDRESS SALARY ---------- ---------- ---------- ---------- ---------- 1 Paul 32 California 20000.0 2 Allen 25 Texas 15000.0 3 Teddy 23 Norway 20000.0 4 Mark 25 Rich-Mond 65000.0 5 David 27 Texas 85000.0 6 Kim 22 South-Hall 45000.0 7 James 24 Houston 10000.0 实例:sqlite> SELECT max(salary) FROM COMPANY; 结果: max(salary) ----------- 85000.0
Popular Recommendations
- Basic Protection Against Max Execution Time Limit
- Xiaomi\'s huge TV Max 100 on the way to Europe
- Xiaomi reveals new Robot Vacuum X20 Max as best global model
- iPhone 16 Pro Max lab test reveals its actual charging speed
- Samsung S24 Ultra smokes iPhone 16 Pro Max in battery life test
- AirPods Max refresh brings new colors and a switch to USB-C