MySQL Forums
Forum List  »  Optimizer & Parser

Re: mySQL 8 - view query not using outer predicate
Posted by: Peter Brawley
Date: January 11, 2021 01:38PM

Does this answer your question?

Quote

The optimizer propagates an ORDER BY clause in a derived table or view reference to the outer query block if these conditions are all true:

The outer query is not grouped or aggregated.
...
https://dev.mysql.com/doc/refman/8.0/en/derived-table-optimization.html



Edited 1 time(s). Last edit at 01/11/2021 01:38PM by Peter Brawley.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: mySQL 8 - view query not using outer predicate
104
January 11, 2021 01:38PM


Sorry, only registered users may post in this forum.

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.