首页 > mysql 创建表错误

mysql 创建表错误

在mysql中使用语句:creat table bookborrow(
id int(10) NOT NULL AUTO_INCREMENT,
readerid int(10),
bookid int(10),
borrowtime date,
backtime date,
operator varchar(30),
ifback tinyint(1),
PRIMARY KEY (id)
);

创建表时,提示错误:

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 'creat table bookborrow(
id int(10) NOT NULL AUTO_INCREMENT,
readerid int(10),
' at line 1


create不是creat
英语基础不够扎实啊,或者是你一时犯的错误。

【热门文章】
【热门文章】