PHP-SQL-Parser icon indicating copy to clipboard operation
PHP-SQL-Parser copied to clipboard

Parser Problem when union contains ORDER BY

Open witchi opened this issue 10 years ago • 1 comments

From [email protected] on August 03, 2013 20:39:27

What steps will reproduce the problem? Please help, i have problem when i run this query $sql="(SELECT 1 AS ID) UNION (SELECT 2 AS ID) ORDER BY ID"; $parser=new PHPSQLParser($sql);

Original issue: http://code.google.com/p/php-sql-parser/issues/detail?id=96

witchi avatar Jun 17 '15 19:06 witchi

From [email protected] on March 05, 2014 02:19:59

I have to write a new processor for UNION statements.

Status: Accepted
Owner: [email protected]
Labels: -Type-Defect Type-Enhancement

witchi avatar Jun 17 '15 19:06 witchi