Can anyone tell me how to do this in sql server?
I am currently doing this query in oracle:
select table1.col1,tab le1.col2,table2 .col3,table4.co l4
where table1.col1 = table2.col3 and
table2.col3 = table4.col5 and
(table1.col1,ta ble1.col2) not in
select table2.col4,tab le2.col5 from table2
it is the where two column values from any row are not found in any
row in table2 part that I can't figure out.
thanks
Jeff
I am currently doing this query in oracle:
select table1.col1,tab le1.col2,table2 .col3,table4.co l4
where table1.col1 = table2.col3 and
table2.col3 = table4.col5 and
(table1.col1,ta ble1.col2) not in
select table2.col4,tab le2.col5 from table2
it is the where two column values from any row are not found in any
row in table2 part that I can't figure out.
thanks
Jeff
Comment