TYPE=VIEW
query=select `co-operativebank-henria`.`voucher`.`sub_head` AS `sub_head`,(sum(`co-operativebank-henria`.`voucher`.`cr`) - sum(`co-operativebank-henria`.`voucher`.`dr`)) AS `bal` from `co-operativebank-henria`.`voucher` where ((((`co-operativebank-henria`.`voucher`.`sub_head` > \'10000\') and (`co-operativebank-henria`.`voucher`.`sub_head` < \'20000\')) or ((`co-operativebank-henria`.`voucher`.`sub_head` > \'50000\') and (`co-operativebank-henria`.`voucher`.`sub_head` < \'60000\'))) and (`co-operativebank-henria`.`voucher`.`date` < \'2016-04-01\')) group by `co-operativebank-henria`.`voucher`.`sub_head`
md5=8ae4ec4765fc70bd925d1cb6eac34739
updatable=0
algorithm=0
definer_user=admin
definer_host=%
suid=1
with_check_option=0
timestamp=2021-07-15 17:05:52
create-version=1
source=select  `co-operativebank-henria`.`voucher`.`sub_head`  AS  `sub_head` ,\n( sum(  `co-operativebank-henria`.`voucher`.`cr`  )  - sum(  `co-operativebank-henria`.`voucher`.`dr`  )  ) AS  `bal`  from  `co-operativebank-henria`.`voucher`  where ( ( ( (  `co-operativebank-henria`.`voucher`.`sub_head`  >  \'10000\' ) and (  `co-operativebank-henria`.`voucher`.`sub_head`  <  \'20000\' ) ) or ( (  `co-operativebank-henria`.`voucher`.`sub_head`  >  \'50000\' ) and (  `co-operativebank-henria`.`voucher`.`sub_head`  <  \'60000\' ) ) ) and (  `co-operativebank-henria`.`voucher`.`date`  <  \'2016-04-01\' ) ) group  by  `co-operativebank-henria`.`voucher`.`sub_head`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `co-operativebank-henria`.`voucher`.`sub_head` AS `sub_head`,(sum(`co-operativebank-henria`.`voucher`.`cr`) - sum(`co-operativebank-henria`.`voucher`.`dr`)) AS `bal` from `co-operativebank-henria`.`voucher` where ((((`co-operativebank-henria`.`voucher`.`sub_head` > \'10000\') and (`co-operativebank-henria`.`voucher`.`sub_head` < \'20000\')) or ((`co-operativebank-henria`.`voucher`.`sub_head` > \'50000\') and (`co-operativebank-henria`.`voucher`.`sub_head` < \'60000\'))) and (`co-operativebank-henria`.`voucher`.`date` < \'2016-04-01\')) group by `co-operativebank-henria`.`voucher`.`sub_head`
