TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

Hope the topN function support "group by" operation

Open lqju opened this issue 6 years ago • 3 comments

背景: 对分组查询的数据排序,取前N条做展示。类似mysql的:group by filed1 order by count limit 10.

lqju avatar Feb 25 '20 02:02 lqju

您说的是针对普通列的group by是吗?

hjxilinx avatar Feb 27 '20 13:02 hjxilinx

您说的是针对普通列的group by是吗?

是的。针对超级表的tags列做group by,然后取topN。

lqju avatar Mar 02 '20 11:03 lqju

Not supported yet, group by tag is supported.

Shawshank-Smile avatar Mar 25 '20 08:03 Shawshank-Smile