sqlparser icon indicating copy to clipboard operation
sqlparser copied to clipboard

Does it support nested queries/sub-quries

Open antrikshmisri opened this issue 3 years ago • 1 comments
trafficstars

I want to validate some SQL queries that are nested and have sub-queries at multiple depths. The sqlparser.Parse says the following query is invalid:-

SELECT ( SELECT ( SELECT ( SELECT * FROM table) FROM table_2 ) FROM table_1 WHERE column = ( SELECT * FROM table_3 ) ) FROM table

Am I doing something wrong or does the library not support sub-packages?

antrikshmisri avatar Feb 10 '22 13:02 antrikshmisri

+1, I'm having the same issue

manonmichel avatar Apr 17 '24 14:04 manonmichel