Hi sir,
I have following query to retrive sum of column from two more table using union.
select sum(c1) ,null,null from t1
union
select null,sum(c2) ,null from t2
union
select null,null,sum(c3) from t3
Result
-------------
1000 null null
null 2000 null
null null 3000
I want the result as following
1000
2000
3000
How to achieve this?