Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

SQL Fundamentals

Create tables and views, and query, filter, join, aggregate and modify relational data with standard SQL, using PostgreSQL as the reference engine.

Intro3 roadmaps

5 objectives 6 steps about 145 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Write SELECT queries that filter, sort and limit rows, handling NULL with three-valued logic correctly.
  • Combine tables with inner, left, full and self joins and explain row-count changes caused by join cardinality.
  • Summarize data with GROUP BY, HAVING, aggregate functions and CASE-based conditional aggregation.
  • Create tables with suitable data types and constraints, and insert, update and delete rows without touching unintended data.
  • Answer questions with scalar, IN, EXISTS and correlated subqueries, and rewrite a correlated subquery as a join or anti-join that returns the same rows.

Lesson plan

6 steps, about 145 min · 5 of 5 lessons available so far

Practise it

Load a sample schema (for example a DVD-rental or online-store dataset) into PostgreSQL and write ten queries that answer stated business questions, including a left join that keeps unmatched rows, a NOT EXISTS query that finds customers with no orders, a grouped report filtered with HAVING and published as a view, and an UPDATE previewed with SELECT first; automated tests compare each result with the expected rows.

Build it from scratch

Practice builds that exercise this skill by re-creating a real technology.

Browse 14 tutorials that practise it

References