Learn SQLite from the Linux command line through ten short, hands-on labs. You will install the sqlite3 tool, work with database files, define tables, change schemas, insert and modify records, and write focused queries against small sample datasets.
Five guided labs introduce the workflow step by step, and five challenges ask you to repeat the core skills with less guidance. The course stays close to the SQLite CLI so you can see how SQL statements and dot commands affect a local database directly.
What You Will Learn
- Install SQLite with Linux package tools and verify the
sqlite3command and version - Open and exit the SQLite CLI and use dot commands such as
.help,.tables, and.schema - Create, connect to, and remove file-based SQLite databases
- Define tables with columns, SQLite data types, primary keys,
NOT NULL, andUNIQUEconstraints - Insert rows and retrieve complete tables or selected columns with
SELECT - Add a column with
ALTER TABLE, update existing values, and delete records - Filter rows with
WHEREand match text patterns withLIKE - Sort results with
ORDER BY, restrict result counts withLIMIT, and save query output to a file
Who This Course Is For
This course is for database beginners, developers, analysts, and Linux learners who want a practical first experience with SQLite and basic SQL. It is especially suitable if you want to understand local database files before using SQLite from an application.
Prerequisites: No prior SQL or database experience is required. Basic familiarity with files, directories, and entering commands in a Linux terminal is helpful.
Learning environment: All ten labs run in an Ubuntu 22.04 desktop VM and use the sqlite3 command-line client. The course contains five guided labs and five challenges, totaling 31 task steps and 38 automated checks; each challenge includes a reference solution.
Frequently Asked Questions
Can I take this course without knowing SQL?
Yes. It starts with installation and the SQLite prompt before introducing table creation, records, and simple queries. The examples use small schemas and explicit commands intended for a first database course.
Do I need to configure a database server or write application code?
No. SQLite stores each database in a local file and does not require a separate server for these labs. All work is performed in the sqlite3 CLI; Python, JavaScript, and other application integrations are not covered.
Does the course cover advanced SQL and database design?
No. The scope is basic, mostly single-table creation, CRUD operations, filtering, sorting, and limiting results. Joins, aggregate queries, foreign keys, indexes, transactions, query plans, and schema normalization are outside the course.
How independent are the challenges?
The five challenges provide a required database state or query result rather than a full walkthrough. Automated checks confirm your work, and a reference solution is available after you attempt each challenge.



