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

Error with parentheses around select statement

Open M393 opened this issue 2 years ago • 0 comments

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

M393 avatar Jun 12 '23 15:06 M393