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