Skip to content

MySQL 删除表

方式1:

sql
drop table user_info;

若表不存在,上面的SQL执行会报错。若要不报错,可以用下面的方式2。

方式2:

drop table if exists user_info;