TYPE=VIEW
query=select (sum(`co-operativebank-milani`.`voucher`.`cr`) - sum(`co-operativebank-milani`.`voucher`.`dr`)) AS `amt`,`co-operativebank-milani`.`voucher`.`Acc_no` AS `ledger` from `co-operativebank-milani`.`voucher` where (`co-operativebank-milani`.`voucher`.`status` = \'1\') group by `co-operativebank-milani`.`voucher`.`Acc_no` union all select (sum(`co-operativebank-milani`.`voucher`.`cr`) - sum(`co-operativebank-milani`.`voucher`.`dr`)) AS `amt`,`co-operativebank-milani`.`voucher`.`cash_acc` AS `cash_acc` from `co-operativebank-milani`.`voucher` where (`co-operativebank-milani`.`voucher`.`status` = \'1\') group by `co-operativebank-milani`.`voucher`.`cash_acc`
md5=4bdc570f3c8d670da6822301c6b81538
updatable=0
algorithm=0
definer_user=root
definer_host=localhost
suid=1
with_check_option=0
timestamp=2021-10-21 04:23:49
create-version=1
source=select ( sum(  `co-operativebank-milani`.`voucher`.`cr`  )  - sum(  `co-operativebank-milani`.`voucher`.`dr`  )  ) AS  `amt` ,\n `co-operativebank-milani`.`voucher`.`Acc_no`  AS  `ledger`  from  `co-operativebank-milani`.`voucher`  where (  `co-operativebank-milani`.`voucher`.`status`  =  \'1\' ) group  by  `co-operativebank-milani`.`voucher`.`Acc_no`  union  all  select ( sum(  `co-operativebank-milani`.`voucher`.`cr`  )  - sum(  `co-operativebank-milani`.`voucher`.`dr`  )  ) AS  `amt` ,\n `co-operativebank-milani`.`voucher`.`cash_acc`  AS  `cash_acc`  from  `co-operativebank-milani`.`voucher`  where (  `co-operativebank-milani`.`voucher`.`status`  =  \'1\' ) group  by  `co-operativebank-milani`.`voucher`.`cash_acc`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select (sum(`co-operativebank-milani`.`voucher`.`cr`) - sum(`co-operativebank-milani`.`voucher`.`dr`)) AS `amt`,`co-operativebank-milani`.`voucher`.`Acc_no` AS `ledger` from `co-operativebank-milani`.`voucher` where (`co-operativebank-milani`.`voucher`.`status` = \'1\') group by `co-operativebank-milani`.`voucher`.`Acc_no` union all select (sum(`co-operativebank-milani`.`voucher`.`cr`) - sum(`co-operativebank-milani`.`voucher`.`dr`)) AS `amt`,`co-operativebank-milani`.`voucher`.`cash_acc` AS `cash_acc` from `co-operativebank-milani`.`voucher` where (`co-operativebank-milani`.`voucher`.`status` = \'1\') group by `co-operativebank-milani`.`voucher`.`cash_acc`
