Calculate the final balance of each account from the transaction log. The transaction_type column can contain Deposit or Withdrawal. Return account_id and final_balance. Sort the result by account_id.
Row order matters
Expected output columns:account_idfinal_balance
Showing the first 3 rows of the sample — the full sample comes with Premium