mysql
我用的是mysql-5.6.22-winx64版本,在命令行输入下述语句:
mysql> create table db_shop
.tb_admin
(
-> 'id' int(4) not null default '0',
-> 'name' varchar(25) default null,
-> 'pwd' varchar(50) default null,
-> primary key('id')
-> );
按回车出现下述语句:
ERROR 1064 (42000): 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(4) not null default '0',
'name' varchar(25) default null,
'pwd' varchar' at line 2
请问各位大侠是什么原因?我执行的语句是照抄书上的原文,我该怎么办?