原文地址:http://jayzhou215.blog.163.com/blog/static/132713533201232752510450/
网上有的说法是sqlite3 中limit n,m语法无效,实际是错误的。
正确的语法是
The two syntax forms are a little confusing because they reverse the numbers:
LIMIT <skip>,<count>
Is equivalent to:
LIMIT <count> OFFSET <skip>
LIMIT <跳过的数据数目>, <取数据数目>
等价于
LIMIT <取数据数目> OFFSET <跳过的数据数目>
实际使用中是有效的。
浙公网安备 33010602011771号