alter table tablename add id int(10) not null;//不自增,自增的话还要加auto_increment=1;
Alter table tb add primary key(id);

相关文章:

  • 2022-12-23
  • 2021-07-30
  • 2021-12-02
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
  • 2021-04-05
  • 2021-12-24
猜你喜欢
  • 2021-10-20
  • 2021-11-23
  • 2022-12-23
  • 2022-01-23
  • 2022-02-07
  • 2021-06-03
  • 2022-01-02
相关资源
相似解决方案