SyntaxFix
Write A Post
Hire A Developer
Questions
I'd go with the CASE WHEN also.
CASE WHEN
Depending on what you actually want to do, there may be other options though, like using an outer join or whatever, but that doesn't seem to be what you need in this case.