Skip to syllabus

Relational Data & SQL — Applied edition — syllabus

Brule School / TAIAIO · Independent, non-credit learning. Printable using your browser’s Print command. No account needed.

Overview

Independent self-paced course · 8 lessons. Applied self-study edition · Human review pending

Eight connected applied SQL units with original teaching, local practice, explained keys and a reproducible project; the full planned 108h semester remains unfinished. Classroom/audio covers core teaching; complete keys and model outputs are separate references.

This is the eight-unit applied self-study edition of Relational Data & SQL. Its 44-hour workload is an unpiloted estimate including reading, practice, project, review, revision and later-day transfer. Unit 5 is counted once. The retained 12-week/108-hour intermediate semester remains unfinished. Independent assistant content/technical checks do not replace human subject review, learner piloting or independent assessment; those remain pending. Self-review and saved review marks are not grades, credentials or evidence of independently demonstrated competence. SQL is not executed in the browser. Use the linked local setup or label execution pending. Classroom/audio delivery: original core explanations, worked examples and practice prompts are included. Complete explained answer keys, saved model queries and frozen result tables are reference-only in this classroom/audio projection, not automatically recited. They remain complete in the lesson player answer disclosures, complete course text and labelled solutions/resources. For this course, Whole lesson audio means this classroom sequence, including worked examples; it is not narration of the complete reference library.

Open lesson player · Read complete course text

Prerequisites & materials

The actual Business profile requires: • spreadsheet-foundations.O1–O3: inspectable tidy workbooks, references/lookups/aggregation/validation with control totals, and stress-tested scenario models with an audit log. • data-ethics-stewardship.O1–O2: purpose/necessity/identifiability reasoning and task-based access, retention, provenance and sharing controls. • introductory-statistics.O1: population/sample/unit/variables/missingness definitions and accurate descriptive comparisons. Those expanded programme competencies are not automatically established by completing shorter existing introductory lessons. Keep evidence or use the diagnostic below; no prerequisite course is reauthored here. Python is a local runner implementation, not a learner prerequisite or duplicate Python course. Statistical reasoning is applied, not retaught as a replacement course. Fee cents are units/control data, not a competing accounting unit.

Use the supplied lesson text, worked answers and self-check criteria. Optional practice notes may be kept on paper or in your own local file. Additional task-specific materials are stated in the lesson tasks below; no additional requirements are inferred here.

Learning outcomes

Lesson sequence & workload

The lesson records total 2640 estimated minutes. This is a planning estimate, not measured learning time or academic credit. Do not add it to a separate project/workload estimate without checking the scope note. This is the eight-unit applied self-study edition of Relational Data & SQL. Its 44-hour workload is an unpiloted estimate including reading, practice, project, review, revision and later-day transfer. Unit 5 is counted once. The retained 12-week/108-hour intermediate semester remains unfinished. Independent assistant content/technical checks do not replace human subject review, learner piloting or independent assessment; those remain pending. Self-review and saved review marks are not grades, credentials or evidence of independently demonstrated competence. SQL is not executed in the browser. Use the linked local setup or label execution pending. Classroom/audio delivery: original core explanations, worked examples and practice prompts are included. Complete explained answer keys, saved model queries and frozen result tables are reference-only in this classroom/audio projection, not automatically recited. They remain complete in the lesson player answer disclosures, complete course text and labelled solutions/resources. For this course, Whole lesson audio means this classroom sequence, including worked examples; it is not narration of the complete reference library.

  1. Unit 1 — Ask a question a table can answer — 300 estimated minutes

    define the grain, population and keys of a small relational analysis; justify a two-table model without repeating session facts.

  2. Unit 2 — Select deliberately, filter precisely, sort completely — 240 estimated minutes

    write selection and calculation queries with explicit boundaries, useful column names and deterministic ordering.

  3. Unit 3 — Unknown is not zero; suspicious is not disproved — 300 estimated minutes

    distinguish missing, zero and invalid values; expose duplicate identities and raw-record problems without silently repairing the source.

  4. Unit 4 — Aggregate at the grain of the question — 300 estimated minutes

    construct grouped summaries, reconcile them to source controls and choose defensible denominators, including empty populations.

  5. Unit 5 — Preserve the entity when tables meet — 240 estimated minutes

    predict join fan-out, preserve a measured population and reconcile results on unfamiliar and changed data.

  6. Unit 6 — Build an analysis in inspectable stages — 360 estimated minutes

    use CASE, subqueries and common-table expressions to express rules while preserving grain and missingness.

  7. Unit 7 — Report what is established, bounded and unknown — 300 estimated minutes

    communicate an analysis with explicit denominators, missingness bounds, limitations and a proportionate next step.

  8. Unit 8 — Deliver an analysis someone can rerun and challenge — 600 estimated minutes

    assemble source contracts, saved queries, controls, interpretation and changed-data tests into a reproducible local handoff.

Assessment & feedback

Open-response practice is provided in 8 lessons. Keep your attempt before comparing the explained answer and rubric. There is no automatic grading, instructor submission or institution-awarded grade.

No course-wide numerical pass score, assessment weighting or institution-awarded grade is specified. Complete the practical tasks and revisions below; reading the key does not establish competence.

Practice, project & rubric

These are the actual required practice tasks and self-check criteria, in lesson order. A separate final project is claimed only where the lesson itself specifies one. Full model answers remain in the linked course text.

1. Unit 1 — Ask a question a table can answer

Practice and checkpoint Complete G1 then I1 in WORKBOOK.md before opening the key. G1 uses the worked base fixture; I1 uses different October sessions. Draw the relationship or write its text equivalent. Explain which repetitions are expected and which need investigation. Checkpoint C1 asks you to reject the claim “ten registrations means ten people attended.” Do not proceed merely because your row count matches. You should be able to explain why a session with no registrations still exists and why capacity cannot be summed across repeated booking rows. If those explanations are unclear, annotate the two tables by hand and retry the checkpoint. Your final project begins now: save a question-and-grain.md note with the question, population, table grains, keys and three claims the data cannot support. Applied SQL workbook — attempt first, then inspect the key Keep this workbook locally in text or on paper. A drawing may always be replaced by a structured text list. No login, upload, timed exam, external assessor or certificate is required or implied. For each task retain prediction → SQL/reasoning → observed result → discrepancy → correction. Paper tracing is valid reasoning evidence but is not executed SQL. Use base for G tasks, independent for I tasks and changed only for delayed transfer. Model query names are provided as references, not commands to copy before attempting. Complete the linked Unit 5 workbook in its original package. Unit 1: grain and keys G1. Write a bounded question for the coordinator. Define one row in each trusted table, identify primary/foreign keys and state whether booking_ref is a key. Calculate base booking rows, distinct booking references and booked seats by hand; then write a query returning the three. Explain why none is necessarily unique people attended. Sketch the relationship and identify the dependency that allows capacity to be stored once. I1. Without referring to the base numbers, calculate the same three controls for independent. A proposed flat export repeats session 203's capacity next to two bookings. Explain the update anomaly if only one copy changes. Name a plausible sample-unique field or combination that is not guaranteed to be a candidate key by this contract. C1. Correct this sentence: “Ten rows means ten people attended, and three repeated session IDs are three duplicate sessions.” Your correction must define the entity being counted.

Rubric / self-check criteria

  • Bounded question, both grains and keys, valid dependency explanation, controls and unsupported-reach caveat
  • Rows equated with people; repeated session facts treated as new entities
  • 3 — demonstrated in this attempt: correct result and defensible reasoning, with requested evidence and transfer test.
  • 2 — partly demonstrated: central method works but a definition, control, edge case or reproduction detail is missing; revise.
  • 1 — not yet demonstrated: an important grain, missingness, denominator or execution error remains, even if one answer happens to match.
  • 0 — no assessable evidence: task absent or only a copied answer with no reasoning/attempt trail.

Worked answer and full lesson

2. Unit 2 — Select deliberately, filter precisely, sort completely

Practice and checkpoint Complete G2: predict the four large-booking IDs and the three date-window IDs, then run the model queries only after writing your own. Complete I2 on the independent fixture: show open sessions, two-seat bookings and fee amounts, sorted by fee descending and ID. Test an exactly two-seat row, a row outside the date window and two equal fees. Checkpoint C2 requires a two-sentence explanation of why ORDER BY fee_cents DESC,reg_id is more reproducible than sorting by fee alone, and why integer division can lose cents. Save a selection.sql query and a short boundary-test note for your cumulative project. If a query produces zero rows, inspect the inclusion rule before assuming the database is broken. Unit 2: selection and order G2. Produce (a) open sessions with date, capacity and stable order; (b) bookings of at least two seats sorted by seats descending then ID; (c) sessions in September 1–10 inclusive using a half-open window; (d) booking fee cents and displayed CAD sorted descending by fee then ID. Predict IDs before execution. Explain >= versus > at two seats and 250/100 versus 250/100.0. I2. On independent, show open sessions and all two-seat bookings. Display each fee in CAD. Supply a boundary test for the start/end of an October 2–9 inclusive window. Explain what changes if you omit the ID tie-breaker. Write a hypothetical cancelled North row that exposes an unparenthesized OR/AND filter error. C2. In two sentences, explain deterministic order and integer truncation. Run SELECT 250/100 AS integer_result,250/100.0 AS real_result; from your own saved file if executing locally.

Rubric / self-check criteria

  • Correct inclusions at boundaries, unique tie-breaker, explicit columns and cents conversion
  • Wrong date/threshold boundary; unstable output; truncated money display
  • 3 — demonstrated in this attempt: correct result and defensible reasoning, with requested evidence and transfer test.
  • 2 — partly demonstrated: central method works but a definition, control, edge case or reproduction detail is missing; revise.
  • 1 — not yet demonstrated: an important grain, missingness, denominator or execution error remains, even if one answer happens to match.
  • 0 — no assessable evidence: task absent or only a copied answer with no reasoning/attempt trail.

Worked answer and full lesson

3. Unit 3 — Unknown is not zero; suspicious is not disproved

Practice and checkpoint Complete G3 before I3. Preserve the initial missingness interpretation, run the relevant queries, then explain corrections. The independent raw intake uses different IDs but the same kinds of fault; count each class separately rather than add overlapping error counts into a supposedly unique total. Checkpoint C3 asks whether replacing every NULL with zero makes the dataset more complete. A satisfactory answer distinguishes a changed representation from new evidence, and names a measure that would become misleading. Add a quality-log.md to the cumulative project. Keep raw rows separate from admitted rows throughout the course. Unit 3: missingness and raw quality G3. List the missing-attendance booking IDs and their total seats. Calculate record coverage and seat coverage separately. Explain zero, NULL and no booking row using actual base IDs. Inspect intake; write three checks for duplicate claimed IDs, missing/invalid counts and absent parent sessions (the last can initially be reasoned by comparison until Unit 6). Write six quality-log entries, one per raw row, without silently adding any to trusted totals. I3. Repeat the three check types on independent intake. Which result classes could overlap on a future row? Why is their count sum not generally a unique bad-row count? State a cautious handling rule for an identical retransmission and for conflicting records with the same identity. C3. Evaluate “COALESCE(attended,0) completes the attendance data.” Give a case where it changes the meaning of a rate. Preserve raw evidence and identify an owner role for clarification; do not send an actual message.

Rubric / self-check criteria

  • Zero/NULL/no-row separated; duplicate, invalid and orphan checks; raw evidence preserved
  • Unknown asserted zero; fabricated parent; silent source deletion
  • 3 — demonstrated in this attempt: correct result and defensible reasoning, with requested evidence and transfer test.
  • 2 — partly demonstrated: central method works but a definition, control, edge case or reproduction detail is missing; revise.
  • 1 — not yet demonstrated: an important grain, missingness, denominator or execution error remains, even if one answer happens to match.
  • 0 — no assessable evidence: task absent or only a copied answer with no reasoning/attempt trail.

Worked answer and full lesson

4. Unit 4 — Aggregate at the grain of the question

Practice and checkpoint Complete G4 and I4. Independently sum group outputs to source totals before viewing the key. For the October fixture, known booked seats are a different denominator from all booked seats; do not inherit September's fraction by memory. Checkpoint C4: explain why the average of session attendance percentages can differ from the percentage obtained by pooling counts. Then show what your query returns for an empty fixture. Save group-summary.sql, its results and a denominators.md note. These are the prerequisites for the retained JOIN unit; if you cannot explain row counts versus entity counts, return to Units 1 and 3 before proceeding. Unit 4: grouping and denominators G4. Produce one row per represented session with booking count, booked seats, nonmissing attendance count and recorded attended seats. Reconcile every numeric column to source controls. Produce known-only attendance rates with numerator and denominator. Compare pooled rate with an unweighted average of session rates. Find sessions with at least four booked seats using HAVING. Predict a scalar aggregate and a grouped result for no qualifying bookings. I4. Repeat the group summary and known-only rates on independent. State all-booking mean size, all-listed-session mean booked seats and open-session mean booked seats. Explain why those are different measures. Show that the denominator for the known-attendance rate is six seats, not seven and not four sessions. C4. Explain why an unweighted average of group rates can be wrong for a pooled rate. Run the empty fixture and describe count, sum and mean without inventing a 0% result.

Rubric / self-check criteria

  • Grouped/source reconciliation, correct pooled fraction and empty behavior
  • Wrong denominator; unweighted rate presented as pooled; fake empty 0%
  • 3 — demonstrated in this attempt: correct result and defensible reasoning, with requested evidence and transfer test.
  • 2 — partly demonstrated: central method works but a definition, control, edge case or reproduction detail is missing; revise.
  • 1 — not yet demonstrated: an important grain, missingness, denominator or execution error remains, even if one answer happens to match.
  • 0 — no assessable evidence: task absent or only a copied answer with no reasoning/attempt trail.

Worked answer and full lesson

5. Unit 5 — Preserve the entity when tables meet

Exit bridge: apply the mechanism, not the numbers The original base INNER JOIN repeats order 101's amount because two items match. In the workshop base, joining sessions to bookings repeats session 101's capacity three times. Capacity remains six, not eighteen. A LEFT JOIN also retains sessions with no bookings; that does not remove repeated capacity for sessions that do have bookings. Before Unit 6, write answers to these transfer questions: • What is the result grain of a raw session–registration join? • Why does COUNT of the child key differ from COUNT(*) for an unmatched session? • Would SUM(DISTINCT capacity) repair the capacity sum when two different sessions both have capacity four? • How can preaggregating bookings to one row per session make a join safe for session-level reporting? JOIN reconciliation workbook Your name or initials (optional): __________ Date: __________ Keep answers locally. Use fictional records only. You may use text lists instead of drawing. Save your initial prediction before execution and explain every revision. The answer pack is separate: SOLUTIONS.md. A. Readiness check (before starting) Explain in your own words: a table row; a primary key; a GROUP BY result; SUM versus COUNT; why 0 and NULL differ. Write a SELECT that reads order IDs and amounts without joining. If you cannot yet do these, return to earlier SQL teaching rather than guessing through this unit. No earlier SQL unit is included here. B. Guided base case Use only base. The complete records are in UNIT.md and data/base.sql. G1. Grain and keys. Write one sentence defining a row in each table. Identify primary and foreign keys. Explain whether customer_id uniquely identifies an order. Initial answer: __________ Correction and reason: __________ G2. Predict expansion. Without running SQL, list every INNER JOIN result as (order_id,item_id). Then list every LEFT JOIN result. Predict each row count and identify any parent repeated or excluded. Run inner_rows/left_rows only afterwards. Prediction: __________ Observed: __________ Why: __________ G3. Diagnose totals. Write an all-order sum query and compare it with raw inner/left joined sums. Reconcile differences by naming exactly which order values were repeated and omitted. Why would matching one expected total not, by itself, prove the method? Queries and reconciliation: __________ G4. Three counts. Predict COUNT(*), COUNT(i.item_id) and COUNT(DISTINCT o.order_id) for each join. Explain why the results answer different questions. Then produce one row per order with its number of recorded items, including orders with none. Predictions, SQL and meanings: __________ G5. Match the question. Write one query for all recorded order value and two equivalent queries for the value of orders with at least one recorded item. At least one should use EXISTS. Explain why two matches do not give two outer contributions. SQL and explanation: __________ G6. Denominators. Compute the all-order mean and the item-bearing mean. State numerator, denominator, unit and rounding. Diagnose the raw INNER JOIN mean. Answer: __________ C. Counterexample and data-quality extensions E1. Equal values. Reset by selecting equal (not base). This is base plus order (105,D,100) and item (5,105). Compare the correct all-order value, correct item-bearing value, raw inner/left sums and SUM(DISTINCT amount_cad). Explain why equal numbers do not mean the same entity. Does adding a correct COUNT(DISTINCT order_id) alongside a wrong SUM repair the SUM? Initial prediction: __________ Observed: __________ Explanation: __________ E2. Orphan input. Reset to staging. Inspect the raw staging row (9,999). Write a query identifying staging items with no parent order. Contrast this with an order having no items. Recommend a cautious handling step without inventing a reason or silently discarding evidence. SQL, interpretation and action: __________ D. Independent case: a different community stall Use only independent. Do not modify or combine it with the base fixture. D. Independent case: a different community stall — table 1 order_id | customer_id | amount_cad 201 | D | 50 202 | E | 50 203 | D | 25 204 | F | 0 205 | G | 75 D. Independent case: a different community stall — table 2 item_id | order_id 11 | 201 12 | 201 13 | 202 14 | 204 15 | 204 16 | 204 I1. Counts before execution. Predict the inner/left output rows, distinct matched orders, matched item rows and all-order count. Identify every order without a recorded item. Prediction: __________ Observed: __________ Correction: __________ I2. Values and means. Write correct queries for all-order value, item-bearing value and both means. Compare both raw joined sums and SUM(DISTINCT amount_cad). Explain the role of the zero-valued order and the two equal-valued orders. Retain unrounded means in your working. SQL/result/reason: __________ I3. Empty populations. Predict what each of SUM, COUNT and AVG should show if there are no matching orders. Explain why a reporting choice to display total zero is not a reason to report mean zero. This is a reasoning task; the supplied automated suite checks empty/no-item cases without requiring you to modify data. Answer: __________ E. Mini-project: a reconciliation note A fictional coordinator wants: (a) all recorded order value; (b) value and mean for orders with recorded items; (c) IDs needing item-record follow-up. They have proposed summing order amounts after a LEFT JOIN. Use the independent fixture. Create a concise one-page note plus your .sql files and results. Include: • The exact population for each requested measure, table grain and relationship. • Their faulty query/result and corrected queries/results. • An entity-level reconciliation, including zero/equal amounts and missing child rows. • Numerator/denominator/rounding for each mean. • A changed-data test that would expose a plausible but wrong repair. • At least three limits of the records and a cautious follow-up request. • Fixture name, runtime version if executed, reproduction command and correction log. Do not claim recognized revenue, profits, payment, fulfillment or reasons for missing items. Equivalent SQL is acceptable if it preserves the required population. A short accurate note is better than filling a word quota. E. Mini-project: a reconciliation note — table 3 Criterion | Weight | Evidence needed Grain and relationship | 25 | Correct entities/keys; expansion and missing-match explanation Queries and outputs | 30 | Correct populations, totals, means; executable/reproducible answer Reconciliation and limits | 25 | Specific wrong-result explanation, counterexample, justified limits Reproducibility and communication | 20 | Fixture/version/queries/results, clear note, visible revisions Self-check bands: complete = correct result plus valid reasoning and evidence; partial = some correct outputs but missing population or reproducibility; not yet = fan-out/denominator error remains. Syntax alone cannot earn full correctness. No external marking service is implied. F. Delayed transfer (later day, first attempt without solutions) Use delayed. Orders: (301,H,30), (302,I,90), (303,J,30). Items: (21,301), (22,302), (23,302). D1. Predict counts and faulty inner/left sums; produce correct totals and means. Explain why a DISTINCT-amount shortcut may look successful for one requested measure but fail for another. Identify the missing-child order without inventing a cause. D2. Write a five-sentence verification checklist for a future dataset with a different number of items per order. Mark which checks concern SQL execution and which concern interpretation. Compare your first attempt against the key, then explain one durable rule you will use again. Date / initial answer / later correction: __________ Unit 5: retained JOIN lab Read units/05-join-bridge.md, then complete all G/E/I/project/D tasks in ../sql-join-unit/WORKBOOK.md. Keep its fixture names separate from this package. Bring back a short note explaining how repeated order value corresponds to repeated session capacity. Do not retype or revise the existing unit or overwrite its evidence.

Rubric / self-check criteria

  • Retained unit independent project, key-level fan-out explanation, equal-value and empty counterexamples
  • SUM DISTINCT values used as general entity repair; unmatched records ignored
  • 3 — demonstrated in this attempt: correct result and defensible reasoning, with requested evidence and transfer test.
  • 2 — partly demonstrated: central method works but a definition, control, edge case or reproduction detail is missing; revise.
  • 1 — not yet demonstrated: an important grain, missingness, denominator or execution error remains, even if one answer happens to match.
  • 0 — no assessable evidence: task absent or only a copied answer with no reasoning/attempt trail.

Worked answer and full lesson

6. Unit 6 — Build an analysis in inspectable stages

Practice and checkpoint Complete G6 and I6. The independent mean is also 1.4; do not regard that repeated number as a reason to hard-code it. The changed fixture's mean is 4/3, and a future fixture may differ again. C6 asks for stage-by-stage grain and an equal-value counterexample. Add session-report.sql and a stage-check note to your cumulative project. Include the orphan query in the quality log. Proceed when you can explain why the final result has exactly one row per supplied session and why that property is stronger evidence than a plausible grand total alone. Unit 6: CASE, subqueries and CTEs G6. Classify each base booking as unknown, none recorded, partial or all recorded. Explain CASE branch order. Use a scalar subquery to select bookings above the mean size, not a hard-coded threshold. Build a CTE at session grain, then LEFT JOIN to all sessions, showing booking/known/unknown seat counts and recorded attendance. Identify intake orphan rows with NOT EXISTS. Explain why raw joining cannot safely sum session capacity. I6. Repeat classification, above-mean selection and the all-session CTE for independent. Count result rows and reconcile booked seats. Explain how the cancellation row differs from an open session with zero bookings. Describe a query using NOT IN that would be unreliable if its subquery could return NULL; show the safe NOT EXISTS formulation. C6. State the grain and expected maximum number of rows at each CTE/join stage. Would introducing DISTINCT on fee amounts fix a fan-out? Give a changed-value counterexample.

Rubric / self-check criteria

  • Correct branch meanings; generic comparison; stage grains and unique keys; all parents retained
  • Raw fan-out hidden by DISTINCT; CASE mislabels invalid source; NOT IN NULL trap ignored
  • 3 — demonstrated in this attempt: correct result and defensible reasoning, with requested evidence and transfer test.
  • 2 — partly demonstrated: central method works but a definition, control, edge case or reproduction detail is missing; revise.
  • 1 — not yet demonstrated: an important grain, missingness, denominator or execution error remains, even if one answer happens to match.
  • 0 — no assessable evidence: task absent or only a copied answer with no reasoning/attempt trail.

Worked answer and full lesson

7. Unit 7 — Report what is established, bounded and unknown

Practice and checkpoint Complete G7 and I7, writing the note before viewing the model. Each note must name the population, at least one numerator/denominator, the unknown component, one unsupported claim and an appropriate next step. C7 distinguishes all-unknown from empty data. Save uncertainty-note.md and the exact SQL that generated its figures. During revision, highlight any sentence that sounds causal or predictive and ask whether the records support it. You are ready for the project when a reader can understand both what your numbers establish and why they should not be used for a broader claim. Unit 7: communicating uncertainty G7. Compute base known-only attendance, lower/upper all-booked-seat bounds, and booked/open-capacity ratio. Write numerator and denominator for each. Explain why the bounds are not a confidence interval and why booked capacity is not attendance. Write a five-sentence coordinator note with a decision, evidence, caveat, follow-up and a stopping condition for the recommendation. I7. On independent, calculate the same three measures and critique “Attendance is 66.67%, so next month will be the same.” Include missingness, noncausality and scope. Identify a permissible operational follow-up that does not infer causes or send private data. C7. A new fixture contains one two-seat booking with unknown attendance and no known values. State known-only rate and all-booked lower/upper bounds. Then state what changes when there are no bookings at all.

Rubric / self-check criteria

  • Correctly named ratios/bounds, assumptions, limits and proportionate next step
  • Causal/predictive certainty; logical bounds called confidence interval
  • 3 — demonstrated in this attempt: correct result and defensible reasoning, with requested evidence and transfer test.
  • 2 — partly demonstrated: central method works but a definition, control, edge case or reproduction detail is missing; revise.
  • 1 — not yet demonstrated: an important grain, missingness, denominator or execution error remains, even if one answer happens to match.
  • 0 — no assessable evidence: task absent or only a copied answer with no reasoning/attempt trail.

Worked answer and full lesson

8. Unit 8 — Deliver an analysis someone can rerun and challenge

5. Handoff and self-review Follow PROJECT.md for the independent deliverables and the rubric. A complete local attempt includes six artifacts: source/question note, SQL files, observed outputs, control/test log, decision note and reproduction instructions. An executable project requires actual runtime evidence; paper-only reasoning should be labelled as such and can be completed later on a suitable local device. Ask a reviewer of your own choosing to inspect the work only if you decide to share it; this course neither sends files nor secures external reviewers. Self-check against the explained key after retaining your first attempt. The purpose is diagnosis and revision, not awarding a credential. A numerical self-score cannot substitute for independent competence evidence. On a later day complete D8 without the model solutions. Keep the changed-data result and a revision memo. This is the end of the bounded applied sequence, not completion of the retained 108-hour semester profile. Scope reconciliation records what remains before that broader course could be claimed. Unit 8: cumulative project and delayed transfer G8. Follow the worked project architecture in Unit 8 using base, but produce your own saved queries and note before reading PROJECT-KEY.md. Keep question/grain, quality log, grouped summary, JOIN reconciliation and uncertainty note from earlier units. Add source controls and an exact reproduction command. I8. Independent project. Use independent only. Deliver the six artifacts in PROJECT.md. The coordinator asks: “Which session records need checking before next-round planning, how full are open sessions by bookings, and what does attendance currently establish?” Do not answer unique reach, profitability or causality. Include a deliberately wrong raw-join capacity sum, diagnose it at entity level, and repair it. Show exact fees only as a units/control exercise. Use the rubric, retain first attempt, then write a revision log after checking the key. D8. Delayed transfer (on a later day, first attempt without solutions). Use changed. Predict all source totals, all-session report, booking/capacity rate and attendance bounds before execution. Session 303 has no booking; 302 has only unknown attendance; two distinct bookings have equal fee amounts. Explain how each defeats a plausible shortcut. Then run the empty fixture. Produce a three-paragraph revision memo: what changed, which query logic should stay unchanged, what the data still cannot establish. C8. Reproduction challenge. Close your notes, open a fresh terminal in this package, and run a saved query against the named fixture. Verify runtime label and reconcile the result from the source rows. If you cannot execute on your device, label the work “reasoned, execution pending”; do not claim executable project completion. Reusable response sheet Task ID / fixture / question / initial prediction / source counts / SQL filename / runtime / output file or hand trace / comparison / limitation / correction / later-day reattempt date. Use as much space as reasoning requires. No name, email or other identifying information is needed. Independent cumulative project Fixture: independent. Audience: fictional workshop coordinator. Question: Which session records need checking before next-round planning, how full are open sessions by bookings, and what does the attendance evidence establish? Use only supplied synthetic data. Do not create accounts, upload records, contact people or connect to a real database. Write your own queries before opening the key. No personal identifiers are needed in your files. Deliver six local artifacts • 1. source-and-question.md: question/populations; source fixture and manifest/version; table grains/keys; admitted versus raw records; date and missingness conventions; unit choices; three unanswerable questions. Preserve the retained prerequisite boundary: this is SQL application, not new statistics, Python or accounting certification. • 2. queries/: saved SQL for source controls, selected records, grouped summaries, an all-session CTE report, raw intake checks, attendance bounds and open-capacity ratio. Include a deliberately wrong raw-join capacity sum in a clearly marked diagnostic file and explain its repair. Every multirow deliverable needs deterministic order. • 3. results/: actual local runner output with fixture and SQLite version. If your runtime differs, preserve the unvalidated-version label and compare carefully. A paper trace belongs in a separately labelled reasoning section, not in executed-results evidence. • 4. checks-and-corrections.md: hand/source controls; grouped reconciliation; foreign-key/orphan and duplicate-identity reasoning; no-match, unknown, zero, equal-value and empty-case tests; initial error and justified correction. State which checks you actually ran and which you reasoned through. Explain the cents/display rounding policy. • 5. coordinator-note.md: approximately 200–350 words is a helpful target, not a grading trick. Answer the decision question with correct nouns and denominators, missingness limits, one bounded next step and a stopping condition. Do not infer unique people, profitability, motivation or causal effects. • 6. REPRODUCE.md: exact fixture/query commands, required local runtime, expected key controls, source/analysis filenames and a minimal simulated access/retention plan. Distinguish reading versus execution and self-review versus external marking. Anyone reproducing should start with a fresh in-memory database, not your prior session state. Required tests and transfer • Explain why two valid equal-fee bookings must remain two entities. • Show why session capacity cannot be summed on raw joined booking rows. • Distinguish zero attendance, unknown attendance and no booking row. • Keep a zero denominator unavailable; don't show a fake 0% attendance result. • Predict changed-data totals before rerunning your generic queries on changed. • Return on a later day for D8 without the answer key, then preserve your revision. Access/retention simulation For this synthetic package, a learner may read the whole fixture locally. For the fictional real-world analogy, propose a role that admits source corrections and a role that reads only aggregated planning output; explain why unnecessary booking references should not be in the coordinator note. State when raw evidence would be reviewed for retention under an agreed policy and who owns that decision. Do not invent a legal retention period or claim SQLite here enforces role-based access. No actual permission or deletion change is part of this task. Review sequence First use the outcome map to check coverage; then use RUBRIC.md; finally compare to answers/PROJECT-KEY.md and record changes. A complete self-study submission is a package with visible reasoning and actual local evidence where execution is claimed. It is not a secured independently assessed offering, semester completion or a qualification.

Rubric / self-check criteria

  • Six artifacts, real execution evidence when claimed, controls, correction trail and delayed transfer
  • No reproducible source/query; fabricated runtime evidence; private data or unsupported completion claim
  • 3 — demonstrated in this attempt: correct result and defensible reasoning, with requested evidence and transfer test.
  • 2 — partly demonstrated: central method works but a definition, control, edge case or reproduction detail is missing; revise.
  • 1 — not yet demonstrated: an important grain, missingness, denominator or execution error remains, even if one answer happens to match.
  • 0 — no assessable evidence: task absent or only a copied answer with no reasoning/attempt trail.

Worked answer and full lesson

Completion & limitations

For a meaningful self-study completion, work through the lessons, attempt the tasks before inspecting answers, compare with the stated criteria, and revise missing parts. Complete any delayed practice or performance tasks over their stated period. If a practical task cannot be performed, record it as pending rather than mastered.

“Mark lesson reviewed” records personal review only. Show all reveals text; neither awards a grade nor demonstrates competence. There is no verified instructor assessment, accredited credit, degree or professional qualification. These learning materials do not establish equivalence to a university course. Source organisations do not endorse the school.

Version & sources

Content fingerprint: 049ff2fabfcd. This identifies the source content used to generate this syllabus; it is not an independent review date. Source-check dates below are retained from the course, not silently updated.