Free course
SQL Course
Learn relational database fundamentals, create and change tables, write useful queries, connect related data, and use SQL safely in applications.
~~~
Your progress
of lessons completed.
Course completed.
What you'll learn
Design a small relational database and write safe SQL queries that create, read, update, and connect its data.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse contents
Database fundamentals
Databases, DBMSs, relational structure, schemas, and SQL.
Tables and data
Types, constraints, and the commands that change stored data.
Query data
Select, filter, sort, group, aggregate, and limit results.
Relationships and joins
Keys, one-to-many and many-to-many relations, joins, and views.
Databases in practice
Choose a database, protect queries, and keep changes reliable.
- ✓ How to install SQLite on macOS
- ✓ Choose SQLite, PostgreSQL, or MySQL
- ✓ Use indexes deliberately
- ✓ Keep related changes together with transactions
- ✓ SQL injection
- ✓ Use parameterized queries
- ✓ Store password hashes, not passwords
- ✓ Plan backups and schema migrations
- ✓ Check your understanding: databases in practice