select count(A.卡号),A.卡号 from [表] A group by A.卡号。 试试 我直接打的。
select 卡号,count(卡号) as 次数 from table group by 卡号
select 卡号,count(卡号) from 表名 group by 卡号