我正在使用此代码在数据库中创建一个表。似乎是正确的,但我得到一个语法错误。我直接从http://dev.mysql.com/doc/refman/5.6/en/create-table.html使用语法,但没有雪茄。想法?创建表返回错误1064语法错误
create table car (
VIN integer primary key autoincrement,
make text not null,
model text not null,
year text not null);
啊。菜鸟的错误。谢谢,我已经太久了,我很感激。 – EGHDK 2013-03-07 04:21:14
当您收到mysql语法错误时,请务必小心或阅读消息的“使用附近...”部分;它会让你指向正确的方向。 – 2013-03-07 04:35:34