MySQL Forums
Forum List  »  Newbie

Re: sub query on left join which gves duplicate rows
Posted by: Weihua Wang
Date: June 20, 2015 10:23PM

You use
LEFT JOIN users AS USER
ON user.id IN (...)

But you did not give
ON user.id = follower.uid

This will cause cross join. So you will get these results.

Options: ReplyQuote


Subject
Written By
Posted
Re: sub query on left join which gves duplicate rows
June 20, 2015 10:23PM


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.