SQL Report for Budget Transaction Line

Hello all,
Am trying to run a query in SQL to show budget transactions line and the related account dimensions value. But in the table(Budgettransactionline) it only has the ledgerdimension codes alone not the account dimension numbers. Please how do I get the display value for the ledger dimension filed in the Budgettransactionline table.

Thank you