MySQL 创建 TABLE 'You have an error in your SQL syntax' 错误

MySQL CREATE TABLE 'You have an error in your SQL syntax' error

我正在为这个而烦恼。我已连接到 MySQL 服务器并尝试在其上创建 table:

CREATE TABLE order (
    order_id INT,
    order_is_overnight BIT,
    order_quantity INT,
    order_amount DOUBLE,
    order_timestamp DATETIME
);

当我 运行 我得到:

Error: 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 'order (
        order_id INT,
        order_is_overnight BIT,
        order_quantity INT,
        order_amou' at line 1
SQLState:  42000
ErrorCode: 1064

这是世界上最模糊的错误消息,类似于 Java 异常,显示“糟糕,您的代码某处出错了!

知道我哪里出错了吗?!我已经检查过,再检查过,再检查过,这似乎是一个完美的 valid/legal CREATE TABLE 语句(不要担心性能、索引、键等;这只是一个 dummy/test table).

order是保留字,必须用反引号将其名称括起来

CREATE TABLE `order` (
    order_id INT,
    order_is_overnight BIT,
    order_quantity INT,
    order_amount DOUBLE,
    order_timestamp DATETIME
);