sql-metadata icon indicating copy to clipboard operation
sql-metadata copied to clipboard

complex sql no tables name

Open lctlover opened this issue 3 years ago • 0 comments

ttt ="""

select * from ( (select a1,a2 from ta1 ) tt1 left join (select b1,b2 from tb1 ) tt2 on tt1.a1= tt2.b1) tt3

"""

Parser(ttt).columns ['*', 'a1', 'a2', 'b1', 'b2', 'tt1.a1']

lctlover avatar Jun 27 '22 09:06 lctlover