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 ‘1=1’ at line 1
出现这段代码就说明SQL语句出现问题
问题点:
修改后:
因为是接上一段的SQL语句所以要有空格,不然将会报语句错误