select * 
from t a
where (select count(*) from  where cardid=a.cardid)>1