TYPE=VIEW
query=select `v`.`cash_acc` AS `acc_no`,`la`.`name` AS `name`,sum(`v`.`cr`) AS `CASH`,\'0\' AS `TRAN`,`v`.`date` AS `date`,`v`.`sub_head` AS `sub_head` from (`co-operativebank-mohati`.`voucher` `v` join `co-operativebank-mohati`.`quick_name` `la`) where (((`v`.`cash_acc` = `la`.`acc_no`) or (`v`.`Acc_no` = `la`.`acc_no`)) and (`v`.`head` > 50000) and (`v`.`sub_head` = \'52201\') and (`v`.`date` = \'2018-02-16\') and (`v`.`deposit_type` = \'CASH\') and (`v`.`cr` <> \'0\')) group by `v`.`cash_acc`,`v`.`Acc_no` union all select `v`.`cash_acc` AS `acc_no`,`la`.`name` AS `name`,\'0\' AS `0`,sum(`v`.`cr`) AS `TRAN`,`v`.`date` AS `date`,`v`.`sub_head` AS `sub_head` from (`co-operativebank-mohati`.`voucher` `v` join `co-operativebank-mohati`.`quick_name` `la`) where (((`v`.`cash_acc` = `la`.`acc_no`) or (`v`.`Acc_no` = `la`.`acc_no`)) and (`v`.`head` > 50000) and (`v`.`sub_head` = \'52201\') and (`v`.`date` = \'2018-02-16\') and (`v`.`deposit_type` = \'TRANSFER\') and (`v`.`cr` <> \'0\')) group by `v`.`cash_acc`,`v`.`Acc_no`
md5=a2d494a4131b11cbf10a504b6ed93e39
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=1
with_check_option=0
timestamp=2020-10-16 13:11:12
create-version=1
source=select  `v`.`cash_acc`  AS  `acc_no` ,\n `la`.`name`  AS  `name` ,\nsum(  `v`.`cr`  )  AS  `CASH` ,\n \'0\' AS  `TRAN` ,\n `v`.`date`  AS  `date` ,\n `v`.`sub_head`  AS  `sub_head`  from (  `co-operativebank-mohati`.`voucher`  `v`  join  `co-operativebank-mohati`.`quick_name`  `la`  ) where ( ( (  `v`.`cash_acc`  =  `la`.`acc_no`  ) or (  `v`.`Acc_no`  =  `la`.`acc_no`  ) ) and (  `v`.`head`  >50000 ) and (  `v`.`sub_head`  =  \'52201\' ) and (  `v`.`date`  =  \'2018-02-16\' ) and (  `v`.`deposit_type`  =  \'CASH\' ) and (  `v`.`cr`  <>  \'0\' ) ) group  by  `v`.`cash_acc` ,\n `v`.`Acc_no`  union  all  select  `v`.`cash_acc`  AS  `acc_no` ,\n `la`.`name`  AS  `name` ,\n \'0\' AS  `0` ,\nsum(  `v`.`cr`  )  AS  `TRAN` ,\n `v`.`date`  AS  `date` ,\n `v`.`sub_head`  AS  `sub_head`  from (  `co-operativebank-mohati`.`voucher`  `v`  join  `co-operativebank-mohati`.`quick_name`  `la`  ) where ( ( (  `v`.`cash_acc`  =  `la`.`acc_no`  ) or (  `v`.`Acc_no`  =  `la`.`acc_no`  ) ) and (  `v`.`head`  >50000 ) and (  `v`.`sub_head`  =  \'52201\' ) and (  `v`.`date`  =  \'2018-02-16\' ) and (  `v`.`deposit_type`  =  \'TRANSFER\' ) and (  `v`.`cr`  <>  \'0\' ) ) group  by  `v`.`cash_acc` ,\n `v`.`Acc_no`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `v`.`cash_acc` AS `acc_no`,`la`.`name` AS `name`,sum(`v`.`cr`) AS `CASH`,\'0\' AS `TRAN`,`v`.`date` AS `date`,`v`.`sub_head` AS `sub_head` from (`co-operativebank-mohati`.`voucher` `v` join `co-operativebank-mohati`.`quick_name` `la`) where (((`v`.`cash_acc` = `la`.`acc_no`) or (`v`.`Acc_no` = `la`.`acc_no`)) and (`v`.`head` > 50000) and (`v`.`sub_head` = \'52201\') and (`v`.`date` = \'2018-02-16\') and (`v`.`deposit_type` = \'CASH\') and (`v`.`cr` <> \'0\')) group by `v`.`cash_acc`,`v`.`Acc_no` union all select `v`.`cash_acc` AS `acc_no`,`la`.`name` AS `name`,\'0\' AS `0`,sum(`v`.`cr`) AS `TRAN`,`v`.`date` AS `date`,`v`.`sub_head` AS `sub_head` from (`co-operativebank-mohati`.`voucher` `v` join `co-operativebank-mohati`.`quick_name` `la`) where (((`v`.`cash_acc` = `la`.`acc_no`) or (`v`.`Acc_no` = `la`.`acc_no`)) and (`v`.`head` > 50000) and (`v`.`sub_head` = \'52201\') and (`v`.`date` = \'2018-02-16\') and (`v`.`deposit_type` = \'TRANSFER\') and (`v`.`cr` <> \'0\')) group by `v`.`cash_acc`,`v`.`Acc_no`
