TYPE=VIEW
query=select `co-operativebank-221`.`loan_acc`.`sub_head` AS `sub_head`,max(`co-operativebank-221`.`loan_acc`.`id`) AS `id`,`co-operativebank-221`.`loan_acc`.`acc_no` AS `acc_no`,max(`co-operativebank-221`.`loan_acc`.`date_open`) AS `issue_date`,max(`co-operativebank-221`.`loan_acc`.`fianl_date`) AS `due_data`,max(`co-operativebank-221`.`loan_acc`.`amt`) AS `Loan_amount`,0 AS `gap_amt`,0 AS `crop_amt`,0 AS `from_chr`,0 AS `share_amt`,`co-operativebank-221`.`loan_acc`.`c_status` AS `c_status` from `co-operativebank-221`.`loan_acc` where (`co-operativebank-221`.`loan_acc`.`sub_head` = \'23101A\') group by `co-operativebank-221`.`loan_acc`.`acc_no`
md5=f4bbae618aaf98a68c6099972c6a338c
updatable=0
algorithm=0
definer_user=root
definer_host=localhost
suid=1
with_check_option=0
timestamp=2023-08-31 12:31:42
create-version=1
source=select  `co-operativebank-221`.`loan_acc`.`sub_head`  AS  `sub_head` ,\nmax(  `co-operativebank-221`.`loan_acc`.`id`  )  AS  `id` ,\n `co-operativebank-221`.`loan_acc`.`acc_no`  AS  `acc_no` ,\nmax(  `co-operativebank-221`.`loan_acc`.`date_open`  )  AS  `issue_date` ,\nmax(  `co-operativebank-221`.`loan_acc`.`fianl_date`  )  AS  `due_data` ,\nmax(  `co-operativebank-221`.`loan_acc`.`amt`  )  AS  `Loan_amount` ,\n0 AS  `gap_amt` ,\n0 AS  `crop_amt` ,\n0 AS  `from_chr` ,\n0 AS  `share_amt` ,\n `co-operativebank-221`.`loan_acc`.`c_status`  AS  `c_status`  from  `co-operativebank-221`.`loan_acc`  where (  `co-operativebank-221`.`loan_acc`.`sub_head`  =  \'23101A\' ) group  by  `co-operativebank-221`.`loan_acc`.`acc_no`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `co-operativebank-221`.`loan_acc`.`sub_head` AS `sub_head`,max(`co-operativebank-221`.`loan_acc`.`id`) AS `id`,`co-operativebank-221`.`loan_acc`.`acc_no` AS `acc_no`,max(`co-operativebank-221`.`loan_acc`.`date_open`) AS `issue_date`,max(`co-operativebank-221`.`loan_acc`.`fianl_date`) AS `due_data`,max(`co-operativebank-221`.`loan_acc`.`amt`) AS `Loan_amount`,0 AS `gap_amt`,0 AS `crop_amt`,0 AS `from_chr`,0 AS `share_amt`,`co-operativebank-221`.`loan_acc`.`c_status` AS `c_status` from `co-operativebank-221`.`loan_acc` where (`co-operativebank-221`.`loan_acc`.`sub_head` = \'23101A\') group by `co-operativebank-221`.`loan_acc`.`acc_no`
