MySQL Forums
Forum List  »  Quality Assurance

Re: Critical bug in order by in union clause? How fix it?
Posted by: Peter Brawley
Date: November 14, 2019 07:39PM

You can always combine two ordered & limit-based results sets by selecting them into a temp table then retrieving from that table.

In 8.0. a WITH clause would accomplish it more efficiently.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Critical bug in order by in union clause? How fix it?
513
November 14, 2019 07:39PM


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.