SyntaxFix
Write A Post
Hire A Developer
Questions
Here is a simple query containing coalesce -
select * from person where coalesce(addressId, ContactId) is null.
It will return the persons where both addressId and contactId are null.
coalesce function
e.g.