我正在尝试在MySQL中执行以下操作,但我一直收到错误:
START TRANSACTION;
DROP TABLE IF EXISTS course_grade_swap;
COMMIT;
错误说明:
>[Error] Script lines: 1-3 --------------------------
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 'DROP TABLE IF EXISTS course_grade_swap;
COMMIT' at line 2
我不确定这里的问题是什么。有什么想法吗?