Select * from tabella
where id_codice = (
select id_codice from tabella group by id_codice having count > 1
)