# Convert SQL query to Java Elastic Query

**URL:** <https://discuss.elastic.co/t/convert-sql-query-to-java-elastic-query/103017>\
**Category:** Elasticsearch\
**Created:** [October 6, 2017, 1:34pm UTC](https://discuss.elastic.co/t/convert-sql-query-to-java-elastic-query/103017 "2017-10-06T13:34:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 6, 2017, 9:47pm UTC](https://discuss.elastic.co/t/convert-sql-query-to-java-elastic-query/103017/2 "2017-10-06T21:47:50Z")

</div>

Given you already have another thread with a bunch of people helping, it's going to be easier to continue the discussion there, as it also has a bit more context 🙂

> [@How to parse below SQL query to ES?](https://discuss.elastic.co/t/how-to-parse-below-sql-query-to-es/102734/7):
>
> thanks @rockybean, I am using java APIs to pull the data, could you please help me in making use of them for above queries ? Thanks!

---

_[View the full topic](https://discuss.elastic.co/t/convert-sql-query-to-java-elastic-query/103017)._
