Select * from Vehicle where CustomerId is NULL = correct Select * from Vehicle where CustomerId = NULL = wrong