您的位置:首頁技術文章
文章詳情頁

數據庫 - mysql 創建表錯誤

瀏覽:62日期: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英語基礎不夠扎實啊,或者是你一時犯的錯誤。

相關文章:
国产综合久久一区二区三区