xwb1989 / sqlparser

SQL Parser implemented in Go
Apache License 2.0
1.49k stars 240 forks source link

Doesn't support the name of table starts with numbers #81

Open laokiea opened 3 months ago

laokiea commented 3 months ago

If the SQL like "SELECT COUNT() AS count FROM 7days_nomore_paid_users", the parse proces returns "syntax error", but it's ok as I add backquotes to the table name like "SELECT COUNT() AS count FROM `7days_nomore_paid_users`", so can you support to parse the table starts with numbers without backquotes?