使用elasticsearch

时间:2016-04-11 03:39:40

标签: elasticsearch elasticsearch-dsl

我怎样才能在elasticsearch中写这个:

    SELECT avg(sum) 
    FROM (
         SELECT sum(rev) as sum
         FROM table
         GROUP BY user_id
    )

0 个答案:

没有答案