发新话题
打印

如何提取除最新十条记录之外的所有记录?

如何提取除最新十条记录之外的所有记录?

  select * from table1 where id not in (select top 10 Id from table1 order by inidate)

TOP

发新话题