ALTER TABLE `ecs_admin_user` ADD `seller_id` INT NOT NULL DEFAULT '0' COMMENT '入駐商家ID'ALTER TABLE `ecs_goods` ADD `check_status` TINYINT NOT NULL DEFAULT '0',ADD `check_cause` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,ADD `check_user` VARCHAR( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULLALTER TABLE `ecs_goods` ADD `is_display` TINYINT( 1 ) NOT NULL DEFAULT '0'ALTER TABLE `ecs_goods` ADD `seller_id` INT NOT NULLALTER TABLE `ecs_goods` ADD `seller_cat_id` SMALLINT NOT NULL DEFAULT '0' COMMENT '商品對應(yīng)的入駐商家分類' AFTER `cat_id`ALTER TABLE `ecs_goods_cat` ADD `seller_cat_id` SMALLINT NOT NULL COMMENT '商品對應(yīng)的入駐商家分類' AFTER `cat_id`ALTER TABLE `ecs_order_info` ADD `seller_id` INT NOT NULL DEFAULT '0' COMMENT '入駐商家ID'ALTER TABLE `ecs_delivery_order` ADD `seller_id` INT NOT NULL DEFAULT '0'ALTER TABLE `ecs_back_order` ADD `seller_id` INT NOT NULL DEFAULT '0'ALTER TABLE `ecs_comment` ADD `seller_id` INT NOT NULL DEFAULT '0'ALTER TABLE `ecs_booking_goods` ADD `seller_id` INT NOT NULL DEFAULT '0'ALTER TABLE `ecs_cart` ADD `seller_id` INT NOT NULL DEFAULT '0'這一串為嘛在PHPMYADMIN執(zhí)行錯誤#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 'ALTER TABLE `ecs_goods` ADD `check_status` TINYINT NOT NULL DEFAULT '0',ADD `c' at line 3
請問如下這一串代碼為什么在PHPMYADMIN執(zhí)行錯誤?該怎么修改?
幕布斯7119047
2022-05-01 14:10:50