SQL & Databases
A SQL path covering SELECT/WHERE, ordering, grouping, joins, subqueries, indexes, transactions, JSON queries, migrations, and Prisma.
A thorough SQL and databases learning path covering queries, joins, indexing, transactions, normalization, NoSQL, and performance tuning for effective data management and analysis.
Adapt "Basic SELECT with Column Aliases" to a second input and compare the new output with the behavior described in "Demonstrates a basic SELECT query with column aliases, literal expressions, and calculated".
Next step: Advanced WHERE Clause Filtering
⏱ 0.75h
Execute "Advanced WHERE Clause Filtering", change one constant, and describe how the output diverges from "Demonstrates complex WHERE clause filtering with multiple operators including BETWEEN, IN,".
Prerequisites: Basic SELECT with Column Aliases
Next step: Multi-Column Ordering with NULLS
⏱ 0.75h
Run the sql snippet "Multi-Column Ordering with NULLS", capture stdout, and show which line demonstrates the documented behavior: "Demonstrates ORDER BY with multiple columns, mixed sort directions, NULLS handling, and".
Prerequisites: Advanced WHERE Clause Filtering
Next step: GROUP BY with Aggregate Functions
⏱ 0.75h
Adapt "GROUP BY with Aggregate Functions" to a second input and compare the new output with the behavior described in "Uses GROUP BY with multiple aggregate functions to summarize sales data by category,".
Prerequisites: Multi-Column Ordering with NULLS
Next step: INNER JOIN with Multiple Tables
⏱ 0.75h
Execute "INNER JOIN with Multiple Tables", change one constant, and describe how the output diverges from "Performs INNER JOINs across three tables to combine related data from customers, orders, and".
Prerequisites: GROUP BY with Aggregate Functions
Next step: Subqueries in WHERE and SELECT
⏱ 0.75h
Run the sql snippet "Subqueries in WHERE and SELECT", capture stdout, and show which line demonstrates the documented behavior: "Demonstrates correlated and non-correlated subqueries in WHERE clauses and SELECT columns to".
Prerequisites: INNER JOIN with Multiple Tables
Next step: Index Creation StQuerygies
⏱ 0.75h
Adapt "Index Creation StQuerygies" to a second input and compare the new output with the behavior described in "Creates various index types including B-tree, partial, expression, and composite indexes to".
Prerequisites: Subqueries in WHERE and SELECT
Next step: Transaction with Isolation Levels
⏱ 0.75h
Execute "Transaction with Isolation Levels", change one constant, and describe how the output diverges from "Demonstrates explicit transaction control with SET TRANSACTION isolation levels, savepoints,".
Prerequisites: Index Creation StQuerygies
Next step: JSON Data Query and Manipulation
⏱ 0.75h
Run the sql snippet "JSON Data Query and Manipulation", capture stdout, and show which line demonstrates the documented behavior: "Queries and manipulates JSON/JSONB data using operators for extraction, filtering, and".
Prerequisites: Transaction with Isolation Levels
Next step: Database Migration Strategies That Won't Break Production
⏱ 0.75h
Compare "Zero-Downtime Index Creation and Data-Only Migrations" with "Run schema changes safely with expand-contract migrations, backward-compatible code, and" in "Database Migration Strategies That Won't Break Production" and state which trade-off you would accept in sql code.
Prerequisites: JSON Data Query and Manipulation
Next step: Prisma
⏱ 1h
- 11
Prisma
Stand up "Prisma" for a sql task, confirm "findMany prisma.model.findMany(opts?): Promise<T[]>" holds, and document one failure you triggered.
Prerequisites: Database Migration Strategies That Won't Break Production
Next step: SQL SELECT with WHERE
⏱ 1h
Solve "SQL SELECT with WHERE": turn All columns for employees with salary > 50000, ordered by salary descending. into 3 rows with highest salary first and pass the provided samples.
Prerequisites: Prisma
Next step: Capstone: SQL & Databases
⏱ 0.25h
Build "Build a Database Migration Runner" through its phases, keeping "Transactional apply" independently testable.
Prerequisites: SQL SELECT with WHERE
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h