sql-parser
sql-parser copied to clipboard
Error with parentheses around select statement
This statement produces an error.
INSERT INTO A (b) (SELECT 1)
The parentheses around the SELECT subquery are optional. The following works without an error:
INSERT INTO A (b) SELECT 1