select a.id + 1 as start_id, (select id -1 from tb c where c.id > a.id order by c.id limit 1) as finish_id from tb a where not exists( select * from tb b where b.id-1=a.id);
56,940
社区成员
56,756
社区内容
加载中
试试用AI创作助手写篇文章吧