select cod_n,cod_grupo,cod_tipo,cod_Sec,count(*) from irtb00008 group by 1,2,3,4 having count(*) > 1