通过字段查询是否有重复的记录

select cardinfo_id,issure_date, count(1) as count from so_android_hour where issure_date>='2018-12-21 23:00:00' and issure_date<='2018-12-22 09:00:00' group by cardinfo_id
having count>1;

posted @ 2018-12-22 09:34  uuhh  阅读(257)  评论(0编辑  收藏  举报