codice:
					  Connection con = c.getConnection();
					    st2 = con.createStatement();
					    st2.executeUpdate("DELETE FROM tbl_ricerca WHERE tbl_ricerca.sito LIKE '" + sitoConfronto + "' ");
st2.close();

key = key.replace(',','-');
String sqlCommand2 "INSERT INTO tbl_ricerca (sito, testo, chiavi, linkInterni, linkEsterni, posizione) VALUES ('"+ sito +"','"+ testoCompleto +"','"+ key +"','"+ linkInterni +"','"+ linkEsterni +"',"+ p +")";

st1 = con.createStatement();
st1.executeUpdate(sqlCommand2);

st1.close();