AlgoInsight

Database

Mastering SQL

A complete, 17-module SQL course - from databases, querying, joins and aggregations through window functions, indexing, transactions, SQL at scale, and 14 FAANG interview patterns. Built by a Netflix data leader.

Beginner1032101 lessons6 free lessonssqldatabasepostgresqlmysqldata

Mastering SQL: Fundamentals to FAANG Interviews

This is the SQL course built the way SQL is actually used in production - and the way it is actually tested in interviews. Authored by Emeka Okafor (Head of Data Infrastructure at Netflix), it runs from the absolute basics all the way to the patterns that separate a "knows SQL" candidate from a "thinks in SQL" one.

You'll start with the foundations (what a database really is, the relational model, keys, normalization), move through everyday querying (SELECT, filtering, NULL handling, CASE, dates), aggregations and every flavour of JOIN, then into the depth most courses skip: subqueries and CTEs, the full window-function toolkit, set operations, DDL/DML, data modeling, indexing and execution plans, transactions and concurrency (ACID, isolation levels, locking, MVCC), and SQL at scale (OLTP vs OLAP, columnar stores, partitioning, streaming SQL).

It closes with two interview-grade modules: 14 named interview patterns (top-N per group, gaps and islands, running totals, sessionization, pivots, and more) and a strategy + mock module on how FAANG SQL rounds actually run.

The first two modules - Welcome and SQL Foundations - are free to preview. The full course is a one-time purchase with lifetime access.

What you will learn

Prerequisites

Course outline

Module 1: Welcome & Orientation

Welcome & Orientation — 4 topics.

Module 2: SQL Foundations

SQL Foundations — 6 topics.

Module 3: Querying Data

Querying Data — 11 topics.

Module 4: Aggregations

Aggregations — 5 topics.

Module 5: Joins

Joins — 8 topics.

Module 6: Subqueries & CTEs

Subqueries & CTEs — 5 topics.

Module 7: Window Functions

Window Functions — 9 topics.

Module 8: Set Operations & Reshaping

Set Operations & Reshaping — 3 topics.

Module 9: Data Definition & Manipulation

Data Definition & Manipulation — 5 topics.

Module 10: Data Modeling

Data Modeling — 4 topics.

Module 11: Indexing & Performance

Indexing & Performance — 5 topics.

Module 12: Transactions & Concurrency

Transactions & Concurrency — 6 topics.

Module 13: SQL at Scale

SQL at Scale — 5 topics.

Module 14: Procedural SQL

Procedural SQL — 3 topics.

Module 15: Database Security

Database Security — 3 topics.

Module 16: Interview Patterns

Interview Patterns — 14 topics.

Module 17: Interview Strategy & Mock

Interview Strategy & Mock — 5 topics.

Browse all courses