这么一句 ALTER TABLE `bcbt` ADD COLUMN IF not EXISTS `ksmpy` varchar(20); 运行后提示: Project sj.exe raised exception class EMySqlException with message '#42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS `ksmpy` varchar(20) ; ALTER TABLE `bcjl` ADD COLUMN IF NOT E' at line 1'. navicat运行提示: [ERR] 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 'IF not EXISTS ( `ksmpy` varchar(20))' at line 1 [ERR] ALTER TABLE `bcbt` ADD COLUMN IF not EXISTS ( `ksmpy` varchar(20)) ; [SQL] Finished with error