TYPE=VIEW
query=select \'2026-02-04\' AS `Date`,`svm`.`code` AS `Acc_no`,`svm`.`acc_no` AS `sb_acc`,concat(`a`.`initial`,\' \',`a`.`fname`,\' \',`a`.`mname`,\' \',`a`.`lname`) AS `Name`,(sum(`v`.`cr`) - sum(`v`.`dr`)) AS `Final_Amt`,round((((sum(`v`.`cr`) - sum(`v`.`dr`)) * \'12\') / 100),0) AS `dividend` from ((`co-operativebank-mitrachak`.`voucher` `v` join `co-operativebank-mitrachak`.`shares` `svm`) join `co-operativebank-mitrachak`.`j_a` `a`) where ((`svm`.`code` = `v`.`Acc_no`) and (`v`.`date` >= \'2026-02-04\') and (`v`.`date` <= \'2026-02-04\') and (`svm`.`acc_no` = `a`.`Acc_No`) and (`svm`.`head` = \'11200\') and (`v`.`head` = `svm`.`head`)) group by `v`.`Acc_no`
md5=faa48a33835447329aded972376d099d
updatable=0
algorithm=0
definer_user=admin
definer_host=%
suid=2
with_check_option=0
timestamp=2026-02-04 04:26:44
create-version=1
source=select \'2026-02-04\' as `Date`,`svm`.`code` AS `Acc_no`,svm.acc_no as sb_acc,concat(`a`.`initial`,\' \',`a`.`fname`,\' \',`a`.`mname`,\' \',`a`.`lname`) AS `Name`,(sum(`v`.`cr`) - sum(`v`.`dr`)) AS `Final_Amt`,ROUND(((sum(`v`.`cr`) - sum(`v`.`dr`))*\'12\'/ 100),0) dividend from ((`voucher` `v` join `shares` `svm`) join `j_a` `a`) where ((`svm`.`code` = `v`.`Acc_no`) and (`v`.`date` >= \'2026-02-04\') and (`v`.`date` <= \'2026-02-04\') and (`svm`.`acc_no` = `a`.`Acc_No`)) and svm.head=\'11200\' and v.head=svm.head group by `v`.`Acc_no`
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select \'2026-02-04\' AS `Date`,`svm`.`code` AS `Acc_no`,`svm`.`acc_no` AS `sb_acc`,concat(`a`.`initial`,\' \',`a`.`fname`,\' \',`a`.`mname`,\' \',`a`.`lname`) AS `Name`,(sum(`v`.`cr`) - sum(`v`.`dr`)) AS `Final_Amt`,round((((sum(`v`.`cr`) - sum(`v`.`dr`)) * \'12\') / 100),0) AS `dividend` from ((`co-operativebank-mitrachak`.`voucher` `v` join `co-operativebank-mitrachak`.`shares` `svm`) join `co-operativebank-mitrachak`.`j_a` `a`) where ((`svm`.`code` = `v`.`Acc_no`) and (`v`.`date` >= \'2026-02-04\') and (`v`.`date` <= \'2026-02-04\') and (`svm`.`acc_no` = `a`.`Acc_No`) and (`svm`.`head` = \'11200\') and (`v`.`head` = `svm`.`head`)) group by `v`.`Acc_no`
