TYPE=VIEW
query=select \'2019-04-01\' 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-mohati`.`voucher` `v` join `co-operativebank-mohati`.`shares` `svm`) join `co-operativebank-mohati`.`j_a` `a`) where ((`svm`.`code` = `v`.`Acc_no`) and (`v`.`date` >= \'2001-10-08\') and (`v`.`date` <= \'2019-04-01\') and (`svm`.`acc_no` = `a`.`Acc_No`) and (`v`.`head` = \'11200\')) group by `v`.`Acc_no`
md5=83860939f7d92fb885c597bb55eafe66
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=1
with_check_option=0
timestamp=2020-10-16 13:11:31
create-version=1
source=select  \'2019-04-01\' 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-mohati`.`voucher`  `v`  join  `co-operativebank-mohati`.`shares`  `svm`  ) join  `co-operativebank-mohati`.`j_a`  `a`  ) where ( (  `svm`.`code`  =  `v`.`Acc_no`  ) and (  `v`.`date`  >=  \'2001-10-08\' ) and (  `v`.`date`  <=  \'2019-04-01\' ) 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 \'2019-04-01\' 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-mohati`.`voucher` `v` join `co-operativebank-mohati`.`shares` `svm`) join `co-operativebank-mohati`.`j_a` `a`) where ((`svm`.`code` = `v`.`Acc_no`) and (`v`.`date` >= \'2001-10-08\') and (`v`.`date` <= \'2019-04-01\') and (`svm`.`acc_no` = `a`.`Acc_No`) and (`v`.`head` = \'11200\')) group by `v`.`Acc_no`
