Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4.31
Description
with cte (c1,c2) as (select a, b from t1 union select a, b from t1 order by a ) select * from cte; |
provokes an error
ERROR 1054 (42S22): Unknown column 'a' in 'order clause'
Where both of these do not
select a, b from t1 union select a, b from t1 order by a; |
with cte (c1,c2) as (select * from (select a, b from t1 union select a, b from t1 order by b) tt ) select * from cte; |
Attachments
Issue Links
- is blocked by
-
MDEV-26831 New name resolution
- Stalled