mysql建表出现错误

img


老是提示ERROR 1064 (42000): 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 '-> id int comment 编号,
-> age int comment 年龄,
-> name varch' at line 2

create table tb_walg(
-> id int comment '编号',
-> age int comment '年龄',
-> name varchar(50) comment '姓名',
-> gender varchar(1) comment '性别'
-> ) comment `用户表';

这是文本.我不知道是哪里出现了问题家人们刚刚学的

create table tb_walg(
 id int comment '编号',
 age int comment '年龄',
 name varchar(50) comment '姓名',
 gender varchar(1) comment '性别'
 ) comment= '用户表';