mirror of https://github.com/CrimsonTome/tldr.git
13 lines
293 B
Markdown
13 lines
293 B
Markdown
|
# dolt sql
|
||
|
|
||
|
> Run a 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 --query "{{INSERT INTO t values (1, 3);}}"`
|
||
|
|
||
|
- List all saved queries:
|
||
|
|
||
|
`dolt sql --list-saved`
|