# Need confirmation for few Elasticsearch queries

**URL:** <https://discuss.elastic.co/t/need-confirmation-for-few-elasticsearch-queries/341849>\
**Category:** Elasticsearch\
**Created:** [August 29, 2023, 5:00am UTC](https://discuss.elastic.co/t/need-confirmation-for-few-elasticsearch-queries/341849 "2023-08-29T05:00:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashishshukla](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@ashishshukla](https://discuss.elastic.co/u/ashishshukla)\
**Post date:** [August 29, 2023, 5:00am UTC](https://discuss.elastic.co/t/need-confirmation-for-few-elasticsearch-queries/341849/1 "2023-08-29T05:00:26Z")

</div>

Hi Team,

Can you please confirm below query comes under SQL query or DSL query ?

curl -X POST "[https://localhost:9200/\_sql?format=txt&pretty](https://localhost:9200/_sql?format=txt&pretty)" -H 'Content-Type: application/json' -d'  
{  
"query": "SELECT \* FROM customer"  
}  
'

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 29, 2023, 5:15am UTC](https://discuss.elastic.co/t/need-confirmation-for-few-elasticsearch-queries/341849/2 "2023-08-29T05:15:30Z")

</div>

This is a sql query.

Note that's equivalent to:

```
GET /customer/_search

```

---

<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:** [September 26, 2023, 5:16am UTC](https://discuss.elastic.co/t/need-confirmation-for-few-elasticsearch-queries/341849/3 "2023-09-26T05:16:15Z")

</div>

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