TYPE=VIEW
query=select \'2017-03-31\' AS `Date`,`svm`.`code` AS `Acc_no`,concat(`a`.`initial`,\' \',`a`.`fname`,\' \',`a`.`mname`,\' \',`a`.`lname`) AS `Name`,`a`.`father_name` AS `father`,(sum(`v`.`cr`) - sum(`v`.`dr`)) AS `Final_Amt`,`svm`.`lf_no` AS `lf_no` from ((`co-operativebank-henria`.`voucher` `v` join `co-operativebank-henria`.`shares` `svm`) join `co-operativebank-henria`.`j_a` `a`) where ((`svm`.`code` = `v`.`Acc_no`) and (`v`.`date` >= \'2017-03-31\') and (`v`.`date` <= \'2017-03-31\') and (`svm`.`acc_no` = `a`.`Acc_No`) and (`v`.`head` = \'11200\')) group by `v`.`Acc_no`
md5=8001257fc5af1965147dc9cfe773bf7b
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=1
with_check_option=0
timestamp=2021-07-15 17:07:11
create-version=1
source=select  \'2017-03-31\' AS  `Date` ,\n `svm`.`code`  AS  `Acc_no` ,\nconcat(  `a`.`initial` ,  \' \',  `a`.`fname` ,  \' \',  `a`.`mname` ,  \' \',  `a`.`lname`  )  AS  `Name` ,\n `a`.`father_name`  AS  `father` ,\n( sum(  `v`.`cr`  )  - sum(  `v`.`dr`  )  ) AS  `Final_Amt` ,\n `svm`.`lf_no`  AS  `lf_no`  from ( (  `co-operativebank-henria`.`voucher`  `v`  join  `co-operativebank-henria`.`shares`  `svm`  ) join  `co-operativebank-henria`.`j_a`  `a`  ) where ( (  `svm`.`code`  =  `v`.`Acc_no`  ) and (  `v`.`date`  >=  \'2017-03-31\' ) and (  `v`.`date`  <=  \'2017-03-31\' ) and (  `svm`.`acc_no`  =  `a`.`Acc_No`  ) and (  `v`.`head`  =  \'11200\' ) ) group  by  `v`.`Acc_no`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select \'2017-03-31\' AS `Date`,`svm`.`code` AS `Acc_no`,concat(`a`.`initial`,\' \',`a`.`fname`,\' \',`a`.`mname`,\' \',`a`.`lname`) AS `Name`,`a`.`father_name` AS `father`,(sum(`v`.`cr`) - sum(`v`.`dr`)) AS `Final_Amt`,`svm`.`lf_no` AS `lf_no` from ((`co-operativebank-henria`.`voucher` `v` join `co-operativebank-henria`.`shares` `svm`) join `co-operativebank-henria`.`j_a` `a`) where ((`svm`.`code` = `v`.`Acc_no`) and (`v`.`date` >= \'2017-03-31\') and (`v`.`date` <= \'2017-03-31\') and (`svm`.`acc_no` = `a`.`Acc_No`) and (`v`.`head` = \'11200\')) group by `v`.`Acc_no`
