文章詳情頁
數據庫 - mysql 創建表錯誤
瀏覽:95日期: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. html5和Flash對抗是什么情況?2. javascript 開發百度地圖3. python socket 如何接收tcp/ip byte 格式的數據?4. python小白 問關于遞歸的問題5. python - 為什么用time.strftime格式化會用默認值?6. python - 為什么match匹配出來的結果是<_sre.SRE_Match object; span=(0, 54), match=’’>7. python - 如何在dataframe中刪除某行當某列值為nan時?8. python - 這句是什么錯誤?9. python3.5 urllib.parse.unquote 亂碼10. 【小白問題】這行python命令行程序是什么意思?
排行榜
