i have a table as following:
Account(Acc_number,Acc_balance,branch_code)
Now i want to list all account details in each branch with the highest balance, how should I write the sql statement?
Simply said, i just want to list out all the branches, with the account of having highest balance.