摘要:
总结了一下几种方法 具体在MSSQL SYBASE下面用top来分页 POSTGRESQL MYSQL就直接用limit更简单了在oracle 下面想了4总方法minus差分页 select * from table where rownum<=10 minus select * from table where rownum<=5rownum伪列select * from (select rownum tid,t.* from table t where rownum<=10) where tid<=10 and tid>=5notin相反select * fr 阅读全文