DBMSL Assignment 3 SQLite Database Installation
DBMSL Assignment 3 SQLite Database Installation
To download SQLite, you open the download page of the SQlite official website.
1. First, go to the https://www.sqlite.org website.
2. Second, open the download page https://www.sqlite.org/download.html
SQLite provides various tools for working across platforms e.g., Windows, Linux,
and Mac. You need to select an appropriate version to download.
For example, to work with SQLite on Windows, you download the command-line
shell program as shown in the screenshot below.
The downloaded file is in the ZIP format and its size is quite small.
C:\cd c:\sqlite
C:\sqlite>
Second, type sqlite3 and press enter, you should see the following output:
C:\sqlite>sqlite3
SQLite version 3.29.0 2019-07-10 17:32:03
Third, you can type the .help command from the sqlite> prompt to see all
available commands in sqlite3.
sqlite> .help
.archive ... Manage SQL archives: ".archive --help"
for details
.auth ON|OFF Show authorizer callbacks
.backup ?DB? FILE Backup DB (default "main") to FILE
.bail on|off Stop after hitting an error. Default
OFF
.binary on|off Turn binary output on or off. Default
OFF
.cd DIRECTORY Change the working directory to
DIRECTORY
...
Fourth, to quit the sqlite>, you use .quit command as follows:
sqlite> .quit
c:\sqlite>
However, sometimes, you may want to work with the SQLite databases using an
intuitive GUI tool.
There are many GUI tools for managing SQLite databases available ranging from
freeware to commercial licenses.
SQLiteStudio
The SQLiteStudio tool is a free GUI tool for managing SQLite databases. It is free,
portable, intuitive, and cross-platform. SQLite tool also provides some of the most
important features to work with SQLite databases such as importing, exporting
data in various formats including CSV, XML, and JSON.
You can download the SQLiteStudio installer or its portable version by visiting
the download page. Then, you can extract (or install) the download file to a folder
e.g., C:\sqlite\gui\ and launch it.