如:
实现代码如下:
select * from table where name='_安静ゝ' order by id limit 0,10;
这个效果就相当于select top 10 * from table where name='_安静ゝ';
如果还有更精确的:
实现代码如下:
select * from table where name='_安静ゝ' order by date desc,id limit 0,10;
以上就是【sqlite3 top的查询及limit语法介绍】的全部内容了,欢迎留言评论进行交流!