1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 09:15:25 +02:00
tldr/pages/common/sqlite3.md
Managor 23340cc6e0
common/*: reduce usage of "command-line" (part 1) (#16949)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:48:18 +03:00

440 B

sqlite3

Interface to SQLite 3, which is a self-contained file-based embedded SQL engine. More information: https://sqlite.org/cli.html.

  • Start an interactive shell with a new database:

sqlite3

  • Open an interactive shell against an existing database:

sqlite3 {{path/to/database.sqlite3}}

  • Execute an SQL statement against a database and then exit:

sqlite3 {{path/to/database.sqlite3}} '{{SELECT * FROM some_table;}}'