02 2013 档案

摘要:其实,在sqlite3中没有top的语法结构,但在sqlite3中有相关的语法能实现跟top语法相同的功能,sqlite3 sql是用limit这样的语法来实现的;如: select * from table wherename='_安静ゝ' 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,1 阅读全文
posted @ 2013-02-20 16:37 _安静ゝ 阅读(9687) 评论(0) 推荐(1) 编辑