mysql的表的主键重新从1开始连续
alter table dw_test drop id;//删除原来的主键值 alter table dw_test add id int not null primary key auto_increment first;//重新从1开始编号,使它连续
mysql的表删除所有数据
Delete from tablename where 1=1
mysql的表删除所有空行
Delete from tablename where tile=‘’;
mysql的表的主键重新从1开始连续
alter table dw_test drop id;//删除原来的主键值 alter table dw_test add id int not null primary key auto_increment first;//重新从1开始编号,使它连续
mysql的表删除所有数据
Delete from tablename where 1=1
mysql的表删除所有空行
Delete from tablename where tile=‘’;