SQL learning path for data analysis
Turn business questions into queries that filter, summarise, relate and compare data, with evidence you can check at the end of each block.
A path that keeps the foundations visible
The path has 37 steps, drawn from the 52 shared lessons plus a supplementary project. If you are starting from scratch, follow it in order. If you can already apply a skill, confirm it and move on to the next step: that confirmation is your own statement, not an automatic test.
Approximate time: 9.6 hours of content and practice. Plan sessions of 30–45 minutes and stop between activities; a module may take several sessions. These estimates have not been measured with learners.
Orientation
Prerequisites: none.
Selecting data
Prerequisites: How to read a SQL query.
Filtering data
Prerequisites: Select data with SELECT and FROM.
Prerequisites: Filter rows with WHERE.
Prerequisites: Compare values in your filters.
Prerequisites: Combine conditions with AND, OR and NOT.
Prerequisites: Filter rows with WHERE.
Sorting and summarising
Prerequisites: Filter rows with WHERE.
Prerequisites: Filter rows with WHERE, Use aliases and create calculated columns, Work correctly with NULL values.
Prerequisites: Summarise data with COUNT, SUM, AVG, MIN and MAX.
Relating tables
Prerequisites: Understand tables, rows and columns.
Prerequisites: Connect tables with keys and relationships, Use aliases and create calculated columns.
Prerequisites: Match rows with INNER JOIN, Work correctly with NULL values.
Advanced queries
Prerequisites: Summarise data with COUNT, SUM, AVG, MIN and MAX, Match rows with INNER JOIN, Combine conditions with AND, OR and NOT.
Prerequisites: Answer questions with subqueries, Match rows with INNER JOIN.
Prerequisites: Answer questions with subqueries, Filter groups with HAVING.
Prerequisites: Summarise data with COUNT, SUM, AVG, MIN and MAX, Create per-group summaries with GROUP BY, Break queries into steps with CTEs.
Prerequisites: Break queries into steps with CTEs, Turn a summary into a table with a subquery in FROM, Answer questions with subqueries.
Prerequisites: Practice: choose between subqueries and CTEs.
Prerequisites: Combine results with UNION.
Prerequisites: Create categories with CASE.
Prerequisites: Use aliases and create calculated columns, Work correctly with NULL values, Combine tables and keep control of the result rows, Transform text with functions.
Prerequisites: Transform text with functions, Join text values into a readable column, Create categories with CASE, Combine results with UNION.
Prerequisites: Break queries into steps with CTEs, Sort and limit results.
The path's final project
37Sales analysis and audit projectA report that defines what its rows represent, calculates metrics and explains its limits.How to check you have finished
A report that defines what its rows represent, calculates metrics and explains its limits.
- Complete the practice activity for each core skill.
- Explain one included row, one excluded row and one boundary or missing value.
- If you need help, keep the correct answer marked as assisted and come back with a different review.
Once you have finished this path, you can combine SQL with Python to analyse and transform the results. PythonDesdeCero offers a supplementary path for getting started with that language.