Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 CASE_CITATION 表中找到具有不同 OBJECT_ID 的重复 casecitation_entry 值。你能告诉oracle SQL吗?
可以通过多种方式解决此类问题。 EXISTS是一个典型的:
EXISTS
select t.* from t where exists (select 1 from t t2 where t2.CASE_CITATION = t.CASE_CITATION and t2.OBJECT_ID <> t.OBJECT_ID );