建了一個book表 使用insert into book(bookid,bookname,bookauthor,bookcategory,booknumber,bookprice)values('001','平凡的世界','路遙','社會類','100','50RMB');向book表中插入資料,
但是mysql提示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 ','平凡的世界','路遙','社會類','100','50RMB')' at line 1

uj5u.com熱心網友回復:
'001'后面不應該是全角的逗號轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/31231.html
標籤:基礎類
