文章詳情頁
數(shù)據(jù)庫 - mysql 創(chuàng)建表錯誤
瀏覽:85日期: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英語基礎(chǔ)不夠扎實啊,或者是你一時犯的錯誤。
相關(guān)文章:
1. javascript - 如何使用loadash對[object,object,object]形式的數(shù)組進(jìn)行比較2. 這種數(shù)據(jù)怎么合并啊?3. 請教各位大佬,瀏覽器點 提交實例為什么沒有反應(yīng)4. javascript - 如何清除向可編輯的(contenteditable)元素里粘貼的文本的標(biāo)簽和樣式?5. mysql優(yōu)化 - 關(guān)于mysql分區(qū)6. 如何分別在Windows下用Winform項模板+C#,在MacOSX下用Cocos Application項目模板+Objective-C實現(xiàn)一個制作游戲的空的黑窗口?7. angular.js - 百度支持_escaped_fragment_嗎?8. javascript - ionic2 input autofocus 電腦成功,iOS手機鍵盤不彈出9. nlp - python如何對一篇文章自動分段?10. css3 - 這個形狀使用CSS怎么寫出來?
排行榜

熱門標(biāo)簽