oracle 查找字段值相同的记录

select * from account wnhere idcardno in(

select idcardno from account

group by idcardno

having count(*)>1)

 

posted @ 2014-10-20 10:05  chen0h  阅读(470)  评论(0)    收藏  举报