TransUnion interview question

SQL running totals , rank