SQLite course online
SQLite is the most widely deployed database in the world - it sits in every Android and iOS phone, in browsers and in countless applications. Instead of a server, it is simply a file inside the app. On BitWizards you learn it entirely in the browser: write a query, click “Run” and see the result in a table - no account, no installation.
Open the SQLite course without signing in
What you will learn
SELECT,WHERE, sorting,LIKE/IN/BETWEENand functions.- Aggregations (
GROUP BY,HAVING) and joining tables (JOIN,LEFT JOIN). - Modifying data:
INSERT,UPDATE,DELETEand UPSERT (ON CONFLICT). - Creating tables, foreign keys,
CHECK/UNIQUEconstraints, indexes and transactions.
Differences from MySQL and PostgreSQL - on live examples
This is what makes the course special: you see every dialect trap in action.
- Flexible types (type affinity) - SQLite will accept text in an INTEGER column; MySQL and PostgreSQL would refuse.
- Auto-numbering:
INTEGER PRIMARY KEYinstead ofAUTO_INCREMENT(MySQL) orSERIAL(PostgreSQL). - No
DATEtype - dates are stored as text, handled withdate()andstrftime(). - Foreign keys are off by default (
PRAGMA foreign_keys) - a classic trap. - UPSERT via
ON CONFLICT(like PostgreSQL), notON DUPLICATE KEY(MySQL).
Tables, relations and a query builder
Next to the query result, every SQLite exercise has the tabs Tables (structure, data, a new-row form, a table designer with keys), Relations (a diagram of the tables with foreign key lines) and Query builder (a field grid like in database programs: criteria, sorting, totals). The tools do not change the database on their own; they append the generated SQL to the editor, so you can see which command came out of your clicks.
These tools are used by the course Databases: tables, relations and queries (in Polish) for general and technical secondary schools (basic level: a database of several tables, relations, filtering and queries).
SQLite in the class courses
The databases part of the Polish core curriculum is covered by the class courses, which follow the yearly teaching schedule (in Polish): Informatyka - liceum klasa 2 (general secondary grade 2, topics 14-21) and technikum klasa 1 (technical school grade 1, topics 49-56) at the basic level, and at the extended level liceum klasa 3 (topics 27-40: relations, foreign keys, importing data) plus matura revision in grade 4. Queries are checked automatically by comparing the result with the model one.
SQLite, mobile apps and the INF.04 qualification
A software development student (INF.04, the Polish vocational programming qualification) sooner or later writes a mobile app - and data on a phone means SQLite (on Android also via the Room library). You will meet this dialect in real projects sooner than many textbook topics.
Related technologies
SQL and MySQL - Python - Java