- 1. SQLite
- 1.1. About SQLite
- 1.2. Documentation
- 1.3. Using SQLite in programming languages
- 1.4. Main features of SQLite
- 1.5. Download and Install SQLite command-line tool
- 1.6. Version of SQLite
- 1.7. GUI for SQLite
- 1.8. SQLite dialect
- 1.9. Data types
- 1.10. Conventions
- 2. SQLite interactive shell
- 2.1. Help with SQLite CLI using a pipe
- 2.2. Help with SQLite CLI using redirect
- 2.3. SQLite version
- 2.4. SQLite CLI - external commands .shell
- 2.5. SQLite CLI - .schema and .tables
- 2.6. SQLite CLI - .mode
- 2.7. SQLite in-memory or file-based
- 3. DDL - Data Definition Language
- 3.1. CREATE TABLE
- 3.2. ALTER TABLE
- 3.3. DROP TABLE
- 4. DML - Data Manipulation Language - Basic Operations
- 4.1. CREATE INSERT SELECT
- 4.2. SELECT only some of the columns
- 4.3. SELECT only some of the rows - WHERE clause
- 4.4. AUTOINCREMENT
- 4.5. Invisible AUTOINCREMENT (ROWID)
- 4.6. Missing value
- 4.7. Missing numerical value
- 4.8. Field with DEFAULT value
- 4.9. Default time
- 4.10. NOT NULL constraint
- 4.11. UPDATE
- 5. SELECT without table
- 5.1. SELECT date and time
- 5.2. SELECT functions
- 5.3. SELECT mathematical functions
- 6. Data type enforcement
- 6.1. Flexible typing
- 6.2. STRICT Tables
- 6.3. VARCHAR
- 7. Import data from CSV
- 7.1. Import planets.csv
- 7.2. Load schema and import planets.csv
- 7.3. Import iris.csv
- 7.4. Load schema and Import iris.csv
- 8. Other operations
- 8.1. LIMIT
- 8.2. Aggregate: COUNT
- 8.3. Aggregate: AVG - GROUP BY
- 8.4. DISTINCT
- 8.5. Aggregate: COUNT, AVG, MAX, MIN
- 8.6. Increment value
- 9. Constraints
- 9.1. CHECK, UNIQUE, NOT NULL
- 9.2. Multi-column uniqueness constraint
- 10. Database normalization
- 10.1. Multivalue fields
- 10.2. Flat table
- 10.3. Two tables
- 10.4. FOREIGN KEY
- 10.5. PRAGMA
- 10.6. Family
- 10.7. Flat grades
- 11. Transactions
- 11.1. SQLite Transaction - in a bank
- 12. ALTER TABLE
- 12.1. ALTER TABLE after adding data
- 12.2. ALTER TABLE not NULL
- 12.3. ALTER TABLE in transaction
- 13. Optimization
- 13.1. INDEX
- 13.2. EXPLAIN
- 14. Other
- 14.1. Increment or Insert
- 14.2. INSERT or UPDATE (replace)
- 14.3. Conditional CREATE
- 15. migrations - changes between schema version
- 15.1. sqldiff
- 16. SQLite in Python
- 17. SQLite in Rust
- 18. SQLite in Perl