JDBC_SQL语句在Navicat查询中可以执行,但在java JDBC操作中报错
java中SQL语句的拼接,为了保险,建议每个字符串首尾都要保证有空格代码片段:pstat=conn.prepareStatement("select name,status,modeluri from " + " (select name,status,modelcode from scmuser inner join usermodel " + " on scmu...