Hello.
Today I tried to compose a query for firm internally to be used application. The query is as:
=======================================================================================================
SELECT w.acc_date, w.deposit_base, w.cash_amount
, (w.deposit_base - (w.cash_amount / 2))...