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