找出下列语句的错误drop index depart_ind on Employees;show indexes from Employee s;alter table Department sdrop primary key,drop index Dep_ind;show index es from Departments
时间: 2023-06-05 22:08:00 浏览: 132
错误代码:1100 Table 't_depart_info' was not locked with LOCK TABLES的解决方法
语句应该为:
DROP INDEX depart_ind ON Employees;
SHOW INDEXES FROM Employees;
ALTER TABLE Departments DROP PRIMARY KEY, DROP INDEX Dep_ind;
SHOW INDEXES FROM Departments。
阅读全文