Closed
Description
This first query fails to parse with Unrecognized keyword
, Unrecognized token
and This type of clause was previously parsed
errors, while the second one has no issues
I get that using keywords as table aliases may not be the smartest, but this is valid SQL 😅 . Could sql-parser support this?
SELECT COUNT(*) AS amount
FROM one i
JOIN two io ON io.id = i.id
SELECT COUNT(*) AS amount
FROM one i
JOIN two ioo ON ioo.id = i.id