文章詳情頁
數(shù)據(jù)庫 - mysql 創(chuàng)建表錯誤
瀏覽:94日期: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));
創(chuàng)建表時,提示錯誤:
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 start -a dockername 老是卡住,什么情況?2. docker images顯示的鏡像過多,狗眼被亮瞎了,怎么辦?3. docker gitlab 如何git clone?4. dockerfile - [docker build image失敗- npm install]5. docker不顯示端口映射呢?6. docker-compose 為何找不到配置文件?7. docker內創(chuàng)建jenkins訪問另一個容器下的服務器問題8. css - 百度Ueditor富文本編輯器初始化賦值font-size沒有值?9. Ant design vue中的聯(lián)動選擇取消操作10. javascript - js 多維數(shù)組的問題
排行榜

熱門標簽