a guest Feb 16th, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- String format = "%-15s %-30s %-30s\n";
- System.out.format(format, "Nome", "Cognome", "Email");
- ResultSet r= statement.executeQuery("select distinct Nome, Cognome, Email from partecipante where partecipante.CF!= all (select cliente.CF from cliente);");
- while (r.next()==true)
- System.out.format(format, r.getString(1), r.getString(2), r.getString(3));
RAW Paste Data