Support sub-query and alias for TPC-H,for example: select * from (select * from (T1) A join T2 as B on T1.id = T2.id) T;