create table class(
id int auto_increment,
cname varchar(20) not null unique,
cstunum int(3) not null,
cposition varchar(10) not null
cstates char not null default '0',
primary key(id)
);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual tha
corresponds to your MySQL server version for the right syntax to use near 'cst
es char not null default '0',
primary key(id)
)' at line 6
是什么地方的错误