TYPE=VIEW
query=select `i`.`code` AS `acc_no`,if((`i`.`draw_bank` = \'\'),`s`.`sub_head`,`i`.`draw_bank`) AS `name` from (`co-operativebank-durgapur`.`libities` `i` join `co-operativebank-durgapur`.`sub_head` `s`) where ((`s`.`code` = `i`.`sub_head`) and (`i`.`code` like \'LIB%\')) union all select `co-operativebank-durgapur`.`loan_account`.`acc_no` AS `acc_no`,`co-operativebank-durgapur`.`loan_account`.`name` AS `name` from `co-operativebank-durgapur`.`loan_account` group by `co-operativebank-durgapur`.`loan_account`.`acc_no`
md5=0e1f397b3ff48352c61ffa69b85d9b5d
updatable=0
algorithm=0
definer_user=root
definer_host=localhost
suid=1
with_check_option=0
timestamp=2022-04-04 10:27:00
create-version=1
source=select  `i`.`code`  AS  `acc_no` ,\nif( (  `i`.`draw_bank`  =  \'\' ),  `s`.`sub_head` ,  `i`.`draw_bank`  )  AS  `name`  from (  `co-operativebank-durgapur`.`libities`  `i`  join  `co-operativebank-durgapur`.`sub_head`  `s`  ) where ( (  `s`.`code`  =  `i`.`sub_head`  ) and (  `i`.`code`  like  \'LIB%\' ) ) union  all  select  `loan_account`.`acc_no`  AS  `acc_no` ,\n `loan_account`.`name`  AS  `name`  from  `co-operativebank-durgapur`.`loan_account`  group  by  `loan_account`.`acc_no`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select `i`.`code` AS `acc_no`,if((`i`.`draw_bank` = \'\'),`s`.`sub_head`,`i`.`draw_bank`) AS `name` from (`co-operativebank-durgapur`.`libities` `i` join `co-operativebank-durgapur`.`sub_head` `s`) where ((`s`.`code` = `i`.`sub_head`) and (`i`.`code` like \'LIB%\')) union all select `co-operativebank-durgapur`.`loan_account`.`acc_no` AS `acc_no`,`co-operativebank-durgapur`.`loan_account`.`name` AS `name` from `co-operativebank-durgapur`.`loan_account` group by `co-operativebank-durgapur`.`loan_account`.`acc_no`
