SQL.append("SELECT Regle.description \n"); SQL.append("FROM Regle \n"); SQL.append("WHERE Regle.id = \n"); SQL.append(" (SELECT PrixOption.regle_id \n"); SQL.append(" FROM PrixOption \n"); SQL.append(" WHERE PrixOption.id = '") .append(idprixoption).append("')"); return SQL.toString();