MySQL Forums
Forum List  »  General

Re: Subquery returning NULL, why?
Posted by: Rick James
Date: January 13, 2016 05:45PM

SELECT t3.a
FROM tbl_test t3
LEFT JOIN tbl_test t4 ON t4.b = 999
WHERE t3.a = t2.a

Says to look into t3, then check t4, but don't do anything with the result of looking into t4.

What were you hoping to do with that LEFT JOIN?

Options: ReplyQuote


Subject
Written By
Posted
January 13, 2016 06:34AM
January 13, 2016 07:09AM
Re: Subquery returning NULL, why?
January 13, 2016 05:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.