MySQL Forums
Forum List  »  Newbie

Re: Order By in FROM Subquery doesn't work in 5.7
Posted by: Peter Brawley
Date: April 19, 2016 08:00AM

> you can see , the 'ORDER BY `Flightdate` DESC' in mysql 5.7 has been ignored .

Already explained: that Order By clause is inside the join, and will be overriddden by the outer query's Group By and Order By clauses.

Again, if there is a problem with the result, post the result of ...

Show Create Table flightontime;

... and enough Insert statements to reproduce the result problem in 5.7.

Until we have that info, we're spinning our wheels.

Options: ReplyQuote


Subject
Written By
Posted
Re: Order By in FROM Subquery doesn't work in 5.7
April 19, 2016 08:00AM


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.