CREATE TABLE IF NOT EXISTS `ShippingServiceTypes` (
`serviceTypeCode` VARCHAR(64) NOT NULL,
`shippingMethod` VARCHAR(32),
`serviceTypeFullName` VARCHAR(64),
`DomesticOrINTL` VARCHAR(32),
`isEnabled` TINYINT(1) DEFAULT 1,
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
返回错误:
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 ') ENGINE=MyISAM DEFAULT CHARSET=latin1' at line 7
我正在使用MySQL 5.6
答案 0 :(得分:0)
密切关注每行末尾的逗号。你在最后一个专栏行的末尾有一个。不要在那里有一个,因为在关闭括号之前没有跟随它的行。
<pre id="results"></pre>