Syllabus

  1. 01ManipulationMeet relational databases and the statements that build and change them: CREATE TABLE, INSERT, SELECT, ALTER TABLE, UPDATE, DELETE and constraints.10 lessons
    1. 01Tables, Rows and SQL
    2. 02Create a Table
    3. 03Insert Rows
    4. 04Select Columns
    5. 05Add a Column with ALTER TABLE
    6. 06Change Rows with UPDATE
    7. 07Remove Rows with DELETE
    8. 08Constraints
    9. 09Project: Build a Recipe Box
    10. 10Manipulation Quiz
  2. 02QueriesAsk precise questions of a single table: rename and compute columns, remove duplicates, filter with WHERE, LIKE, BETWEEN and IS NULL, combine conditions, sort, limit and label rows with CASE.11 lessons
    1. 01Rename Columns with AS
    2. 02Unique Values with DISTINCT
    3. 03Filter Rows with WHERE
    4. 04Match Patterns with LIKE
    5. 05Missing Values with IS NULL
    6. 06Ranges with BETWEEN
    7. 07Combine Conditions with AND and OR
    8. 08Sort and Limit Results
    9. 09Label Rows with CASE
    10. 10Project: Explore a Podcast Directory
    11. 11Queries Quiz
  3. 03Aggregate FunctionsTurn many rows into one answer: count, add up, find extremes and averages, round results, and summarize groups with GROUP BY and HAVING.10 lessons
    1. 01Count Rows with COUNT
    2. 02Add Up Values with SUM
    3. 03Find Extremes with MAX and MIN
    4. 04Averages with AVG
    5. 05Tidy Numbers with ROUND
    6. 06Summarize Groups with GROUP BY
    7. 07Group by Expressions and Column Numbers
    8. 08Filter Groups with HAVING
    9. 09Project: Summarize a Weather Station Log
    10. 10Aggregate Functions Quiz
  4. 04Multiple TablesCombine related tables: understand primary and foreign keys, match rows with JOIN and LEFT JOIN, pair everything with CROSS JOIN, stack results with UNION, and name intermediate results with WITH.10 lessons
    1. 01Why Data Lives in Several Tables
    2. 02Combine Tables with JOIN
    3. 03Inner Joins and Unmatched Rows
    4. 04Keep Every Row with LEFT JOIN
    5. 05Primary Keys and Foreign Keys
    6. 06Every Combination with CROSS JOIN
    7. 07Stack Results with UNION
    8. 08Name a Step with WITH
    9. 09Project: Community Theater Box Office
    10. 10Multiple Tables Quiz