Oracle: Using results of one subquery inside another -
Select
(choose * 1 from table 1, name = "something") t1 , (Select T1.c1, t2.c2 from Table 2 T2, where t1.c1 = t2.c2) t1Joint2, (Select table 3 t3 to t1.c1, t3.c3, where t1.c1 = t3.c3 ) T1Joint3 ,; The above questions do not work in Oracle.
Any workaround?
Use of Oracle 11g
with T1 (* Choose from Table 1 where name = 'some'), as T1 zero 2 (T1 C1, from T2C2 to T1, 2 T2 T2, where T1C1 = T2C2) Choose from t1Joint2, t1Joint3 as T1 Joint 3 (T1C1, T3 to T3, T3, T3 T3 where t1.c1 = t3.c3) t1Joint2.c1, t1Joint3.c3 ;
Comments
Post a Comment