Oracle 查找表中重複信息的語句

查找表中字段重複信息的語句,根據單個字段(peopleID)判斷:html

select * from people
where peopleId in (select   peopleId from   people group by   peopleId having countide

(peopleId) > 1)spa


參考:https://www.cnblogs.com/wangzhuxing/p/7727713.html  orm

相關文章
相關標籤/搜索