Title: Error with parentheses around select statement · Issue #484 · phpmyadmin/sql-parser · GitHub
Open Graph Title: Error with parentheses around select statement · Issue #484 · phpmyadmin/sql-parser
X Title: Error with parentheses around select statement · Issue #484 · phpmyadmin/sql-parser
Description: 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
Open Graph Description: 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
X Description: 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
Opengraph URL: https://github.com/phpmyadmin/sql-parser/issues/484
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error with parentheses around select statement","articleBody":"This statement produces an error.\r\n```sql\r\nINSERT INTO A (b) (SELECT 1)\r\n```\r\nThe parentheses around the `SELECT` subquery are optional. The following works without an error:\r\n```sql\r\nINSERT INTO A (b) SELECT 1\r\n```\r\n","author":{"url":"https://github.com/M393","@type":"Person","name":"M393"},"datePublished":"2023-06-12T15:08:47Z","url":"https://github.com/phpmyadmin/sql-parser/issues/484"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7b360b5d-43c6-ca71-3176-361ede08eac4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE28:252F5F:166D38:1E0E84:6B0436AB |
| html-safe-nonce | 40b8aa48fc1b60068cc1d4fbe58324f4bc29826655501f01f1d097ddc2b2c487 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTI4OjI1MkY1RjoxNjZEMzg6MUUwRTg0OjZCMDQzNkFCIiwidmlzaXRvcl9pZCI6IjIxODk2OTU3NTIzMTY2NjM0NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8ab6fb59fa66a9561a9c58368545c5e4e1ac7c52b9780ac4e48608c16fa2a994 |
| hovercard-subject-tag | issue:1752974831 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/phpmyadmin/sql-parser/484/issue_layout |
| twitter:image | https://opengraph.githubassets.com/afd99eae546c6eb894caaf7b01f85f7e79fbe8cdeec8d3235fcbb8b8b48c63e4/phpmyadmin/sql-parser/issues/484 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/afd99eae546c6eb894caaf7b01f85f7e79fbe8cdeec8d3235fcbb8b8b48c63e4/phpmyadmin/sql-parser/issues/484 |
| og:image:alt | 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 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | M393 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/phpmyadmin/sql-parser git https://github.com/phpmyadmin/sql-parser.git |
| octolytics-dimension-user_id | 1351977 |
| octolytics-dimension-user_login | phpmyadmin |
| octolytics-dimension-repository_id | 36256604 |
| octolytics-dimension-repository_nwo | phpmyadmin/sql-parser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36256604 |
| octolytics-dimension-repository_network_root_nwo | phpmyadmin/sql-parser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width