TYPE=VIEW
query=select `ss`.`date_open` AS `date_open`,`ss`.`acc_no` AS `acc_no`,`ss`.`loan_against_sv_acc` AS `loan_against_sv_acc`,`ss`.`name` AS `name`,concat(`ss`.`interest`,\'%\') AS `interest`,`ss`.`max_dt` AS `max_dt`,sum(`ld`.`intrst_Amt`) AS `int_amt`,round(((sum(`ld`.`intrst_Amt`) / `ss`.`interest`) * 3),0) AS `subsidy`,`ss`.`sblfno` AS `sblfno`,`ss`.`llfno` AS `llfno`,`ss`.`father_name` AS `father_name`,`ss`.`address` AS `address`,`ss`.`bankacc` AS `bankacc`,`ss`.`mobile` AS `mobile`,`ss`.`adhar` AS `adhar`,`ss`.`status` AS `status`,`ss`.`bankacc` AS `eft`,`ss`.`fdt` AS `fdt`,`ss`.`groupno` AS `groupno` from `co-operativebank`.`shg_subsidy` `ss` join `co-operativebank`.`loan_deposit` `ld` where ((`ss`.`max_dt` <= `ss`.`fdt`) and (`ld`.`Acc_No` = `ss`.`acc_no`) and (`ld`.`Date` >= \'2019-10-01\') and (`ld`.`Date` <= \'2020-03-31\')) group by `ss`.`acc_no`
md5=5e5efbd74c91ba56d9391f3df37e244c
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=2
with_check_option=0
timestamp=2025-08-22 06:31:14
create-version=1
source=SELECT ss.`date_open`, ss.`acc_no`, ss.`loan_against_sv_acc`, ss.`name`, concat(`ss`.`interest`,\'%\') AS `interest`,ss.`max_dt`, sum(ld.intrst_Amt) as int_amt, round(((sum(`ld`.`intrst_Amt`) / `ss`.`interest`) * 3),0) as`subsidy`,sblfno,llfno,father_name,address ,bankacc,mobile,adhar,ss.status,ss.bankacc as eft,fdt,groupno FROM `shg_subsidy` ss, loan_deposit ld WHERE max_dt<=fdt and ld.acc_no=ss.acc_no  and ld.date>=\'2019-10-01\' and ld.date<=\'2020-03-31\' group by ss.acc_no
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `ss`.`date_open` AS `date_open`,`ss`.`acc_no` AS `acc_no`,`ss`.`loan_against_sv_acc` AS `loan_against_sv_acc`,`ss`.`name` AS `name`,concat(`ss`.`interest`,\'%\') AS `interest`,`ss`.`max_dt` AS `max_dt`,sum(`ld`.`intrst_Amt`) AS `int_amt`,round(((sum(`ld`.`intrst_Amt`) / `ss`.`interest`) * 3),0) AS `subsidy`,`ss`.`sblfno` AS `sblfno`,`ss`.`llfno` AS `llfno`,`ss`.`father_name` AS `father_name`,`ss`.`address` AS `address`,`ss`.`bankacc` AS `bankacc`,`ss`.`mobile` AS `mobile`,`ss`.`adhar` AS `adhar`,`ss`.`status` AS `status`,`ss`.`bankacc` AS `eft`,`ss`.`fdt` AS `fdt`,`ss`.`groupno` AS `groupno` from `co-operativebank`.`shg_subsidy` `ss` join `co-operativebank`.`loan_deposit` `ld` where ((`ss`.`max_dt` <= `ss`.`fdt`) and (`ld`.`Acc_No` = `ss`.`acc_no`) and (`ld`.`Date` >= \'2019-10-01\') and (`ld`.`Date` <= \'2020-03-31\')) group by `ss`.`acc_no`
