【oracle】 一千条记录查200到300的记录怎么查
2017-11-14 00:00
141 查看
摘要: 一千条记录查200到300的记录怎么查
如何查200到300行的记录?
可以通过top关键字辅助select top 100 * from table where id is not in (select top 200 id from table);
总结:
查询n到m行记录的通用公式:select top m * from table where id is not in (select top n * from table)
相关文章推荐
- 在oracle一个有60万记录的表中删除几十条记录怎么用了很长时间?
- 怎么计算Oracle的表一条记录占用空间的大小
- 有关oracle查询出现的重复记录怎么去除的方法谈
- 请教怎么查询ORACLE的历史操作记录!
- ORACLE 8i 的存储过程里面 select aaa into var1 from tablea 如果记录为空,会出错.怎么解决
- 怎么在插入oracle记录的时候同时得到自动增长的ID值(未解决)
- 在oracle表中怎么获得第5行到第7行的记录
- 怎么计算Oracle的表一条记录占用空间的大小
- 怎么计算Oracle的表一条记录占用空间的大小
- 在oracle表中怎么获得第5行到第7行的记录
- 请问在ORACLE中怎么实现获得一个库中的所有表中的全部记录数?
- linux怎么记录某个人执行了哪些命令
- oracle怎么卸载(转)
- 绿色的oracle客户端和绿色的plsql出现乱码怎么修改成中文?
- 怎么在ArcSDE中使用Oracle分区表2-索引分区
- Oracle 11gOCP 053 v12.02 300--600题部分疑问答案更正
- oracle 分析函数完成号码区段的统计(连续的,不连续的加一条记录)
- 三星手机上微信删除的聊天记录怎么恢复
- 怎么用SQL查询昨天、今天、明天和本周的记录?又怎么用SQL查询一天,三天,一周,一个月,更长一些——一个季度的记录呢
- oracle和sql server取第一条记录的区别以及rownum详解