Learn with Abdou

Chapter 10 · Concept 4 of 5 · Practice

The audit calls every row excluded

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

Prove more than a count

Level 4: Write it yourself · Exercise 2 of 2

orders_import is a copy of orders with the expected 204 rows, but one order arrived twice and another never arrived. Set the baseline beside the copy: two rows, orders first and then orders_import, with the columns table_name, order_rows, distinct_ids and total_amount, the sum of total_amount rounded to cents.

Finish line: 2 rows · columns table_name, order_rows, distinct_ids, total_amount · in the order the question gives

Data: Northshore Coffee.

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

CURRENT DATABASE

Quick schema · Northshore Coffee

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.