LIMIT
SELECT *
FROM city
WHERE countrycode='CHN'
ORDER BY population DESC
LIMIT 5; 显示5行
SELECT *
FROM city
WHERE countrycode='CHN'
ORDER BY population DESC
LIMIT 10; 显示10行
SELECT *
FROM city
WHERE countrycode='CHN'
ORDER BY population DESC
LIMIT 5,3;跳过头5行 显示随后3行
LIMIT M,N 跳过M行,显示N行
网友评论