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