Learn with Abdou

Chapter 10 · Concept 4 of 5 · Practice

The audit calls every row excluded

source = loaded + excluded, counted independently · level 2 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 2 of 6

Count the exclusions where they live

Level 2: Fill the blank · Exercise 1 of 1

Fill in the table to count the excluded rows from, so each of the three counts comes from its own table.

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

Data: Trail Gear: build rehearsal.

Fill the blankOpening the database…
SELECT (SELECT COUNT(*) FROM stg_items) AS source_rows, (SELECT COUNT(*) FROM items) AS loaded_rows, (SELECT COUNT(*) FROM WHERE decision = 'Excluded') AS excluded_rows;
  1. Blank 1 of 1: the table that holds one decision per source row
Open in the playground

Query results

Check to see the result here.

Check to see the result here.

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