控制台的错误展示: 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 '(CASE subname WHEN 'é?????????¤??????????é???????°' THEN DATA ELSE 0 END) dt_fro' at line 1
原因:SQL语句拼接中少了一个逗号,导致SQL语句错误