文章詳情頁
數(shù)據(jù)庫 - mysql 創(chuàng)建表錯誤
瀏覽:164日期: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. javascript - sublime快鍵鍵問題2. javascript - immutable配合react提升性能?3. Apache 已經(jīng)把網(wǎng)站根目錄的改為allow from all了,但是服務器還是不能訪問?4. javascript - 移動端上不能實現(xiàn)拖拽布局嗎?5. 實現(xiàn)bing搜索工具urlAPI提交6. vue.js - Vue 如何像Angular.js watch 一樣監(jiān)聽數(shù)據(jù)變化7. javascript - nodejs關于進程間發(fā)送句柄的一點疑問8. phpstudy8.1支持win11系統(tǒng)嗎?9. 如何解決Centos下Docker服務啟動無響應,且輸入docker命令無響應?10. css - 寫頁面遇到個布局問題,求大佬們幫解答,在線等,急!~
排行榜

熱門標簽
網(wǎng)公網(wǎng)安備