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
) ;

posted @ 2015-04-14 21:18  洛晨随风  阅读(385)  评论(0编辑  收藏  举报