Software Testing / Learning brief

Tom checks tasks and lists with joins

What this means in plain language

Tom joins tasks to lists, finds two empty lists, and checks users for duplicate emails.

Understand the full idea, step by step

Analogy: two class lists. One list has students. Another has marks. To see each student with a mark, you match names. A student with no mark is missing from the match, unless you ask to keep all students.

Then you count how many marks each student has.

Evidence & review

REVIEWED 2026-10-31

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) checks. The people, the app and the data 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 — 3 sources
  1. Market practice

    PostgreSQL documentation: 7.2 Table Expressions ↗ — PostgreSQL Global Development Group · PostgreSQL documentation: the ON of an outer join is not equivalent to WHERE, because an outer join adds rows for unmatched inputs as well as removing rows (search excerpt, page not opened)

    ON of an outer join is not equivalent to WHERE because it adds rows for unmatched inputs as well as removing rows. · Checked 2026-10-18

    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.

  2. Market practice

    PostgreSQL documentation ↗ — The PostgreSQL Global Development Group · PostgreSQL documentation: the reference for SELECT, joins and GROUP BY (search excerpt, page not opened)

    A free, precise, section-numbered description of the SQL a payments practitioner actually writes. Join types and what happens to unmatched rows, GROUP BY and HAVING against WHERE, window functions and the de-duplication and running-total idioms built on them. Transaction isolation levels and the anomalies each permits, index use, and null three-valued logic.

    Used here for the data-and-SQL questions a Payment Operations Analyst, a Production Support Analyst and a Sanctions Screening Analyst are asked. · Checked 2026-08-18

    An implementation, not the standard — which is the point. ISO/IEC 9075-2 is paywalled, and this documents the same constructs in text anybody can open. Its isolation-level chapter attributes to the standard explicitly, so it can carry a standard-level claim as long as the citation says which document it is quoting.

    Cited as market practice rather than an official standard by kind: an engine's manual is authoritative about that engine and is not the obligation. Where a question turns on behaviour PostgreSQL chose rather than behaviour SQL requires, the answer has to say so.

    One correction carried here because it circulates widely: the sentence "The fundamental difference between WHERE and HAVING…", quoted all over the internet as PostgreSQL documentation, is not in the current documentation. It was searched for in the source tree and is not there.

    Read through a mirror, because the publisher's own domain could not be fetched (a reachability gap, not a statement about the publisher). A 403 there is a policy refusal and says nothing about whether the document exists or is reachable elsewhere.

    Anyone on an unrestricted network should open the canonical URL above and confirm the section and page numbers cited against it. Every claim drawn from this entry is written so that it can be checked against a numbered page.

    Read from the postgres/postgres documentation source tree (doc/src/sgml), which the project itself maintains and which carries the section ids the published URLs are derived from — so a cited section id can be checked against the rendered page.

  3. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    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.

Learn this properly

START HEREJoins and grouping: check data across tablesData often sits in several tables. A join puts rows side by side and GROUP BY counts them. Learn the checks that catch missing and doubled rows.Opens at L0 Explain simply · about 15 min

Related briefs

Tom checks which security rules apply

Tom separates regulatory and contractual obligations, reads requirement conventions and checks new security notices against actual assets. The hall and contract are invented; the source distinctions come from the named syllabus and RFCs.

READ BRIEF