Running Totals

Question:

The cats must by ordered by name and will enter an elevator one by one. We would like to know what the running total weight is.


Return: name, running total weight
Order by: name

Show Table Schema

Click me!

Desired output:

name running_total_weight
Alfie 5.5
Ashes 10.0
Charlie 14.8
Felix 19.8
Flip 23.3
Millie 28.7
Misty 34.4
Molly 38.6
Oscar 44.7
Puss 49.8
Smokey 55.9
Smudge 60.8
Tigger 64.6
view answer

Your output: