Learn with Abdou

Chapter 10 · Concept 4 of 5 · Practice

The audit calls every row excluded

source = loaded + excluded, counted independently · level 5 of 6

Opening your saved work…

Sign in to save across devices → · Download your guest work before switching accounts.

The audit calls every row excluded · source = loaded + excluded, counted independently · level 5 of 6

The audit calls every row excluded

Level 5: Repair it · Exercise 1 of 1

The reconciliation says 6 source rows, 3 loaded and 6 excluded, and nobody can find the three extra exclusions.

This query is meant to return source_rows, loaded_rows and excluded_rows in one row, each population counted on its own. It runs and calls every row excluded. Repair the excluded count, then say why working it out as source minus loaded would hide a row the load lost.

Finish line: 1 row · columns source_rows, loaded_rows, excluded_rows

Data: Trail Gear: build rehearsal.

Opening the database…
Table & column names only · ↑ ↓ choose · Tab insert · Esc dismiss

CURRENT DATABASE

Quick schema · Trail Gear: build rehearsal

Press Esc or click outside to return to your query. PK = primary key · FK = declared foreign key.

This database has no tables yet. Create a table, then reopen the schema to see its columns.

Control Space also opens names. Enter adds a new line. Control or Command Enter runs your query.
Open in the playground

Query results

Run your query to see the result here.

Run your query to see the result here.

Practice here is evidence for you and your instructor, never a grade. Grades live in Canvas.