
Want to learn SQL on the database that's already in your phone, your web browser and your laptop?
SQLite for Beginners is a practical, hands-on introduction to SQLite and SQL. The course now includes a brand-new, project-based course. You join the data team at Brightwater Home, a homeware retailer, and answer real requests from colleagues with SQL, on a realistic database of stores, products, customers and over 3,000 orders.
Every lesson starts with a real business question. In every video, the instructor makes a common beginner's mistake on purpose, so you learn to spot it and fix it. Then it's your turn, with an exercise and the answer in the lesson files.
You only need two free tools: SQLite (the sqlite3 command-line tool) and DB Browser for SQLite. Both are installed step by step, on Windows, with a setup guide for Mac. No experience needed.
In the new course, you will:
- Install SQLite and DB Browser for SQLite, and create, open and delete SQLite databases
- Write SQL queries with SELECT, WHERE, ORDER BY, LIMIT, DISTINCT, IN, BETWEEN, LIKE, GLOB and CASE
- Handle NULL values, text, numbers and dates
- Join tables with INNER, LEFT, RIGHT, FULL OUTER, self and cross joins
- Summarise data with aggregate functions, GROUP BY and HAVING, subqueries, common table expressions (CTEs), UNION, INTERSECT and EXCEPT
- Design tables with data types, STRICT tables, primary keys, foreign keys, constraints and generated columns
- Change data safely with INSERT, UPDATE, DELETE, UPSERT, RETURNING and transactions
- Build views and triggers
- Analyse data with window functions: ROW_NUMBER, RANK, top N per group, running totals, moving averages, LAG and LEAD
- Query JSON, build full-text search with FTS5, and speed up queries with indexes and EXPLAIN QUERY PLAN
- Look after a database like a DBA: import and export CSV and JSON, automate reports, back up and restore, run health checks and repairs, and migrate a live database safely
- Use SQLite from applications safely: parameters, preventing SQL injection, WAL mode and busy timeouts
- Clean messy real-world data
- Complete two projects and a two-part capstone, and check your skills with two practice tests
The course is organised so you can start in the right place:
- New to SQLite? Start at the "Getting started" section. Everything is taught from zero.
- Already watched the original lectures? Start at the same place. You'll recognise the basics, and quickly go much further.
The original lectures are still included. Here is what they cover:
This course gives you a brief overview of SQLite and the SQLite’s distinctive features that make SQLite one of the most widely deployed SQL database engine.
SQLite is a software library that provides a relational database management system. The lite in SQLite means light weight in terms of setup, database administration, and required resource. SQLite does NOT require a server to run.
Because of the serverless architecture, you don’t need to “install” SQLite before using it. There is no server process that needs to be configured, started, and stopped. SQLite uses dynamic types for tables. It means you can store any value in any column, regardless of the data type.
SQLite is self-contained means it requires minimal support from the operating system or external library. This makes SQLite usable in any environments especially in embedded devices like iPhones, Android phones, game consoles, handheld media players, etc.
SQLite is capable of creating in-memory databases which are very fast to work with.
SQLite database is integrated with the application that accesses the database. The applications interact with the SQLite database read and write directly from the database files stored on disk.
What You will learn includes:
Database Concepts
Download and Install SQLite
What is SQLite Studio
Attaching Sample Database to SQLite
How to connect to SQLite Database
Some Basic SQLite Commands
Some commonly used sqlite3 commands
SQLite Dump command
What is sqlite3 tool
SQLite SELECT statement
Querying data from all columns in a table
Querying data from specific columns in a table
Sorting data using ORDER BY clause
Removing duplicate records using DISTINCT clause
Filtering data with WHERE clause
Identifying NULL values
SQLite Data Types
SQLite Constraints
SQLite Create Table Statement
SQLite INSERT INTO Table Statement
SQLite UPDATE Statement
SQLite DELETE Statement
SQLite DROP Table Statement
SQLite BETWEEN Operator
SQLite IN Operator
SQLite LIMIT clause
SQLite LIKE operator
SQLite GLOB Operator
SQLite Subquery
Building a subquery in a WHERE clause
Building a subquery in a WHERE clause using IN operator
Building a subquery in FROM clause
SQLITE Table Joins
SQLite LEFT Join
SQLite INNER Join
SQLite CROSS Join
SQLite SELF Join
SQLite ALiases
SQLite Aggregate Functions
Introduction to SQLite Aggregate Functions
SQLite AVG Function
SQLite COUNT Function
SQLIte SUM Function
SQLite MAX Function
SQLite MIN Function
SQLite GROUP_ CONCAT Function
SQLite GROUP BY Clause
SQLite HAVING Clause
Watch the promo video and preview the free lectures to see how the course works. Then enrol, join the Brightwater data team, and start learning SQLite today.