Learn with Abdou

Chapter 7 · Concept 6 of 6 · Practice

The checkout count changes a wage total

count repetitions before adding money · level 2 of 6

Opening your saved work…

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

The checkout count changes a wage total · count repetitions before adding money · level 2 of 6

Replacement value per branch

Level 2: Fill the blank · Exercise 1 of 1

The director wants the replacement value of the tools each branch owns. The value is stored once per tool. Fill in the table to join, so that nothing is repeated.

Finish line: 6 rows · columns branch, replacement_value · in the order the question gives

Data: Twin Ports Tool Library.

Fill the blankOpening the database…
SELECT b.name AS branch, ROUND(SUM(t.replacement_cost), 2) AS replacement_value FROM branches b JOIN t ON t.branch_id = b.id GROUP BY b.id, b.name ORDER BY b.id;
  1. Blank 1 of 1: the table where replacement_cost is stored once per tool
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.