Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR Parsing JOIN #80

Open
zxdxjtu opened this issue Dec 12, 2023 · 0 comments
Open

ERROR Parsing JOIN #80

zxdxjtu opened this issue Dec 12, 2023 · 0 comments

Comments

@zxdxjtu
Copy link

zxdxjtu commented Dec 12, 2023

SELECT a.n, a.m, b.y, b.z
FROM (
    SELECT m, n
    FROM table1
    WHERE col1 = 'value1'
) a
JOIN (
    SELECT x, y, z
    FROM table2
    WHERE col1 = 'value1'
) b
ON a.m = b.x
;

image

panekj pushed a commit to panekj/tree-sitter-sql that referenced this issue Jun 21, 2024
…r-column

feat: Optional `COLUMN` in `ALTER TABLE` for `ADD`, `CHANGE` and `DROP`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant