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

SQL查找某一條記錄的方法

 更新時間:2007年04月29日 00:00:00   作者:  
SQL查找第n條記錄的方法:
select top 1 * from table where id not in (select top n-1 id from table) temptable0

SQL查找第n條開始的m條記錄的方法:
select top m * from table where id not in (select top n-1 id from table) temptable0)

(注:表中必須有一個唯一值字段才可適用此方法。) 

相關(guān)文章

最新評論