加载中
MYSQL 重复使用已被删除的主键Id,查询不连续的主键id

select id from (select id from enterprise where id >#{start} order by id asc) t where not exists (select 1 from enterprise where id=t.id-1) limit 1 否则自增会越来越大,又不能使用...

2021/09/29 16:40
88

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部