--- title: "Write queries in the Quantivly Hub (Browser)" slug: "the-quantivly-sql-engine" tags: ["SQLPad", "Quantivly Hub"] updated: 2026-09-23T22:39:36Z published: 2026-09-23T22:39:36Z canonical: "docs.quantivly.com/the-quantivly-sql-engine" excludeFromExternalSearch: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.quantivly.com/llms.txt > Use this file to discover all available pages before exploring further. # Write queries in the Quantivly Hub (Browser) ## Where to find the SQL editor The simplest way to get started is directly in the **Quantivly Hub**. Inside the Hub, go to **Explore › Apps** and open the **SQL queries** card (“Web-based SQL editor for running your own queries.”). ![Explore, Apps page with the Calendar, Slot Optimization and SQL queries cards](https://cdn.us.document360.io/d2a031b3-e484-4983-9d46-1633ed0c8eef/Images/Documentation/v4-explore-apps-sql-queries.jpg) The SQL queries app opens SQLPad, an in-browser SQL editor that lets you: - Run queries interactively - Save queries for future reuse - Export results as CSV or Excel > ✅ **Safe by design:** All access is **read-only**, so you can freely explore and analyze without ever altering the underlying data. If the SQL queries card is missing, or SQLPad asks you to sign in and doesn't let you in, contact your Quantivly team to set up access. > [!NOTE] > Large results > > SQLPad may limit the number of rows it displays for a single query. For large result sets, add filters or a `limit`, or use [Direct SQL Access](/v1/docs/direct-sql-access). ## SQL editor tips ### Saving queries Save time by reusing your queries. Next to the **Run** button, click the down arrow to find **Save**. ![](https://cdn.us.document360.io/d2a031b3-e484-4983-9d46-1633ed0c8eef/Images/Documentation/Screenshot%202025-09-04%20at%209.07.11%E2%80%AFPM.png) You can then give your query a name and tags, and choose who can access it. ![](https://cdn.us.document360.io/d2a031b3-e484-4983-9d46-1633ed0c8eef/Images/Documentation/image-1757034521923.png) > [!NOTE] > Sharing queries > > You can also share a query with other users. They can view and run it, and change it before running, but they can't save changes to your query. To run it, they also need access to the underlying database connection; contact your Quantivly team if a colleague can't run a query you shared. **Next:** ➡️ [Direct SQL Access](/v1/docs/direct-sql-access) ➡️ [Quantivly’s built-in metric functions](/v1/docs/quantivlys-built-in-metric-functions)