MySQL Forums
Forum List  »  Performance

Re: Optimizing SQL IN Clause
Posted by: Peter Brawley
Date: November 23, 2021 01:31PM

If as you say clientid determines partnerid 1:1, why not just ...

select clientid,partnerid,...
where clientid between ... and ...

Options: ReplyQuote

Written By
November 23, 2021 12:46PM
Re: Optimizing SQL IN Clause
November 23, 2021 01:31PM

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.