Abekus — AI learning and job matching platform logo

SQLite

  • 76 lessons
  • About 8 hours
  • Self-paced
0%Complete
Guided Mode

Start with lesson 1

76 lessons. The first one is free, no signup needed.

🗺️ Your learning path
First Database
Where SQLite Fits

What you'll learn

  • Create and query a SQLite database file from the sqlite3 CLI and from Python's sqlite3 module, and back it up.
  • Predict how type affinity stores a value, and choose STRICT tables when rigid types are needed.
  • Enforce primary keys, constraints and foreign keys, remembering they are off by default, and write UPSERT and RETURNING statements.
  • Write joins, CTEs, window functions and JSON queries, and change schemas with ALTER TABLE, views, triggers and generated columns.
  • Read EXPLAIN QUERY PLAN output, add the index that turns a SCAN into a SEARCH, and choose between rollback-journal and WAL mode.
  • Use parameter binding, Row factories, transactions and lock timeouts correctly in Python.

About this course

SQLite is the database inside phones, browsers, desktop apps and countless small tools, and it is often the first database a developer uses. It is also easy to misuse, because it does not behave like a client-server database: a string can sit in an INTEGER column, foreign keys are not enforced until you switch them on, and only one connection can write at a time. This online SQLite course on Abekus teaches SQLite from the sqlite3 command-line shell and from Python, in short reading-card lessons each followed by an MCQ quiz.

Frequently asked questions