Business Analysis / Learning brief
Nina finds users without tasks
In simple terms / 01
What this means in plain language
Sam and Nina find users with no tasks three ways and learn why NOT IN returned nothing.
Complete lesson / 02
Understand the full idea, step by step
Analogy: two guest lists. Two parties have guest lists. You can ask: who is on either list, who is on both, and who is on the first but not the second.
To ask whether a guest has any gift on the table, you check the table for each guest.
Set operators and EXISTS answer those questions. Sam, an analyst at Daily List, uses them to find gaps.
Evidence & review / 03
Evidence & review
The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.
A made-up Daily List database used to teach SQL (Structured Query Language) to analysts. The people, the app and the numbers are invented.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. Tools and screens change, and each team sets its own.
Sources for this brief — 4 sources
- Market practice
Combining Queries: UNION, INTERSECT, EXCEPT (PostgreSQL documentation) ↗ — PostgreSQL Global Development Group · PostgreSQL documentation: EXCEPT returns the rows of the first query that are not in the second, drops repeated rows unless ALL is used, and needs queries with matching columns (search excerpt, page not opened)
PostgreSQL18 publisher documentation opened on6November2026: §7.4 UNION/INTERSECT/EXCEPT and ALL. No execution on PostgreSQL is claimed; engine-specific examples remain scoped to18.
- Market practice
SELECT: compound select statements (SQLite documentation) ↗ — SQLite project · SQLite documentation: compound select statements combine the results of several queries with UNION, UNION ALL, INTERSECT and EXCEPT (search excerpt, page not opened)
SQLite rolling SELECT documentation opened6November2026; §§2–5 joins/grouping/bare columns/compound queries/order/limit. UNION ALL supported; INTERSECT ALL/EXCEPT ALL are not. Synthetic fixtures rechecked on3.53.1; historical3.40.1 observations retain their date/version.
- Market practice
Caution with EXCEPT (SQLServerCentral) ↗ — SQLServerCentral · SQLServerCentral article: a caution about how EXCEPT behaves, so check what it does with repeated rows and NULL (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.