SQL Performance (MOSC)

MOSC Banner

how to find non-matching records in two tables?

edited Aug 15, 2017 12:51PM in SQL Performance (MOSC) 4 commentsAnswered

Hello all,

I have two tables with the same structure and want to find non-matching records between them. I've tried the bellow sql statement but it run slowly.

select *

from A

where (col1,col2,..) not in

   (select col1,col2,... from

Could you please advice some helpful solutions for this situation?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center