--- title: "Saved Queries in Preset" slug: "saved-queries" description: "Article about how to view, edit, delete, and filter saved queries in Preset Cloud." updated: 2026-03-05T00:49:54Z published: 2026-03-05T00:49:54Z canonical: "docs.preset.io/saved-queries" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.preset.io/llms.txt > Use this file to discover all available pages before exploring further. # Saved Queries 👤 This documentation is intended for Limited Creators, Secondary Creators, Primary Creators, and Workspace Admins. Check with your Team Admin for additional access. ## Overview SQL Queries that you save in [SQL Editor](/v1/docs/querying-and-analysis) will appear in the *Saved Queries* screen. Saved queries are only visible to the query owner and can be shared via URL for collaboration with other teammates. You have access to a variety of features that enable you to manage and work with your saved queries, such as: - View, edit, and delete saved queries - Share your saved query with other teammates - Bulk delete and export saved queries Let's look at saved queries in more detail below. --- ## Navigate to Saved Queries In the Toolbar, select **SQL Lab** and, in the drop-down menu, select **Saved Queries**. ![Select_Saved_Queries](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Select_Saved_Queries.png) --- ## Interface ![Interface_Saved_Queries(1)](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Interface_Saved_Queries%281%29.png) | Column Header | Description | | --- | --- | | Name | The name of the saved query. | | Database | The database associated with the saved query. | | Schema | The schema associated with the saved query, if applicable. | | Tables | The table/dataset associated with the saved query. | | Created on | How long ago the query was saved. | | Modified | How long ago the query was last modified. | | Actions | See below. | ### Query Search and Filter To narrow down saved queries, you can use the **Database** and/or **Schema** filters. Additionally, saved queries can be searched using the **Search** field. ![Query_Search_and_Filter](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Query_Search_and_Filter.png) --- ## Add a Query To create a new query, select **+ Query**. ![Add_a_Query](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Add_a_Query.png) The [SQL Editor](/v1/docs/sql-editor) page appears featuring a new blank untitled query. ![New_Blank_Query](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/New_Blank_Query.png) --- ## Actions Column To view available actions for a saved query, hover your cursor over a query row under the **Actions** column header. ### Query Preview To view a preview of your saved query, select the **Query preview** binoculars icon. ![Query_Preview](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Query_Preview.png) The **Query preview** panel appears. ![Query_Preview_Panel](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Query_Preview_Panel.png) | Feature | Description | | --- | --- | | Copy icon | This icon appears when you hover your cursor over the query text. Select the copy icon to copy the query text to your system's clipboard. | | Previous | View the previous saved query from the list of saved queries. | | Next | View the next saved query from the list of saved queries. | | Open in SQL Lab | Launches the saved query in the [SQL Editor](/v1/docs/querying-and-analysis). | ### Edit Query To edit your saved query, select the **Edit query** pencil icon. ![Edit_Query2](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Edit_Query2.png) The saved query will be launched in the [SQL Editor](/v1/docs/querying-and-analysis) for editing. When done making any changes, select **Save**. ![Edit_Query2a](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Edit_Query2a.png) ### Sharing the Saved Query via URL for Collaboration Saved queries are only visible to the owner. To share a saved query, go to the Saved Queries screen, hover over the specific query, and select **Copy query URL**. A notification message will appear confirming the URL copy. This URL launches the SQL Editor featuring your saved query. ![Copy_Query_URL](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Copy_Query_URL.png) Your shared Saved Query can be modified and saved by anyone who has the URL. However, the shared Saved Query will only be visible in the owner's Saved Queries screen. ### Export Query To export a saved query, select **Export query**. Your system will download the saved query in ZIP archive file format. ![Export_Query](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Export_Query.png) ### Delete Query To delete a saved query, select the **Delete query** trash bin icon. ![Delete_Query](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Delete_Query.png) The *Delete Query?* panel appears. To confirm deletion of the saved query, type "DELETE" in the text-entry field and then select **Delete**. ![Delete_Query1](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Delete_Query1.png) --- ## Bulk Actions ### Using Bulk Select The Bulk Select tool enables users to delete or export multiple saved queries. Let's see how it works. Start by selecting **Bulk Select**. ![Bulk_Delete1(1)](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Bulk_Delete1%281%29.png) Select multiple checkboxes for each saved query or, to select all queries, select the checkbox in the header column. In the example below, we selected two queries. ![Bulk_Select1](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Bulk_Select1.png) ### Bulk Deletion To delete both queries, select **Delete**. ![Bulk_Delete2(1)](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Bulk_Delete2%281%29.png) The *Please confirm* panel appears. To confirm the deletion, enter the word "DELETE" in the text-entry field and then select **Delete**. ![Bulk_Deletion_Confirmation](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Bulk_Deletion_Confirmation.png) ### Bulk Export To export both queries, select **Export**. The saved queries will be archived together in a ZIP format and a download will commence. ![Bulk_Export](https://cdn.document360.io/4749ddf8-aa05-4f3f-80e1-07a5d2d0f137/Images/Documentation/Bulk_Export.png)