EmmyMiao87 commented on issue #2101: 明细表支持预聚合
URL: 
https://github.com/apache/incubator-doris/issues/2101#issuecomment-562098006
 
 
   > Can I declare columns of aggregate type in the Order by clause?
   > 
   > ```
   > select k1, k2, sum(v1) from tbl group by k1,k2 order by sum(v1)
   > ```
   
   The columns of order by clause must be the group by columns. Also the order 
of columns must be same as the order of columns in select list

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to