T
Tony WONG
i wish to compare 2 tables (one is new, one is old)
This is 1 level comparison, the script works
**********
select A, B, C
from table X
where A not in (select A from table Y)
*************
however i wish to have 2 levels comparison, like this
select A, B, C
from table X
where A, B not in (select A, B from table Y)
but it seems the script should not be written at such, i fail to run it.
could anyone assist? Thanks.
tony
This is 1 level comparison, the script works
**********
select A, B, C
from table X
where A not in (select A from table Y)
*************
however i wish to have 2 levels comparison, like this
select A, B, C
from table X
where A, B not in (select A, B from table Y)
but it seems the script should not be written at such, i fail to run it.
could anyone assist? Thanks.
tony