SyntaxFix
Write A Post
Hire A Developer
Questions
Are you committed to using the Inner join syntax?
If not you could use this alternative syntax:
SELECT * FROM Y,X WHERE (X.QID=Y.QID) or (X.QUID is null and Y.QUID is null)