i have loanTable that contain two field loan_id and status
loanTable
loan_id
status
loan_id status ============== 1 0 2 9 1 6
But if last = last inserted, that's not possible for current schema, until a PK addition:
select top 1 status, loan_id from loanTable where loan_id = 1 order by id desc -- PK