SELECT a.acnt_no, d.deposited_amt, w.balance FROM acnt a
JOIN deposite d ON a.acnt_no = d.acnt_no
JOIN withdrawl w ON a.acnt_no = w.acnt_no
WHERE d.deposited_amt > 25000 AND w.balance > 50000
If that doesn't work, you'll have to provide sample table data for all three tables, the output you expect from that data, and the output you get from the above query.