在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
英语基础不够扎实啊,或者是你一时犯的错误。