我创建了简单的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