MySQL Forums
Forum List  »  Newbie

Re: Order By in FROM Subquery doesn't work in 5.7
Posted by: Rick James
Date: April 20, 2016 11:41PM

Does this explain the inner ORDER BY being thrown away:
https://mariadb.com/kb/en/mariadb/group-by-trick-has-been-optimized-away/
and does the comment provide a useful suggestion on how to work around it?

More on groupwise max:
http://mysql.rjweb.org/doc.php/groupwise_max

Options: ReplyQuote


Subject
Written By
Posted
Re: Order By in FROM Subquery doesn't work in 5.7
April 20, 2016 11:41PM


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.