SQL语句查找重复记录
select * from AM_C4_ENTRY t where t.created_by in
(
select t.created_by from AM_C4_ENTRY t group by t.created_by having count(t.created_by) > 1
) ;
积累小的知识,才能成就大的智慧,希望网上少一些复制多一些原创有用的答案
select * from AM_C4_ENTRY t where t.created_by in
(
select t.created_by from AM_C4_ENTRY t group by t.created_by having count(t.created_by) > 1
) ;