Skip to content

HAVING clause is not supported without GROUP BY #186

@cdmh

Description

@cdmh

The parser reports a syntax error on a HAVING clause if there is no GROUP BY clause.
Here's a valid example statement where the GROUP BY is implicit

SELECT COUNT(c_custkey) FROM customer HAVING COUNT(c_custkey) > 5;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions