Week 02: SQL – Intermediate Concepts

SLOs for Week 02

At the end of this unit, students will be able to…

  1. Join tables using INNER, LEFT, RIGHT, and FULL JOINs.
  2. Understand the concepts and perform self-joins and cross joins using CROSS JOIN.
  3. Perform complex data aggregation using GROUP BY and HAVING.
  4. Perform set operations using UNION, UNION ALL, EXCEPT and INTERSECT. 📔 Notebook 2.4
  5. Construct subqueries for complex queries using WHERE, IN, EXISTS.
  6. Using CTEs to make queries more readable using WITH.
  7. Importing data from a CSV file using .mode csv and .import.

Slides, videos, and application exercises

Week 02: Slides

Mark Simon. (2023). Getting Started with SQL and Databases : Managing and Manipulating Data with SQL. Apress. - Chapters 4, 5 and 6

Homework 02

Project 02