Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to find missing rows in this situation?

SebaVastaMay 9 2023

We have a small ref data table called REFCODES (refid number primary key, created_date date not null). I have left out the other fields because it's not important. We use the REFID in the code, not the names, so don't need the other columns.

We have 2 copies of this, one in DEV and other other in TST.

We want to do a comparison between DEV and TST and see if there are any missing that were created in DEV in the last 6 months.

I have a copy of TST table in my development environment called REFCODES_TST.

How can we created the SQL??

We need the REFIDs in DEV which are not in TST which was created in DEV in the last 6 months.

It's a bit tricky, not straight ward.

This post has been answered by Barbara Boehmer on May 9 2023
Jump to Answer
Comments
Post Details
Added on May 9 2023
2 comments
701 views