吃桃子的小松鼠 2016-08-22 08:32 采纳率: 0%
浏览 1080

SQL语句运行,报这样的错误,求大神指出哪儿错了

DROP TABLE IF EXISTS brand;
这是922行 create table brand(
id bigint not null auto_increment comment '品牌ID',
brand_name varchar(32) not null comment '品牌名称',
is_free_shipping tinyint not null default 0 comment '是否免运费 0:是,1:否',
describe varchar(64) comment '信息描述',
primary key(id)
)ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT '服装品牌表';

ERROR 1064 (42000) at line 922: 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 'describe varchar(64) comment '淇℃伅鎻忚堪',
primary key(id)
)ENGINE=InnoDB D' at line 5

上面是我的建表语句, 请大神解答怎么错误了,看了好几遍,没找出来错误啊

  • 写回答

6条回答

  • philobing 2016-08-22 08:41
    关注

    说的是你用的语法和Mysql 的版本 。不兼容?

    评论

报告相同问题?