sql中怎么写带分页查询语句带查询条件的呀。
select top 6 结束行 from 表名 where (id not in(select top 起始行 id from 表名 order by id))
但它不能带查询条件,如我要查询姓名 姓王的人员在这里面写就不对,大家说说sql语句该怎么写呀
select top 6 结束行 from 表名 where (id not in(select top 起始行 id from 表名 order by id))
但它不能带查询条件,如我要查询姓名 姓王的人员在这里面写就不对,大家说说sql语句该怎么写呀
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货