xSKILLby Infirals
Register

SQL and Databases

SQL and Databases15 lessons4 hr 41 min

A beginner course on relational databases and SQL. It starts with tables and keys, then reads data with SELECT, filtering, sorting, limiting, DISTINCT, aliases and NULL semantics.

Modules

Lessons open in reading order. Each one is a public page.

Databases and SELECT

3 lessons

Learn what a relational table is, how keys keep rows identifiable, and how SELECT, WHERE, ORDER BY, LIMIT, DISTINCT and NULL behave in the practice database.

  1. Important topics: Databases and SELECT16 min
  2. How a SELECT query is processed18 min
  3. Practice questions: databases and SELECT20 min

Filtering and functions

3 lessons

Build precise filters with boolean logic and LIKE, clean and transform values with string, date and number functions, and use aliases without tripping over evaluation order.

  1. Important topics: Filtering and functions17 min
  2. How filtering and functions are evaluated18 min
  3. Practice questions: filtering and functions20 min

Aggregation and grouping

3 lessons

Summarize rows with COUNT, SUM, AVG, MIN and MAX, split them into buckets with GROUP BY, filter those buckets with HAVING, and handle NULLs and empty input correctly.

  1. Important topics: Aggregation and grouping17 min
  2. How grouping and aggregation run18 min
  3. Practice questions: aggregation and grouping20 min

Joins and relationships

3 lessons

Recombine normalized tables with INNER, LEFT, RIGHT, CROSS and self joins, walk many-to-many relationships through a junction table, and compare result sets with UNION, INTERSECT and EXCEPT.

  1. Important topics: Joins and relationships18 min
  2. How joins are executed19 min
  3. Practice questions: joins and relationships20 min

Subqueries, schema design and project

3 lessons

Read and write subqueries, CTEs, normalized schemas, indexes and transactions, then apply them in a capstone library database with its own schema and query set.

  1. Important topics: Subqueries and CTEs18 min
  2. Schema design, indexes and transactions20 min
  3. Practice questions: subqueries, schema design and the capstone project22 min
All notes

Sign in, then read a note for 45 seconds or press Mark as read. Reading progress appears on the notes home and your dashboard.