select serial_num,count(*) as count FROM card_ticket GROUP BY serial_num HAVING count >1
参考 https://www.cnblogs.com/xuzhengzong/p/9877248.html