Hey! Thaks for answering so fast! My results to the queries were:SELECT TOP 5 [Numero IBS], COUNT(*) AS ItemsFROM t0606 GROUP BY [Numero IBS] HAVING COUNT(*) > 1 ORDER BY COUNT(*) DESC
173231 107802892 95170689 51171143 49175638 38SELECT COUNT(DISTINCT [Numero IBS]) FROM t0606
11151SELECT TOP 5 [Numero IBS], COUNT(*) AS ItemsFROM t0607 GROUP BY [Numero IBS] HAVING COUNT(*) > 1 ORDER BY COUNT(*) DESC
802892 98173231 66171143 49175638 38807301 36SELECT COUNT(DISTINCT [Numero IBS]) FROM t0607
11162select count (*) from t0607 where isnull([Numero IBS],0)=0
2There are 2 nulls in the table