select * from passenger t where t.cardType=1 and t.cardId not in (select r.cardId from record r where r.count>0)
这个好象是把积分>0的会员排除了吧?????