咏白海棠诗的意思:问个sql语句的写法
来源:百度文库 编辑:中科新闻网 时间:2024/04/27 14:52:08
我想写一个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/04/27 14:52:08
select top 25 * from A where A.primarykey not in (select top 15 primarykey from A)
你就先select top25,然后就rs.move 15再读下去吧