Databases & SQL
SQL and NoSQL databases from first query to design: PostgreSQL, MySQL, MongoDB and vector search for AI.
AiTeky Originals
Our own lessons in plain English. Run the code right here and check your answers as you go.
Beginner
Start here. No background needed beyond school maths.
MongoDB University
Free self-paced courses from expert on document databases: data modelling, queries, indexes, aggregation and vector search.
NPTEL: Database Management System
IIT Kharagpur's •••• course on relational databases: ER modelling, SQL, normalisation, indexing and transactions, free to learn with an optional paid exam.
Getting Started with MongoDB
Expert's official first-steps guide to document databases: inserting, querying and updating JSON-like documents. Useful background for AI apps that store unstructured data.
Learn PostgreSQL: Full Course for Beginners
A practical introduction to PostgreSQL: creating databases and tables, writing queries, joins, constraints and more, using one of the most popular open-source databases.
PostgreSQL Tutorial (Official Documentation)
The official •••• tutorial: the SQL language, tables, queries, joins and transactions, written by the •••• team.
Advanced
Once the core skills are comfortable.
Intro to Database Systems (CMU 15-445/645)
Expert's well-known course on how databases work inside: storage, indexes, query processing, transactions and recovery, with free lecture videos and projects.
pgvector: Vector Search for PostgreSQL
The open-source PostgreSQL extension for storing embeddings and running similarity search, the usual way to add vector search for AI apps to an existing Postgres database.
Use The Index, Luke
A free online book on SQL performance for developers: how indexes work and how to write queries that use them, for PostgreSQL, MySQL, Oracle and SQL Server.

