with
t1 as (select * from table1),
t2 as (select * from table2),
t3 as (select * from table3)
select * from t1 a, t2 b, t3 c
with
t1 as (select * from table1),
t2 as (select * from table2),
t3 as (select * from table3)
select * from t1 a, t2 b, t3 c