错误为: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 '(10)NOT NULL , nameCHAR(50)NOT NULL , Class CHAR(50)NOT NULL , callCHAR(50)NOT ' at line 2
程序为:
CREATE TABLE A_book (
num char(50)NOT NULL ,
name CHAR(50)NOT NULL ,
Class CHAR(50)NOTNULL ,
call CHAR(50)NOT NULL,
PRIMARY KEY (num)
) ENGINE=MYISAM;
show tables;
Class CHAR(50)NOT NULL , NOT NULL 中间有空格
一周热门 更多>