CREATE TABLE `ecs_users_shops` (
`shop_id` int(11) NOT NULL auto_increment COMMENT '店铺编号 自增列',
`users_id` int(11) NOT NULL COMMENT '所属会员',
`shop_class_id` int(11) default NULL COMMENT '所属商城代码编号 1淘宝 2拍拍 3有啊',
`shop_url` varchar(200) default NULL COMMENT '店铺URL',
`shop_name` varchar(50) default '0' COMMENT '店铺名称',
`shop_viewed` int(11) default '0' COMMENT '店铺查看次数',
`shop_goods_amount` int(11) default '0' COMMENT '店铺上架过多少商品',
PRIMARY KEY (`shop_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `ecshop`.`ecs_users_shops` (`shop_id`, `user_id`, `shop_class_id`, `shop_url`, `shop_name`, `shop_viewed`, `shop_goods_amount`) VALUES (NULL, '7', '1', ' http://vin.paipai.com', 'VIn', '0', '0');
上面这条SQL在phpMyAdmin中可以运行,但是跑到Navicat for MySQL却总是报1064号错误,这是怎么回事。