TYPE=VIEW
query=select `v1`.`no` AS `no`,`v1`.`cash_acc` AS `acc_no`,`a`.`name` AS `name`,`a`.`lfno` AS `lfno`,sum(`v1`.`dr`) AS `CASH`,\'0\' AS `TRAN`,`v1`.`date` AS `date`,`v1`.`sub_head` AS `sub_head` from `co-operativebank-durgapur`.`voucher` `v1` join `co-operativebank-durgapur`.`quick_name` `a` USE INDEX (`by_acc_no`) where (((`v1`.`cash_acc` = `a`.`acc_no`) or (`v1`.`Acc_no` = `a`.`acc_no`)) and (`v1`.`sub_head` = \'62101\') and (`v1`.`date` = \'2025-09-30\') and (`v1`.`deposit_type` = \'CASH\') and (`v1`.`head` > 60000) and (`v1`.`dr` <> \'0\')) group by `v1`.`no` union all select `v1`.`no` AS `no`,`v1`.`cash_acc` AS `acc_no`,`a`.`name` AS `name`,`a`.`lfno` AS `lfno`,\'0\' AS `0`,sum(`v1`.`dr`) AS `TRAN`,`v1`.`date` AS `date`,`v1`.`sub_head` AS `sub_head` from `co-operativebank-durgapur`.`voucher` `v1` join `co-operativebank-durgapur`.`quick_name` `a` USE INDEX (`by_acc_no`) where (((`v1`.`cash_acc` = `a`.`acc_no`) or (`v1`.`Acc_no` = `a`.`acc_no`)) and (`v1`.`sub_head` = \'62101\') and (`v1`.`date` = \'2025-09-30\') and (`v1`.`deposit_type` = \'TRANSFER\') and (`v1`.`head` > 60000) and (`v1`.`dr` <> \'0\')) group by `v1`.`no`
md5=2d7c33eef041ecd7276f8216060d9e8d
updatable=0
algorithm=0
definer_user=admin
definer_host=localhost
suid=2
with_check_option=0
timestamp=2025-10-07 07:16:00
create-version=1
source=select v1.no,cash_acc as acc_no,name,lfno,sum(dr) as CASH,\'0\' as TRAN,date,v1.sub_head from voucher v1 , quick_name a USE INDEX (by_acc_no) where (v1.cash_acc=a.acc_no or v1.acc_no=a.acc_no) and v1.sub_head=\'62101\' and v1.date=\'2025-09-30\' AND DEPOSIT_TYPE=\'CASH\' and v1.head>60000 AND dR<>\'0\' group by v1.no  UNION ALL select v1.no,cash_acc as acc_no,name,lfno,\'0\',sum(dr) as TRAN,date,v1.sub_head from voucher v1,quick_name a USE INDEX (by_acc_no) where (v1.cash_acc=a.acc_no or v1.acc_no=a.acc_no) and v1.sub_head=\'62101\' and v1.date=\'2025-09-30\' AND DEPOSIT_TYPE=\'TRANSFER\' and v1.head>60000 AND dR<>\'0\' group by v1.no
client_cs_name=utf8mb4
connection_cl_name=utf8mb4_general_ci
view_body_utf8=select `v1`.`no` AS `no`,`v1`.`cash_acc` AS `acc_no`,`a`.`name` AS `name`,`a`.`lfno` AS `lfno`,sum(`v1`.`dr`) AS `CASH`,\'0\' AS `TRAN`,`v1`.`date` AS `date`,`v1`.`sub_head` AS `sub_head` from `co-operativebank-durgapur`.`voucher` `v1` join `co-operativebank-durgapur`.`quick_name` `a` USE INDEX (`by_acc_no`) where (((`v1`.`cash_acc` = `a`.`acc_no`) or (`v1`.`Acc_no` = `a`.`acc_no`)) and (`v1`.`sub_head` = \'62101\') and (`v1`.`date` = \'2025-09-30\') and (`v1`.`deposit_type` = \'CASH\') and (`v1`.`head` > 60000) and (`v1`.`dr` <> \'0\')) group by `v1`.`no` union all select `v1`.`no` AS `no`,`v1`.`cash_acc` AS `acc_no`,`a`.`name` AS `name`,`a`.`lfno` AS `lfno`,\'0\' AS `0`,sum(`v1`.`dr`) AS `TRAN`,`v1`.`date` AS `date`,`v1`.`sub_head` AS `sub_head` from `co-operativebank-durgapur`.`voucher` `v1` join `co-operativebank-durgapur`.`quick_name` `a` USE INDEX (`by_acc_no`) where (((`v1`.`cash_acc` = `a`.`acc_no`) or (`v1`.`Acc_no` = `a`.`acc_no`)) and (`v1`.`sub_head` = \'62101\') and (`v1`.`date` = \'2025-09-30\') and (`v1`.`deposit_type` = \'TRANSFER\') and (`v1`.`head` > 60000) and (`v1`.`dr` <> \'0\')) group by `v1`.`no`
