MySQL Forums
Forum List  »  Newbie

Re: Results change when embedding sub-queries
Posted by: Peter Brawley
Date: July 14, 2016 11:20AM

You want an inner join, not a left join.

Because it's an inner join, ...and aaa.invidifilelist.stbId in ('R1881445299')... is redundant.

For the same reason, so is ...,count(aaa.invidifilelist.stbId)...

Consider reading about joins, and working through a few tutorials.

Options: ReplyQuote


Subject
Written By
Posted
Re: Results change when embedding sub-queries
July 14, 2016 11:20AM


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.