Sopanly

SQL for data analysis in 30 days

by Sopanly Team

₹299

30 days · Free preview: Day 1, 2, 8 · No ratings yet

Scan with your Android phone to get it in the Sopanly app.

Or continue on the web

Go from your first SELECT to answering real business questions with joins, window functions and clean reports.

Sopanly Team
Day-by-day learning plans
30 daysDuration
45 minEach day
BeginnerLevel
No ratings yetRating

About this roadmap

A practical SQL roadmap for people who want to analyse data, not administer databases. You work with one realistic dataset of an online store (customers, orders, products) the whole month, so each new idea builds on the last. Weeks 1 and 2 cover filtering, sorting, aggregation and joins. Week 3 moves to subqueries, CTEs, CASE logic and dates. Week 4 adds window functions and ends with a small analysis project you can show: a written report answering five questions a manager might ask. Each day is about 45 minutes: a short concept, queries to type yourself, and one question to answer from the data. Uses free tools (SQLite or PostgreSQL).

What you'll achieve

Write SQL queries that answer everyday analysis questions: totals, trends, top items, customer behaviour and month-on-month changes.

Who it's for

Students, analysts who live in spreadsheets, product and marketing people, and anyone starting a data career.

Prerequisites

Comfort with a computer and basic spreadsheet ideas (rows, columns, sums). No programming needed.

What you'll learn

SELECT, WHERE, ORDER BY, GROUP BY, HAVING, all kinds of JOIN, subqueries, CTEs, CASE, date functions, window functions (ROW_NUMBER, RANK, LAG, running totals) and how to check your results.

How it works

One dataset all month. Each day: learn one idea, type the example queries yourself, then answer a question in your own words.

What you'll need

A laptop, the free DB Browser for SQLite or PostgreSQL, and a notebook or document to keep your queries in.

Expected outcomes

A folder of about 100 queries you wrote yourself and a short analysis report built from them.

After you finish

You can open an unfamiliar table, explore it, join it with others and explain what the numbers say, and you'll know what to learn next (indexing, BI tools or Python).

Questions and answers

Which database should I use?

SQLite is the easiest start (one file, nothing to configure). Everything in the roadmap also works in PostgreSQL; day 1 shows both.

Is this enough for a data analyst role?

It covers the SQL most analyst work uses. Roles also look for spreadsheets, a BI tool and communication; the last week's report is a good start for a portfolio.

Where does the practice data come from?

Day 1 shows how to build a small online-store dataset with a few CREATE TABLE and INSERT statements, so you know exactly what's in it. You can also use any public sample database.

What if I fall behind?

Days build on each other, so continue from where you stopped rather than skipping ahead. Review days are a good place to catch up.

Sample days

Day 1: Set up and your first query

Install a SQL tool and run SELECT on a table you created.

Day 2: Filtering with WHERE

Return only the rows that match a condition.

Day 8: INNER JOIN

Combine two tables on a shared key.

Everything in it

82 tasks over 30 days. Locked days open after you get it.

  1. Day 1: Set up and your first query
  2. Day 2: Filtering with WHERE
  3. Day 3: Sorting and limiting 🔒
  4. Day 4: Handling missing values 🔒
  5. Day 5: Counting and summing 🔒
  6. Day 6: GROUP BY and HAVING 🔒
  7. Day 7: Review: week 1 🔒
  8. Day 8: INNER JOIN
  9. Day 9: LEFT JOIN and finding what's missing 🔒
  10. Day 10: Joining several tables 🔒
  11. Day 11: Join traps 🔒
  12. Day 12: Self joins and UNION 🔒
  13. Day 13: Grouping across joins 🔒
  14. Day 14: Review: week 2 🔒
  15. Day 15: Subqueries 🔒
  16. Day 16: Common table expressions (WITH) 🔒
  17. Day 17: CASE expressions 🔒
  18. Day 18: Working with dates 🔒
  19. Day 19: Text functions and cleaning 🔒
  20. Day 20: Creating views 🔒
  21. Day 21: Review: week 3 🔒
  22. Day 22: Window functions: ROW_NUMBER and RANK 🔒
  23. Day 23: Running totals and moving averages 🔒
  24. Day 24: LAG and LEAD 🔒
  25. Day 25: Cohorts and retention, simply 🔒
  26. Day 26: Checking your results 🔒
  27. Day 27: Project: choose five questions 🔒
  28. Day 28: Project: write the queries 🔒
  29. Day 29: Project: write the report 🔒
  30. Day 30: Wrap up and what's next 🔒

Reviews

No ratings yet · 0 ratings

5 stars0%4 stars0%3 stars0%2 stars0%1 stars0%

Good to know

Includes future updates: when the creator publishes a new version, your roadmap gets it for free.

Ask for a refund within 7 days of buying if you've completed 3 days or fewer. If it's refunded, the roadmap is removed from your account.

Results depend on your effort; no roadmap can guarantee a job, income or exam result. Report this roadmap

₹299
Price includes GST
Get this roadmap