我正在执行这样的语句
ResultSet res =
stmt.executeQuery("SELECT FIRST_NAME FROM USER vu, USER_PROFILE vup"+
"WHERE vup.USER_ID = vu.USER_ID "+
"AND vu.USER_ID = ( SELECT USER_ID "+
" FROM USER"+
" WHERE EMAIL_ID = '"+userName+"'"+
"AND PW_ENCRYPTED = '"+password+"')");
但它返回这样的错误
java.sql.SQLSyntaxErrorException: ORA-00933: SQL 命令未正确结束