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-durgapur`.`voucher` `v` join `co-operativebank-durgapur`.`savingsintrst` `svm`) join `co-operativebank-durgapur`.`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=0334985fa5c60c042e563729ece61e6f
updatable=0
algorithm=0
definer_user=root
definer_host=localhost
suid=1
with_check_option=0
timestamp=2022-04-04 10:27:08
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-durgapur`.`voucher`  `v`  join  `co-operativebank-durgapur`.`savingsintrst`  `svm`  ) join  `co-operativebank-durgapur`.`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-durgapur`.`voucher` `v` join `co-operativebank-durgapur`.`savingsintrst` `svm`) join `co-operativebank-durgapur`.`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`
