In the query below, I am trying to get the BALANCE value from table loans for the same Uniq_ID and same year, but previous month, and
BALANCE
loans
Uniq_ID