Skip to content

HAVING with a grouped expression finds no rows #3148

Backlog

Description

@mathiasrw
alasql('SELECT a + 1 AS x FROM ? GROUP BY a + 1 HAVING a + 1 > 2', [[{a: 1}, {a: 2}]]);

It gives [].

SQLite gives 3.

Fixed by #2647.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions