我试图编写一个查询来删除数据库中的raw。这是查询:
"delete from ombrellone where PosizioneX='"+i+"'AND PosizioneY='"+j+"')");
我不知道自己错了什么。有人可以帮帮我吗?
例外是:
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 ')' at line 1
答案 0 :(得分:0)
"delete from ombrellone where PosizioneX='" + i + "' AND PosizioneY = '" + j +"'";