Business Analysis / Learning brief

The weekly users number that was too big

What this means in plain language

A generated query runs but counts joined task rows as users. Sam investigates the join, defines the metric and checks the revision. A fictional story about verifying what a query actually measures.

Understand the full idea, step by step

A query can execute successfully and still answer a different business question. Review needs the intended definition, actual engine/schema and relevant evidence, not only fluent explanations.

This fictional team investigates repeated counting. A few checks are useful bounded evidence, not a fixed proof procedure that always costs only minutes or certifies the whole dataset.

PLAIN WORDS · 1 in this section
certifies
formally confirms that something is true

Evidence & review

REVIEWED 2026-10-18

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.

Synthetic Payments Signal teaching about query semantics, metric definitions and bounded verification. References apply only within their stated actual reviewed scopes.

What this brief simplifies: People, app and outcomes are fictional. Local sender/review choices and database checks are educational examples, not universal controls, complete validation or observed product results. No actual live message or database operation is performed by this story.

Sources for this brief — 7 sources
  1. Implementation-specific

    SQLite: date/time functions ↗ — SQLite project · SQLite official Date And Time Functions, selected overview/return types, Time Values and modifier introduction read 7 November 2026; independent three-user/four-task and fixed-date experiment on SQLite 3.53.1. Not a whole manual or all-version compatibility claim.

    ISO text/julianday/date modifiers, numeric subtraction contrast. · Checked 2026-11-06

    Publisher documentation opened on6November2026. Engine/version scope is explicit; other database implementations may differ. Teaching queries are synthetic, not a required publisher template.

  2. Implementation-specific

    Value expressions and aggregate filters (PostgreSQL documentation) ↗ — PostgreSQL · PostgreSQL 18 SQL Expressions, complete section 4.2.7 Aggregate Expressions: COUNT(*), COUNT(expression), DISTINCT and null handling. Actual selected primary read; no PostgreSQL execution and no generic DISTINCT repair claim.

    §4.2.7–8 aggregate/window expressions; §4.2.14 evaluation limits. PostgreSQL18 implementation, not a universal SQL mandate. · Checked 2026-11-06

    PostgreSQL18 publisher documentation opened on6November2026: §4.2.7–8 aggregate/window expressions; §4.2.14 evaluation limits. No execution on PostgreSQL is claimed; engine-specific examples remain scoped to18.

  3. Implementation-specific

    PostgreSQL18: date/time functions ↗ — PostgreSQL Global Development Group · PostgreSQL 18 Date/Time Functions and Operators, introduction/typed-comparison semantics and Table 9.32, selected current_date entries. Date-minus-integer and date/timestamp/time-zone boundaries are scoped to this documentation; not all engines or a complete business-week definition.

    §9.9 typed date arithmetic and truncation/timezones. · Checked 2026-11-06

    Publisher documentation opened on6November2026. Engine/version scope is explicit; other database implementations may differ. Teaching queries are synthetic, not a required publisher template.

  4. Implementation-specific

    PostgreSQL18: SET TRANSACTION ↗ — PostgreSQL Global Development Group · PostgreSQL 18 SET TRANSACTION, complete substantive selected page: read-only access mode restricts command classes but is a high-level definition and does not prevent every disk write. Runtime authorisation, resource and disclosure controls remain separate.

    Read-only mode and isolation/snapshot characteristics. · Checked 2026-11-06

    Publisher documentation opened on6November2026. Engine/version scope is explicit; other database implementations may differ. Teaching queries are synthetic, not a required publisher template.

  5. Regulatory guidance

    NIST AI 600-1, Generative Artificial Intelligence Profile ↗ — National Institute of Standards and Technology · NIST AI 600-1 (July 2024), selected sections 2.2, 2.4 and 2.8: plausible unsupported output, privacy and information integrity. Supports independent evidence and bounded claims, not a measured general SQL error rate.

    Business Analysis Academy, AI for analysts: only the exact selected evidence scope stated in notes; not binding global product requirements or validation of fictional examples. · Checked 2026-11-07

    July 2024. Actual read scope: Cover/intro; complete sections 2.2, 2.4, 2.6, 2.7, 2.8; selected action snippets only, not full section 3. Limits: No whole-document review or figure reuse claimed. No figure copied or integrated.

  6. Market practice

    LLM06:2025 Excessive Agency ↗ — OWASP Foundation, GenAI Security Project · OWASP LLM06:2025 Excessive Agency, complete substantive entry: restrict functionality, permissions and autonomy; enforce approval/authorisation rather than rely on prompt wording. No claim SELECT or a copied dataset eliminates all risk.

    Business Analysis Academy, AI for analysts: only the exact selected evidence scope stated in notes; not binding global product requirements or validation of fictional examples. · Checked 2026-11-07

    2025 edition. Actual read scope: Complete substantive main body, lines 7–81; re-read 2026-11-07. Limits: Natural-language instructions do not replace runtime permissions; figures not reused. No figure copied or integrated.

  7. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal · Payments Signal synthetic brief the-weekly-users-number-that-was-too-big: fictional release/query story and course-authored checks, not an actual deployment, message dispatch or database execution.

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

    What this simplifies: People, app, tickets, timing, roughly-sevenfold result and three-user sample in the story are fictional. No real release, current product behaviour, live SQL result, full dataset proof or general error rate is certified. Separate lesson/project fixture results must not be imported as this brief’s measurements.

    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 HERESQL and data questions with AI: ask, then proveUse an AI tool to draft a database query from a plain question, then prove the answer: give it the table list, define your words, and check counts, a hand sample and a known total.Opens at L0 Explain simply · about 15 min

Related briefs

The title that was too long

Lily types a very long task title and the app does something odd. Sam draws a small activity diagram with one diamond and two guards, and the team agrees what should happen.

READ BRIEF

The streak that was too long

Daily List wants a badge for finishing a task every day. Tom finds that the streak query gives Lily a run that is too long, because one day was counted twice. A short story about running totals and streaks.

READ BRIEF