πŸš€ New batches open: Advanced Excel β€’ Power BI β€’ SQL β€’ AI for Analytics β€” Book a free demo

Free SQL Tutorial β€” learn SQL in 12 days

Topic by topic, day by day, with every example runnable right here in the page. No signup, no installation.

A free, hands-on SQL course

Twelve short lessons that take you from your first SELECT to joining four tables for a real management report. Every example runs in your browser β€” edit it, break it, run it again. Nothing to install and nothing to sign up for.

Start with Day 1, or open the demo database in a second tab first.

Who this is for Anyone moving into a Data Analyst or MIS role. No programming background needed β€” if you can write an Excel formula, you can write SQL.

The 12 days

Day 1 β€” SQL SELECT and FROM

SQL is how you ask a database a question. Today you will write your first one and get an…

Day 2 β€” SQL WHERE β€” filtering rows

Yesterday you chose columns. Today you choose rows β€” which is where SQL starts saving yo…

Day 3 β€” SQL AND, OR, NOT, IN, BETWEEN, LIKE

Real questions have more than one condition. Today you learn to stack them β€” and where t…

Day 4 β€” SQL NULL values β€” IS NULL and IS NOT NULL

NULL is the quiet cause of wrong numbers in reports. Half an hour today saves you a very…

Day 5 β€” SQL ORDER BY, DISTINCT and LIMIT

Three small tools that turn a wall of rows into something a manager will actually read.…

Day 6 β€” SQL COUNT, SUM, AVG, MIN and MAX

Up to now every query returned rows. Today one query returns a single number β€” the thing…

Day 7 β€” SQL GROUP BY explained

This is the single most useful thing in SQL for reporting. Every "sales by region" repor…

Day 8 β€” SQL HAVING vs WHERE

A classic interview question, and a genuine source of wrong reports: WHERE filters rows,…

Day 9 β€” SQL INNER JOIN explained

Real data is spread across tables on purpose. JOIN is how you put it back together β€” and…

Day 10 β€” SQL LEFT JOIN and self join

LEFT JOIN is how you find what is missing β€” inactive customers, unsold products, student…

Day 11 β€” SQL joining three or more tables

Two tables was the lesson. Three is the job β€” because that is where the answers manageme…

Day 12 β€” SQL practice questions with answers

No new syntax today. Twelve questions of the kind you get asked in an interview or on yo…

How to get the most out of it

  1. Type the queries, do not copy them. The muscle memory matters more than you think.
  2. Break things on purpose. Remove a quote, misspell a column. Learning to read the error message is half the skill.
  3. Do the exercises at the bottom of each day before moving on.
  4. One day at a time. Twelve short sittings beat one long one.

Want this taught properly?

This tutorial covers the basics. Our SQL course in Noida takes you through window functions, CTEs and stored procedures on a real database, with projects and mentor support.

See the SQL course β†’