Add ORDER clause to subquery test missing it

pull/1441/head
Jason Petersen 2017-06-08 18:30:14 -06:00
parent cc190a4af9
commit 50501227e9
No known key found for this signature in database
GPG Key ID: 9F1D3510D110ABA9
2 changed files with 6 additions and 2 deletions

View File

@ -445,7 +445,9 @@ FROM
subquery_1.user_id, subquery_1.user_id,
hasdone) AS subquery_top hasdone) AS subquery_top
GROUP BY GROUP BY
hasdone; hasdone
ORDER BY
event_average DESC;
event_average | hasdone event_average | hasdone
--------------------+--------------------- --------------------+---------------------
4.0000000000000000 | Has not done paying 4.0000000000000000 | Has not done paying

View File

@ -391,7 +391,9 @@ FROM
subquery_1.user_id, subquery_1.user_id,
hasdone) AS subquery_top hasdone) AS subquery_top
GROUP BY GROUP BY
hasdone; hasdone
ORDER BY
event_average DESC;
-- Union, left join and having subquery pushdown -- Union, left join and having subquery pushdown
SELECT SELECT