select * from (select * from 表名) t where not exists (select 1 from表名 where ID=t.ID-1)
sql 查询不连续的id 数据
猜你喜欢
转载自www.cnblogs.com/qiannian/p/9777777.html
今日推荐
周排行