我有这个查询:
CREATE TABLE
`rooms` (
`roomname` VARCHAR NOT NULL PRIMARY KEY,
`price` DOUBLE NOT NULL
)
ENGINE = MyISAM";
但它不起作用我得到这个错误:
#1064 - 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 'NOT NULL PRIMARY KEY, `price` DOUBLE NOT NULL ) ENGINE = MyISAM"' at line 3
这里有什么问题?