---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# dolt sql

> Run an SQL query. Multiple SQL statements must be separated by semicolons.
> More information: <https://docs.dolthub.com/cli-reference/cli#dolt-sql>.

- Run a single query:

`dolt sql {{[-q|--query]}} "{{INSERT INTO t values (1, 3);}}"`

- List all saved queries:

`dolt sql {{[-l|--list-saved]}}`
