> For the complete documentation index, see [llms.txt](https://doc.dataflake.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dataflake.co/query/edit-delete-a-query.md).

# Edit, Delete a query

### Edit a query <a href="#od_146b6a39" id="od_146b6a39"></a>

To edit a query:

1. Select **Queries tab** then we can see all the queries with edit buttons at the right
2. Selecting **Edit** button

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FUKmdzSbRYTyslz3wZKyp%2Fimage.png?alt=media&amp;token=e649f2f4-3359-4f19-9893-b4c69b64fcc0" alt="" width="375"><figcaption></figcaption></figure>

3. We can edit data source, the query, its name, cache time, and other information
4. Click **Next** to successfully edit the query

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2Fcvrz6F11GfZ7IwG7egZG%2Fimage.png?alt=media&amp;token=9e55e3f6-8e2f-41b2-ab49-c9962cf0feb4" alt="" width="375"><figcaption></figcaption></figure>

### Delete a query <a href="#od_15fd9017" id="od_15fd9017"></a>

To delete a query

1. Select **delete** button

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FFwdQfIOhS73KbJHnrhCX%2Fimage.png?alt=media&amp;token=d0b6ad51-47b8-4616-8de9-1ee894dfe9c0" alt="" width="375"><figcaption></figcaption></figure>

2. Select **yes** to delete your query

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FcNl6FuD2WsZ60OBnSoVy%2Fimage.png?alt=media&amp;token=097bcd17-3ea0-4387-b0f7-1d5ed9337250" alt="" width="336"><figcaption></figcaption></figure>

{% hint style="info" %}
&#x20;You can not undo your action when you delete your query
{% endhint %}
