通用公试:
sql = "select * from TableName where "+条件+" order by "+排序+" limit "+要显示多少条记录+" offset "+跳过多少条记录;
如: select * from Contacts limit 15 offset 20 表示: 从Contacts表跳过20条记录选出15条记录
本文出自 “椟夜的博客” 博客,谢绝转载!
Sqlite中的limit和offset的用法
标签:sqlite limit and offset
本文系统来源:http://duyeit.blog.51cto.com/7260659/1661739
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!