sqlserver,查询第N到M条记录,其中ID为唯一 1、SELECT TOP m-n+1 * FROM Score WHERE (id NOT IN (SELECT TOP n-1 id FROM Score)) 2、select top M-N * from yourTable where id not in(select top N-1 id from table) 3、select top M-N * from 表名 wher
sqlserver,网站空间,查询第N到M条记录,香港服务器租用,其中ID为唯一
1、select top m-n+1 *
from score
where (id not in
(select top n-1 id
from score))
2、select top M-N * from yourTable where id not in(select top N-1 id from table)
3、select top M-N * from 表名 where id in (select distinct(id) from 表名)
表单大师AI
一款基于自然语言处理技术的智能在线表单创建工具,可以帮助用户快速、高效地生成各类专业表单。
221 查看详情
有时间记录下,香港空间,上面三种方法,只用了第一种就没再试了。
发表于
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/834810.html
微信扫一扫
支付宝扫一扫