欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

sqlite3 top的查詢及l(fā)imit語法介紹

 更新時(shí)間:2013年02月25日 08:53:21   作者:  
sqlite3中沒有top的語法結(jié)構(gòu),不過相關(guān)的語法能實(shí)現(xiàn)跟top語法相同的功能,感興趣的你可以參考下,希望可以幫助到你
其實(shí),在sqlite3中沒有top的語法結(jié)構(gòu),但在sqlite3中有相關(guān)的語法能實(shí)現(xiàn)跟top語法相同的功能,sqlite3 sql是用limit這樣的語法來實(shí)現(xiàn)的;

如:
復(fù)制代碼 代碼如下:

select * from table where name='_安靜ゝ' order by id limit 0,10;

這個(gè)效果就相當(dāng)于select top 10 * from table where name='_安靜ゝ';

如果還有更精確的:
復(fù)制代碼 代碼如下:

select * from table where name='_安靜ゝ' order by date desc,id limit 0,10;

相關(guān)文章

最新評論