Summary of "Week 3 Open Session"

Main ideas & lessons (Week 3 – Intermediate/Advanced SQL)

Course structure

SELECT clauses

DISTINCT

ALL

Cartesian product / Cross join

Aliasing / rename

Logical operators and membership

AND

OR

IN

String pattern matching (e.g., LIKE)

Ordering: ORDER BY

Set operations

Aggregate functions


Nested subqueries & quantifiers (advanced SQL methods)

What nested subqueries are

Subqueries in WHERE: set tests

Set membership: IN / NOT IN

Set cardinality comparisons: ANY / ALL

Existence tests: EXISTS / NOT EXISTS

Testing absence of duplicates: UNIQUE

Subqueries in FROM (derived tables)

WITH clause (CTE - temporary relation)


Practice instruction segments (questions where method/approach was emphasized)

Query construction practice (medium)

Players name starts with S but does not end with N

Users who ordered at least one product with quantity in

Query construction practice (difficult)

State and sum(amount) of products ordered per state where ratings > 4


Speakers / sources featured

Category ?

Educational


Share this summary


Is the summary off?

If you think the summary is inaccurate, you can reprocess it with the latest model.

Video