Enter Access Code

Checked server-side — not a client-side gate

or
Don't have a code? Ask in Discord
PostgreSQL 18 · Self-Paced

Master SQL with
Real-World Data

A self-paced course built around RetailMart V3 — a production-grade Indian retail database with 16 schemas and 2.7 million rows. No cohort, no calendar — go at your own speed.

0
Modules
0
Tables
0
Schemas
0
Rows

Watch the setup videos, install PostgreSQL locally, start at your own pace

Built for Real-World SQL Skills

Not toy databases. Not contrived examples. You work with a realistic business dataset from day one.

Production-Grade Database

RetailMart V3 — 16 schemas, 55 tables, 2.7M rows. Customers, orders, inventory, HR, marketing, finance, and more.

Indian Business Context

INR pricing, GST calculations, Indian cities, payroll with PF and professional tax. Context you actually understand.

Self-Paced, No Calendar

No live class, no batch schedule. Watch the setup videos, install locally, work through modules at your own speed.

4-Tier Practice Sets

Easy, Medium, Hard, Crazy — every topic ships with worked answers, validated against a real database.

Beginner to Advanced

From CREATE TABLE to window functions, CTEs, stored procedures, query optimization, and transaction isolation levels.

Interview Ready

Every topic includes the kind of questions you get in data analyst, data engineer, and backend developer interviews.

core
products
stores
customers
sales
finance
hr
marketing
support
web_events
supply_chain
loyalty
manufacture
payroll
call_center
audit

6 Modules, Self-Paced

From absolute beginner to writing complex analytical queries. No calendar — work through each module at your own speed.

MODULE 1
Foundations & Setup
  • Intro to SQL & Databases
  • DDL & Data Types
  • Constraints, Keys & DML
  • Filtering & Sorting
MODULE 2
Querying & Aggregation
  • Scalar Functions (String & Date)
  • Conditional Logic & Derived Columns
  • Aggregate Functions & Grouping
  • Joins Part 1 & 2
MODULE 3
Advanced Joins, Subqueries & CTEs
  • Self Join & UNION
  • Subqueries (Correlated, EXISTS)
  • Common Table Expressions
  • Database Concepts (Normalization, ACID)
MODULE 4
Window Functions & Performance
  • Ranking & Bucketing
  • Aggregation & Frames
  • LAG / LEAD
  • Reading Query Plans & Indexing
MODULE 5
Analytics Power Tools
  • Pivoting & FILTER Clause
  • Median / Latest-Per-Group Patterns
  • Date/Time & Time-Series
  • JSON & Views / Materialized Views
MODULE 6
Analyst Patterns & Capstone
  • Data Quality & Deduplication
  • Cohort / RFM / Funnel Queries
  • Interview Prep
  • Capstone: Analytics Layer & Dashboard

Content is being built out module by module — see Status below for what's live now.

4 Tiers Per Topic

Every topic ships with Easy, Medium, Hard, and Crazy practice sets — each with a worked answer, all validated against a real RetailMart V3 instance before it ships.

Easy
Single table queries, basic filters, simple aggregates
Medium
Multi-table joins, grouped aggregates, subqueries
Hard
Window functions, CTEs, correlated subqueries
Crazy Hard
Optimization, real interview problems

Three Videos, Then Start

Setup, onboarding, and a database walkthrough — watch these once, then you're ready for Module 1. No live class, no calendar.

Database Schema (Access-Code Demo)

This is the working example of the site's server-side access-code gate — the check runs on Cloudflare's edge, not in this page's own JavaScript, so it can't be bypassed by reading page source the way a client-side check can.

Download Schema SQL
-- Find top customers by revenue
SELECT c.first_name, c.last_name,
    SUM(o.total_amount) AS revenue
FROM customers.customers c
JOIN sales.orders o
    ON c.customer_id = o.customer_id
WHERE o.status = 'Delivered'
GROUP BY c.customer_id,
    c.first_name, c.last_name
ORDER BY revenue DESC
LIMIT 10;

Built Module By Module

Honest status, not a promise — this is a from-scratch rebuild, not a copy of an old course. Each module goes from "planned" to "live" as it's actually authored and validated.

Modules 1–6

Structure locked, lecture content and practice sets in progress

Planned

RetailMart V3 Dataset

16 schemas, 55 tables, ~2.7M rows — built and ready

Live

Setup / Onboarding / Walkthrough

The three videos everyone starts with

In progress

Ship a Real Analytics Dashboard

The finale: build a full analytics layer in SQL on RetailMart V3 — views, materialized views, JSON exports — then deploy it as a live, interactive dashboard. Coming with Module 6.