ms705 / nom-sql

Rust SQL parser written using nom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support stand-alone HAVING clauses

soulstompp opened this issue · comments

Currently the parser has the HAVING clause parsed as part of the GROUP BY clause when it was valid, this is needed in cases where a condition on a calculated value is needed and a GROUP BY is inappropriate such as SELECT 1 + 2 as adder HAVING adder > 2.