您的位置:首页技术文章
文章详情页

数据库 - mysql 创建表错误

浏览:50日期:2022-06-20 11:47:10

问题描述

在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

问题解答

回答1:

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

相关文章: