id int comment ' 编号',
workno varchar(10) comment ' 工号 ',
name varchar(10) comment ' 姓名',
gender char(1) comment '性别',
age tinyint unsigned comment ' 年龄',
idcard char(18) comment '身份证号',
entrydate date comment '入职时间'
)comment '员工表'
这样输入会报错 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 'entrydate date comment '入职时间'
)comment '员工表'' at line 8
mysql>
entrydate的类型不对吧,datetime或者timestamp
date 改为datetime
comment 后面应该是英文引号,看图片你用的是中文引号