TYPE=VIEW
query=select `v`.`Acc_no` AS `acc_no`,if(((`v`.`head` > \'23099\') and (`v`.`head` < \'23600\')),(sum(`v`.`dr`) - sum(`v`.`cr`)),(sum(`v`.`cr`) - sum(`v`.`dr`))) AS `bal`,`v`.`head` AS `head` from `co-operativebank-durgapur`.`voucher` `v` USE INDEX (`by_head`) where (`v`.`status` <> 4) group by `v`.`Acc_no`
md5=3403b3da7cf6c088f50202409a87112f
updatable=0
algorithm=0
definer_user=root
definer_host=localhost
suid=1
with_check_option=0
timestamp=2022-04-04 10:26:47
create-version=1
source=select  `v`.`Acc_no`  AS  `acc_no` ,\nif( ( (  `v`.`head`  >  \'23099\' ) and (  `v`.`head`  <  \'23600\' ) ) ,\n( sum(  `v`.`dr`  )  - sum(  `v`.`cr`  )  ),\n( sum(  `v`.`cr`  )  - sum(  `v`.`dr`  )  ) ) AS  `bal` ,\n `v`.`head`  AS  `head`  from  `co-operativebank-durgapur`.`voucher`  `v`  USE  INDEX (  `by_head`  )  where (  `v`.`status`  <>4 ) group  by  `v`.`Acc_no`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `v`.`Acc_no` AS `acc_no`,if(((`v`.`head` > \'23099\') and (`v`.`head` < \'23600\')),(sum(`v`.`dr`) - sum(`v`.`cr`)),(sum(`v`.`cr`) - sum(`v`.`dr`))) AS `bal`,`v`.`head` AS `head` from `co-operativebank-durgapur`.`voucher` `v` USE INDEX (`by_head`) where (`v`.`status` <> 4) group by `v`.`Acc_no`
