GoGuardian Interview Question

Simple SQL aggregation using group by and sum.