Click here to Skip to main content
15,908,776 members

Comments by Aman singh Parihar (Top 1 by date)

Aman singh Parihar 17-May-19 12:46pm View    
This worked for me, as I have no relation between the two of the tables, number of columns and the type are not even same and I want the data in one result set.

SELECT table1.Column1, table2.Column2 FROM table1
INNER JOIN table2 ON 1 = 1