TYPE=VIEW
query=select (sum(`co-operativebank-bajbajia`.`voucher`.`cr`) - sum(`co-operativebank-bajbajia`.`voucher`.`dr`)) AS `amt`,`co-operativebank-bajbajia`.`voucher`.`Acc_no` AS `ledger` from `co-operativebank-bajbajia`.`voucher` where (`co-operativebank-bajbajia`.`voucher`.`status` = \'1\') group by `co-operativebank-bajbajia`.`voucher`.`Acc_no` union all select (sum(`co-operativebank-bajbajia`.`voucher`.`cr`) - sum(`co-operativebank-bajbajia`.`voucher`.`dr`)) AS `amt`,`co-operativebank-bajbajia`.`voucher`.`cash_acc` AS `cash_acc` from `co-operativebank-bajbajia`.`voucher` where (`co-operativebank-bajbajia`.`voucher`.`status` = \'1\') group by `co-operativebank-bajbajia`.`voucher`.`cash_acc`
md5=c924f97c72c97d55e22be7f7b06478ea
updatable=0
algorithm=0
definer_user=root
definer_host=localhost
suid=1
with_check_option=0
timestamp=2019-01-10 05:52:05
create-version=1
source=select (sum(`voucher`.`cr`) - sum(`voucher`.`dr`)) AS `amt`,`voucher`.`Acc_no` AS `ledger` from `voucher` where (`voucher`.`status` = \'1\') group by `voucher`.`Acc_no` union all select (sum(`voucher`.`cr`) - sum(`voucher`.`dr`)) AS `amt`,`voucher`.`cash_acc` AS `cash_acc` from `voucher` where (`voucher`.`status` = \'1\') group by `voucher`.`cash_acc`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select (sum(`co-operativebank-bajbajia`.`voucher`.`cr`) - sum(`co-operativebank-bajbajia`.`voucher`.`dr`)) AS `amt`,`co-operativebank-bajbajia`.`voucher`.`Acc_no` AS `ledger` from `co-operativebank-bajbajia`.`voucher` where (`co-operativebank-bajbajia`.`voucher`.`status` = \'1\') group by `co-operativebank-bajbajia`.`voucher`.`Acc_no` union all select (sum(`co-operativebank-bajbajia`.`voucher`.`cr`) - sum(`co-operativebank-bajbajia`.`voucher`.`dr`)) AS `amt`,`co-operativebank-bajbajia`.`voucher`.`cash_acc` AS `cash_acc` from `co-operativebank-bajbajia`.`voucher` where (`co-operativebank-bajbajia`.`voucher`.`status` = \'1\') group by `co-operativebank-bajbajia`.`voucher`.`cash_acc`
