Here is my Table1
personid
1
?
2
3
4
?
6
Here is my query
select * 
from table2
where personid not in 
(
select personid
from table1
)
The result is nothing
Here is my second query
select * 
from table2
where personid not in 
(
select personid
from table1         
where personid is not null
)
The result is ok
Question : why the first query did not work ? I can't see any logical problem . Do nulls skrew up teradata ?
 
     
     
     
    