SQL Power Queries
Level up with aggregations, joins, and conditional logic — the toolkit of every working data analyst.
0/15 done
GROUP BY
GROUP BYSplit your data into groups and run aggregates on each — like pivot tables in SQL.
Complete Aggregate Functions to unlock
HAVING
HAVINGFilter groups after aggregation — WHERE's smarter sibling.
Complete GROUP BY to unlock
INNER JOIN
JOINCombine data from two tables by matching on a shared column.
Complete HAVING to unlock
LEFT JOIN
LEFT JOINInclude all rows from the left table, even when there's no match on the right.
Complete INNER JOIN to unlock
Multiple JOINs
Multi-table JOINChain three or more tables together to traverse the full data model.
Complete LEFT JOIN to unlock
CASE Expressions
CASEAdd if/else logic directly inside your SQL query.
Complete Multiple JOINs to unlock
String Functions
UPPER / LOWER / LENGTH / CONCATManipulate and transform text data with SQL's built-in string toolkit.
Complete CASE Expressions to unlock
Date & Time
NOW() / DATE_TRUNC / EXTRACT / INTERVALWork with timestamps, extract date parts, and calculate time intervals.
Complete String Functions to unlock
Subqueries
SubqueryNest a query inside another — let the inner query's result drive the outer one.
Complete Date & Time to unlock
Subqueries in FROM (Derived Tables)
Derived tableTreat a subquery's result as if it were its own table, and query it further.
Complete Subqueries to unlock
Self Joins
Self joinJoin a table to itself to compare rows within the same table — like employees to their managers.
Complete Subqueries in FROM (Derived Tables) to unlock
FULL OUTER JOIN
FULL OUTER JOINKeep every row from both tables, matched where possible, NULL where not.
Complete Self Joins to unlock
Set Operations: UNION, INTERSECT, EXCEPT
INTERSECT / EXCEPTCombine, find common rows between, or subtract one query's results from another.
Complete FULL OUTER JOIN to unlock
NULL-Safe Aggregates
COALESCE in aggregatesMake sure missing data doesn't silently break your sums, averages, and counts.
Complete Set Operations: UNION, INTERSECT, EXCEPT to unlock