文章详情页
数据库 - 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英语基础不够扎实啊,或者是你一时犯的错误。
相关文章:
1. docker不显示端口映射呢?2. 关docker hub上有些镜像的tag被标记““This image has vulnerabilities””3. macos - mac下docker如何设置代理4. MySQL数据库中文乱码的原因5. docker - 各位电脑上有多少个容器啊?容器一多,自己都搞混了,咋办呢?6. docker gitlab 如何git clone?7. mysql - 新浪微博中的关注功能是如何设计表结构的?8. css - C#与java开发Windows程序哪个好?9. angular.js - 关于$apply()10. docker-compose 为何找不到配置文件?
排行榜
