文章詳情頁
數據庫 - mysql 創建表錯誤
瀏覽:72日期: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. Span標簽2. docker-machine添加一個已有的docker主機問題3. 關docker hub上有些鏡像的tag被標記““This image has vulnerabilities””4. angular.js使用$resource服務把數據存入mongodb的問題。5. docker安裝后出現Cannot connect to the Docker daemon.6. javascript - 計算面積函數代碼7. SessionNotFoundException:會話ID為null。調用quit()后使用WebDriver嗎?(硒)8. redis啟動有問題?9. android新手一枚,android使用httclient獲取服務器端數據失敗,但是用java工程運行就可以成功獲取。10. java - Collections類里的swap函數,源碼為什么要新定義一個final的List型變量l指向傳入的list?
排行榜
