创建mysql表出现的问题,在线等..
前面已经create database hibernate;
use hibernate;
现在是建表
create table login
(
'id' int(11) not null auto_increment,
'name' varchar(100) default not null,
'password' varchar(100) default not null,
primary key ('id')
)
type=mysiam;
出现的问题是:
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(11) not null auto_increment,
'name' varchar(100) default not null,
' at line 3
不知道错哪了,请给我个答案,谢谢,刚开始自学mysql