I have two select statements:
A: select a.1,a.2,a.3 from table1 a
B: select b.1,b.2,b.3 from table1 b
Now I join these two statements?
I tried in the below way and got error:
select *
(select a.1,a.2,a.3 from table1 a) aa
left join
(select b.1,b.2,b.3 from table1 b) bb
aa.a.1 = bb.b.1;