oracle查询重复记录

select * from a_person t
        where t.phone  in (select b.phone from a_person b group by b.phone having count(b.phone) > 1) order by t.phone desc

猜你喜欢

转载自sky425509.iteye.com/blog/2052679