Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create unique index Tea_Tno on teacher(Tno)' at line 1

mysql workbench显示建立唯一索引报错
Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create unique index Tea_Tno on teacher(Tno)' at line 1

mysql workbench显示建立唯一索引报错
tea_tno 这个字段正确么
先删除后面的,只留下一条看看行不行