Correct Running Total

Question:

The cats must be ordered by weight descending and will enter an elevator one by one. We would like to know what the running total weight is. If two cats have the same weight they must enter separately

Return: name, running total weight

Order by: weight desc

Show Table
Show Desired Output

Query Window:

Click me!

Show Hint
Show Answer

Your output: