Aditya or others, can you join or match t2 with t1 in your example, i.e. translate to my code,
with t1 as (select * from AA where FIRSTNAME like 'Kermit'), t2 as (select * from BB B join t1 on t1.FIELD1 = B.FIELD1)
It is unclear whether only WHERE is supported for joining or which join approach is supported inside the second WITH object. Some of the examples have WHERE A = B down in the body of the selection "below" WITH clauses.
The error I get after these WITH declarations is identifiers (field names) in B that are not recognized, in the body of the rest of SQL. Thus, WITH syntax works fine, but does not have access to the results from t2.
Dave 12 Oct '16 at 23:18 2016-10-12 23:18
source share