TYPE=VIEW
query=select `svm`.`date` AS `Date`,`v`.`Acc_no` AS `Acc_no`,concat(`ap`.`fname`,\' \',`ap`.`mname`,\' \',`ap`.`lname`) AS `Name`,((sum(`v`.`cr`) - sum(`v`.`dr`)) - `svm`.`int_amt`) AS `Amt`,`svm`.`int_amt` AS `Interest_Amt`,(sum(`v`.`cr`) - sum(`v`.`dr`)) AS `Final_Amt` from ((`co-operativebank-244`.`voucher` `v` join `co-operativebank-244`.`savingsintrst` `svm`) join `co-operativebank-244`.`j_a` `ap`) where ((`svm`.`acc_no` = `v`.`Acc_no`) and (`ap`.`Acc_No` = `v`.`Acc_no`) and (`svm`.`date` >= \'2015-04-01\') and (`svm`.`date` <= \'2016-03-31\') and (`v`.`date` <= `svm`.`date`)) group by `v`.`Acc_no`
md5=066ce6e9400aa1bc8cc338142a73f9e4
updatable=0
algorithm=0
definer_user=root
definer_host=localhost
suid=1
with_check_option=0
timestamp=2025-11-19 04:30:19
create-version=1
source=select  `svm`.`date`  AS  `Date` ,\n `v`.`Acc_no`  AS  `Acc_no` ,\nconcat(  `ap`.`fname` ,  \' \',  `ap`.`mname` ,  \' \',  `ap`.`lname`  )  AS  `Name` ,\n( ( sum(  `v`.`cr`  )  - sum(  `v`.`dr`  )  ) -  `svm`.`int_amt`  ) AS  `Amt` ,\n `svm`.`int_amt`  AS  `Interest_Amt` ,\n( sum(  `v`.`cr`  )  - sum(  `v`.`dr`  )  ) AS  `Final_Amt`  from ( (  `co-operativebank-244`.`voucher`  `v`  join  `co-operativebank-244`.`savingsintrst`  `svm`  ) join  `co-operativebank-244`.`j_a`  `ap`  ) where ( (  `svm`.`acc_no`  =  `v`.`Acc_no`  ) and (  `ap`.`Acc_No`  =  `v`.`Acc_no`  ) and (  `svm`.`date`  >=  \'2015-04-01\' ) and (  `svm`.`date`  <=  \'2016-03-31\' ) and (  `v`.`date`  <=  `svm`.`date`  ) ) group  by  `v`.`Acc_no`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `svm`.`date` AS `Date`,`v`.`Acc_no` AS `Acc_no`,concat(`ap`.`fname`,\' \',`ap`.`mname`,\' \',`ap`.`lname`) AS `Name`,((sum(`v`.`cr`) - sum(`v`.`dr`)) - `svm`.`int_amt`) AS `Amt`,`svm`.`int_amt` AS `Interest_Amt`,(sum(`v`.`cr`) - sum(`v`.`dr`)) AS `Final_Amt` from ((`co-operativebank-244`.`voucher` `v` join `co-operativebank-244`.`savingsintrst` `svm`) join `co-operativebank-244`.`j_a` `ap`) where ((`svm`.`acc_no` = `v`.`Acc_no`) and (`ap`.`Acc_No` = `v`.`Acc_no`) and (`svm`.`date` >= \'2015-04-01\') and (`svm`.`date` <= \'2016-03-31\') and (`v`.`date` <= `svm`.`date`)) group by `v`.`Acc_no`
