JingDas opened a new pull request, #25852:
URL: https://github.com/apache/doris/pull/25852

   ## Proposed changes
   Support where, group by, having, order by clause without from clause in 
query statement.
   For example as following:
   
   SELECT 1 AS a, COUNT(*), SUM(2), AVG(1), RANK() OVER() AS w_rank
   WHERE 1 = 1
   GROUP BY a, w_rank
   HAVING COUNT(*) IN (1, 2) AND w_rank = 1
   ORDER BY a;
   
   this will return result:
   
   a|count(*)|sum(2)|avg(1)|w_rank|
   -+--------+------+------+------+
   1|       1|     2|   1.0|     1|
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to