Software Testing / Learning brief

Tom finds why the total was too big

What this means in plain language

Tom finds that a join to comments repeated tasks, and builds data that shows it.

Understand the full idea, step by step

Analogy: a shop receipt. If a customer name is printed once for each item bought, counting the lines counts items, not customers.

The number looks fine and answers the wrong question.

A join can do the same to tasks and comments. Tom, the tester at Daily List, a to-do list app, learns to check totals against a single table.

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.

Join fan-out and wrong totals. The people, app and 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 — 3 sources
  1. Market practice

    Table expressions and joined tables (PostgreSQL documentation) ↗ — PostgreSQL · PostgreSQL reference: a join returns one row for every pair of rows that meet the condition, so a row with several partners appears several times (search excerpt, page not opened)

    The PostgreSQL reference for joined tables: inner, left, right, full and cross joins, and how an ON condition differs from a WHERE condition in an outer join. Official project documentation. · Checked 2026-10-31

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. 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

    SELECT command reference (PostgreSQL documentation) ↗ — PostgreSQL · PostgreSQL select reference: the where clause filters rows before grouping and the having clause filters groups after grouping (search excerpt, page not opened)

    The PostgreSQL reference for the select command, including the where, group by and having clauses. Official project documentation. · Checked 2026-10-31

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. 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.

  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 HEREJoin fan-out: when a total on the screen is too bigA join can repeat a row once for each match, and a sum then counts it again. Learn to state the table grain, spot a wrong total, and test the cases that expose it.Opens at L0 Explain simply · about 16 min

Related briefs