TYPE=VIEW
query=select `a`.`lf_no` AS `lf_no`,`v`.`date` AS `Open_date`,`v`.`Acc_no` AS `acc_no`,`a`.`Name` AS `name`,(sum(`v`.`cr`) - sum(`v`.`dr`)) AS `bal`,`a`.`interest` AS `interest`,max(`v`.`date`) AS `pay_date` from (`co-operativebank-246`.`voucher` `v` join `co-operativebank-246`.`account` `a`) where ((`a`.`Sub_Head` = \'14107\') and (`a`.`Acc_no` = `v`.`Acc_no`) and (`v`.`date` <= \'2021-05-15\')) group by `v`.`Acc_no`
md5=e72eec49c579f6f2720ed1ebdb619f1c
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=1
with_check_option=0
timestamp=2025-12-29 05:45:56
create-version=1
source=select  `a`.`lf_no`  AS  `lf_no` ,\n `v`.`date`  AS  `Open_date` ,\n `v`.`Acc_no`  AS  `acc_no` ,\n `a`.`Name`  AS  `name` ,\n( sum(  `v`.`cr`  )  - sum(  `v`.`dr`  )  ) AS  `bal` ,\n `a`.`interest`  AS  `interest` ,\nmax(  `v`.`date`  )  AS  `pay_date`  from (  `co-operativebank-246`.`voucher`  `v`  join  `co-operativebank-246`.`account`  `a`  ) where ( (  `a`.`Sub_Head`  =  \'14107\' ) and (  `a`.`Acc_no`  =  `v`.`Acc_no`  ) and (  `v`.`date`  <=  \'2021-05-15\' ) ) group  by  `v`.`Acc_no`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `a`.`lf_no` AS `lf_no`,`v`.`date` AS `Open_date`,`v`.`Acc_no` AS `acc_no`,`a`.`Name` AS `name`,(sum(`v`.`cr`) - sum(`v`.`dr`)) AS `bal`,`a`.`interest` AS `interest`,max(`v`.`date`) AS `pay_date` from (`co-operativebank-246`.`voucher` `v` join `co-operativebank-246`.`account` `a`) where ((`a`.`Sub_Head` = \'14107\') and (`a`.`Acc_no` = `v`.`Acc_no`) and (`v`.`date` <= \'2021-05-15\')) group by `v`.`Acc_no`
