MySQL Forums
Forum List  »  Performance

Re: distinct clause issue for 600000 records
Posted by: Peter Brawley
Date: November 11, 2015 12:33PM

It's doing exactly what the Left Join tells it to do: retrieve an ee.id for each prd row whether that prd.id matches ee.id or not.

Lose the 'left' modifier.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: distinct clause issue for 600000 records
1010
November 11, 2015 12:33PM
1010
November 12, 2015 03:20AM
1002
November 13, 2015 12:37AM
1005
November 13, 2015 05:56AM
1072
November 13, 2015 07:15AM


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.