Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Using io keyword as table alias fails to parse #496

Copy link
Copy link
@BackEndTea

Description

@BackEndTea
Issue body actions

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
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.