I need your expertise on my problem
SELECT
(begBal) AS 'Beg. Balance',
(deposit) AS 'Deposit',
(withdrawal) AS 'Withdrawn',
(begBal+deposit-withdrawal) AS Balance
FROM savingsTable;
result:
| Beg. Balance | Deposit | Withdrawal | Balance |
| 2000 | 1500 | 1100 | 2400 |
our teacher wants the result like this :
| Beg. Balance | Deposit | Withdrawal | Balance |
| 2,000.00 | 1,500.00 | 1,100.00 | 2,400.00 |
please include a little explanation on your answer. thank you very much in advance.