创建表时遇到此错误。如何修复?
1064 - 您的 SQL 语法有错误;检查与您的 MySQL 服务器版本相对应的手册,以在第 4 行的“NOT NULL, mult smallint default NOT NULL, part_des varchar(120) NOT NULL defau”附近使用正确的语法
CREATE TABLE currentpricer_supplier1
(
supplier_number varchar(50) NOT NULL,
moq smallint default NOT NULL,
mult smallint default NOT NULL,
part_des varchar(120) default NOT NULL,
uom_qbreak char(2) default NOT NULL,
costbreak1 smallint default NOT NULL,
costvalue1 dec(6,3) default NULL,
costbreak2 smallint default NOT NULL,
costvalue2 dec(6,3) default NULL,
costbreak3 smallint default NOT NULL,
costvalue3 dec(6,3) default NULL,
costbreak4 smallint default NOT NULL,
costvalue4 dec(6,3) default NULL,
costbreak5 smallint default NOT NULL,
costvalue5 dec(6,3) default NULL,
costbreak6 smallint default NOT NULL,
costvalue6 dec(6,3) default NULL,
costbreak7 smallint default NOT NULL,
costvalue7 dec(6,3) default NULL,
costbreak8 smallint default NOT NULL,
costvalue8 dec(6,3) default NULL,
leadtime smallint default NOT NULL,
leadtime_code char(2) default NOT NULL,
PRIMARY KEY (supplier_number)
)