If you want to trade, please get off. This is the place where we share our knowledge and make others too grow.
Jay, here you go.
There are different ways to get there.
For count of similar records
Code:
Select count(b.*)
from TABLEB b, TABLEA a
where b.Name=a.Name
For listing similar records
Code:
Select b.*
from TABLEB b, TABLEA a
where b.Name=a.Name
For listing unmatched records, (Considering that TABLEB has the unmatched records)
Code:
Select b.*
from TABLEB b, TABLEA a
where b.Name<>a.Name
OR
Code:
Select b.*
from TABLEB b
where b.Name NOT in (Select a.Name from TABLEA a)
You can also use IN operator to achieve this.
If you are interested, I would post that too describing how to do that.
There is always someone to help.
Cheers!
-Vijay G