我正在尝试执行此操作:
String qu = "INSERT INTO CLIENT(name,surname,pin,address,salary) VALUES ("
+ "'" + tempName + "',"
+ "'" + tempSurname+ "',"
+ tempPin
+ "'" + tempAddress + "',"
+ tempMoney
+ ")";
但我得到了这个:
Exception at execQuery:dataHandlerSyntax error: Encountered "\'" at line 1, column 83.
你能告诉我我做错了什么吗? Pin是长变量,金钱是双变量。