文章详情页
数据库 - mysql 创建表错误
浏览:188日期: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. android - Home键app重新启动的问题2. 自学,刚编了helloworld就失败了3. python3.x - mongodb 显示不出中文,都是方块,该如何解决?4. 为啥最大化个窗口还得找一堆理由?5. 请问PHPstudy中的数据库如何创建索引6. javascript - 在react中写行间样式的whiteSpace不生效7. javascript - 怎么获取一个页面中的所数据,然后弄成一个json格式的字符串传给后台8. html5 - chrome下的a标签download属性无法调出另存为的下载框9. android - 微信这个效果是怎么实现的10. javascript - 求助一个关于indexedDB的问题
排行榜

网公网安备