mysql创建表出错,不知道代码哪里有问题
create table read(
-> card char(18),
-> age tinyint,
-> );
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 'read(
card char(18),
age tinyint,
)' at line 1
read是mysql的保留字
2个错误,
1、表名不能叫read,这是关键字
2、 tinyint后面的逗号删除