Can Anyone explain why NULL is used in this query?

Posted by Rishabh Ohri on Stack Overflow See other posts from Stack Overflow or by Rishabh Ohri
Published on 2010-03-24T10:54:37Z Indexed on 2010/03/24 11:03 UTC
Read the original article Hit count: 283

Filed under:

Also what will be the scenarios where this query is used

select * from TableA where exists  
    (select null from TableB where TableB.Col1=TableA.Col1)

© Stack Overflow or respective owner

Related posts about sql