PrepayPower interview question

Some SQL Performance bottleneck questions