mysql中给id重新排序

  1. 删除主键id
    alter table experts_title drop id
    (experts_title 为表名)
  2. 重新给此表加id字段及其它信息
    alter table experts_title add id int(11) primary key
    auto_increment first

猜你喜欢

转载自blog.csdn.net/qq_45619283/article/details/114240618