To find Maximum salary from 5 tables
ex: I having five tables 1.emp 2.dept 3.account 4.balance 5.sample
I want to get maximum salary from 5 tables ?
To find Maximum salary from 5 tables
ex: I having five tables 1.emp 2.dept 3.account 4.balance 5.sample
I want to get maximum salary from 5 tables ?
[QUOTE=S.Ravi;28933]To find Maximum salary from 5 tables
ex: I having five tables 1.emp 2.dept 3.account 4.balance 5.sample
I want to get maximum salary from 5 tables ?
Kindly post the query that you are working on.
It shoud work with little tweaking or no changes ..
select max(salary) as salary from table1
union all
select max(salary) as salary from table2
union all
select max(salary) as salary from table3
group by salary
Let me know if this works..