sqlparser
sqlparser copied to clipboard
Does it support nested queries/sub-quries
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?
+1, I'm having the same issue