1: 2: 3: 4: 5:
SELECT refno, Ninumber FROM table_name WHERE Ninumber in ( SELECT Ninumber FROM table_name GROUP BY Ninumber HAVING COUNT(*) > 1)