2013-11-24 55 views
0

我是mysql新手。 (第一件事情我真的做了),不能在这里弄清楚什么是错我的语法:Mysql语法错误找不到

INSERT INTO `nationz_clans` (verified, open, name, friendly_fire, registered, lastUsed, packedAllies, packedEnemies, packedMembers, description, balance) VALUES (1,'0,'testing',0,'1385263412958','1385263412958','','','','','0.0'); 

错误:

Error at SQL INSERT Query: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 'testing',0,'1385263412958','1385263412958','','','','','0.0')' at line 1 

谢谢!

回答

1

删除此单引号:

... 
VALUES (1,'0,'testing',0,'1385263412958','1385263412958','','','','','0.0'); 
     ^
2

零后一个单引号?

+0

谢谢!我诚实地至少跳过了20次 – user3026427