全国冻土深度查询:问个sql语句的写法
来源:百度文库 编辑:高校问答 时间:2024/05/17 01:52:10
我想写一个sql语句,要求从数据库中第15条开始读取10条,这个语句怎么写啊,谢了
select top 25 * from A where A.primarykey not in (select top 15 primarykey from A)
你就先select top25,然后就rs.move 15再读下去吧
高校问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高校问答 时间:2024/05/17 01:52:10
select top 25 * from A where A.primarykey not in (select top 15 primarykey from A)
你就先select top25,然后就rs.move 15再读下去吧