--- title: Querying Data | Datasquirel docs description: Learn how to query data in Datasquirel using SQL page_title: Querying Data page_description: Use SQL to read, insert, update, and delete data in your Datasquirel databases. --- ## Overview Datasquirel is built on MariaDB, so all standard SQL query syntax works as expected. You can run queries directly from the [admin panel SQL shell](/docs/gui-reference) or through the [REST API](/docs/api-reference/sql).
## Running Queries You have two options for executing SQL queries: **Admin Panel SQL Shell** — navigate to any database in the admin panel and open the SQL shell. Type your query and run it. Results appear in a table below the editor. **REST API** — POST any SQL string to the `/api/v1/sql` endpoint and receive results as JSON. See [API Reference → SQL](/docs/api-reference/sql).