TYPE=VIEW
query=select `co-operativebank-mitrachak`.`voucher`.`sub_head` AS `sub_head`,(sum(`co-operativebank-mitrachak`.`voucher`.`cr`) - sum(`co-operativebank-mitrachak`.`voucher`.`dr`)) AS `bal` from `co-operativebank-mitrachak`.`voucher` where ((((`co-operativebank-mitrachak`.`voucher`.`sub_head` > \'10000\') and (`co-operativebank-mitrachak`.`voucher`.`sub_head` < \'20000\')) or ((`co-operativebank-mitrachak`.`voucher`.`sub_head` > \'50000\') and (`co-operativebank-mitrachak`.`voucher`.`sub_head` < \'60000\'))) and (`co-operativebank-mitrachak`.`voucher`.`date` < \'2015-03-31\')) group by `co-operativebank-mitrachak`.`voucher`.`sub_head`
md5=717815c33f26de63eb174cc8edcd8ae7
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=1
with_check_option=0
timestamp=2019-05-30 04:21:30
create-version=1
source=select  `co-operativebank-mitrachak`.`voucher`.`sub_head`  AS  `sub_head` ,\n( sum(  `co-operativebank-mitrachak`.`voucher`.`cr`  )  - sum(  `co-operativebank-mitrachak`.`voucher`.`dr`  )  ) AS  `bal`  from  `co-operativebank-mitrachak`.`voucher`  where ( ( ( (  `co-operativebank-mitrachak`.`voucher`.`sub_head`  >  \'10000\' ) and (  `co-operativebank-mitrachak`.`voucher`.`sub_head`  <  \'20000\' ) ) or ( (  `co-operativebank-mitrachak`.`voucher`.`sub_head`  >  \'50000\' ) and (  `co-operativebank-mitrachak`.`voucher`.`sub_head`  <  \'60000\' ) ) ) and (  `co-operativebank-mitrachak`.`voucher`.`date`  <  \'2015-03-31\' ) ) group  by  `co-operativebank-mitrachak`.`voucher`.`sub_head`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `co-operativebank-mitrachak`.`voucher`.`sub_head` AS `sub_head`,(sum(`co-operativebank-mitrachak`.`voucher`.`cr`) - sum(`co-operativebank-mitrachak`.`voucher`.`dr`)) AS `bal` from `co-operativebank-mitrachak`.`voucher` where ((((`co-operativebank-mitrachak`.`voucher`.`sub_head` > \'10000\') and (`co-operativebank-mitrachak`.`voucher`.`sub_head` < \'20000\')) or ((`co-operativebank-mitrachak`.`voucher`.`sub_head` > \'50000\') and (`co-operativebank-mitrachak`.`voucher`.`sub_head` < \'60000\'))) and (`co-operativebank-mitrachak`.`voucher`.`date` < \'2015-03-31\')) group by `co-operativebank-mitrachak`.`voucher`.`sub_head`
