Mysql写完代码后,运行报错了https://img-mid.csdnimg.cn/release/static/image/mid/ask/436789564066166.jpg
teacher这个表已经存在,不能再创建
这个是因为你的这个库里面已经有teacher这张表了,你要不把teacher这张表删了,重新创建,要不改个名,比如create table teacher1。觉得解决问题,给个采纳呗
表已经存在了。需要删表再创建。删除sql drop table 表;