AlecKazakova / sql-psi

An extendable parsing environment for sql which outputs PSI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Update Join

hfhbd opened this issue · comments

Dialect

MySQL

Failing SQL

UPDATE foo
JOIN bar
SET foo.b = 42
WHERE bar.a = 1;

Description

MySQL supports a join everywhere its syntax uses tables_references.
https://dev.mysql.com/doc/refman/8.0/en/update.html