greenlion / PHP-SQL-Parser

A pure PHP SQL (non validating) parser w/ focus on MySQL dialect of SQL
BSD 3-Clause "New" or "Revised" License
601 stars 156 forks source link

Adds support for USING in JOIN clause #364

Closed czoIg closed 1 year ago

czoIg commented 2 years ago

The following query was producing UnableToCalculatePositionException, although it is a valid sql query:

SELECT * FROM table1 LEFT JOIN table2 USING (id1)