我創建了簡單的sql腳本並試圖在phpMyAdmin中執行它。它提供了錯誤信息:簡單的sql腳本不起作用
#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 '{ id INT, firstName VARCHAR(15), lastName VARCHAR(15), email VARCHAR(20)' at line 1
Hereis代碼:
CREATE TABLE phoneList{id INT,
firstName VARCHAR(15) ,
lastName VARCHAR(15) ,
email VARCHAR(20) ,
phone VARCHAR(15) };
此問題沒有顯示任何研究工作 – keyser