taozhi8833998 / node-sql-parser

Parse simple SQL statements into an abstract syntax tree (AST) with the visited tableList and convert it back to SQL
https://taozhi8833998.github.io/node-sql-parser/
Apache License 2.0
780 stars 174 forks source link

[MySQL]: EXPLAIN query does not parse #1995

Closed tbantle22 closed 1 month ago

tbantle22 commented 1 month ago

query: EXPLAIN SELECT * FROM incidents;

error: SyntaxError: Expected "#", "--", "/*", ":=", "=", or [ \t\n\r] but "S" found.

node-sql-parser v5.0.0