# Essql

**URL:** <https://discuss.elastic.co/t/essql/141298>\
**Category:** Elasticsearch\
**Created:** [July 24, 2018, 6:26am UTC](https://discuss.elastic.co/t/essql/141298 "2018-07-24T06:26:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wenfang6](https://avatars.discourse-cdn.com/v4/letter/w/ecc23a/32.png) [@wenfang6](https://discuss.elastic.co/u/wenfang6)\
**Post date:** [July 24, 2018, 6:26am UTC](https://discuss.elastic.co/t/essql/141298/1 "2018-07-24T06:26:33Z")

</div>

does ESSQL support this syntax like（select c1,c2,count(\*) from index1 group by c1,c2）in elasticsearch6.3

---

<div class="post-metadata">

**Author:** ![shanec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shanec/32/4004_2.png) [@shanec](https://discuss.elastic.co/u/shanec)\
**Post date:** [July 25, 2018, 8:09pm UTC](https://discuss.elastic.co/t/essql/141298/2 "2018-07-25T20:09:52Z")

</div>

> [@wenfang6](#):
>
> select c1,c2,count(\*) from index1 group by c1,c2

In 6.3, only a single GROUP BY can be used. [That limitation has been addressed](https://github.com/elastic/elasticsearch/issues/31793) though and should be released soon.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 22, 2018, 8:09pm UTC](https://discuss.elastic.co/t/essql/141298/3 "2018-08-22T20:09:55Z")

</div>

Closed on August 22, 2018, 8:09pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
