I am fetching data from three different tables and column names are different in all three tables and there is no relationship between these three tables.
Select a1,a2,a3 from temp1
Select b1,b2,b3,b4,b5 from temp2
Select c1,c2 from temp3
At the end of query I have to display all three tables results in single output using sql query.
a1 a2 a3 b1 b2 b3 b4 b5 c1 c2
Open in new window
Please advise how to achieve above requirement using sql query.
Thanks in advance.