migule- 2019-08-28 10:19 采纳率: 0%
浏览 296

求指点mysql错误,创建表出错

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
  • 写回答

2条回答 默认 最新

  • adhero 2019-08-28 10:27
    关注

    read是mysql的保留字

    评论

报告相同问题?