限制返回数量 SELECT 列... FROM 表 LIMIT 数量 OFFSET 位置
sqlite> sqlite> SELECT * FROM Cars LIMIT 4; Id Name Cost ---- --------------- --------------- 1 Audi 52642 2 Mercedes 57127 3 Skoda 9000 4 Volvo 29000 sqlite> sqlite> SELECT * FROM Cars LIMIT 4 OFFSET 2; Id Name Cost ---- --------------- --------------- 3 Skoda 9000 4 Volvo 29000 5 Bentley 350000 6 Citroen 21000别名 SELECT 列 AS 别名,列 AS 别名 FROM
sqlite> SELECT Name , Cost AS 'Price Of Car' FROM Cars; Name Price Of Car ---- --------------- Audi 52642 Merc 57127 Skod 9000 Volv 29000 Bent 350000 Citr 21000 Humm 41400 Volk 21600