语法#
SELECT column1, column2, columnN
FROM table_name
LIMIT [no or rows]
--
SELECT column1, column2, columnN
FROM table_name
LIMIT [no of rows] OFFSET [row num]
样例#
SELECT * FROM COMPANY LIMIT 6;
SELECT * FROM COMPANY LIMIT 3 OFFSET 2;
SELECT column1, column2, columnN
FROM table_name
LIMIT [no or rows]
--
SELECT column1, column2, columnN
FROM table_name
LIMIT [no of rows] OFFSET [row num]
SELECT * FROM COMPANY LIMIT 6;
SELECT * FROM COMPANY LIMIT 3 OFFSET 2;