sql语法错误
问题: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 ‘)’ at line 4
原因:最后一个字段后面多加了一个逗号
DROP table if EXISTS execution_unit_tb;
create TABLE execution_unit_tb(
id INT(11) PRIMARY KEY AUTO_INCREMENT,
name varchar(32),
);
解决办法:去掉逗号
DROP table if EXISTS execution_unit_tb;
create TABLE execution_unit_tb(
id INT(11) PRIMARY KEY AUTO_INCREMENT,
name varchar(32)
);