SELECT InvNo,PK, COUNT(PK) FROM CustCard GROUP BY InvNo,PK HAVING COUNT(PK)>1
>InvNo PK >5000 9009 => >5001 9010 >5000 9009 => double >