Skip to content

How to use 'group by and having clause' like sql? #333

@namndev

Description

@namndev

Some times, To Query faster I have use 'group by and having clause in sql'.
But in Cubes, I don't known to this work.

  • I find in sql/browser/aggregation_statement() line below:
statement = sql.expression.select(selection,
                                          from_obj=context.star,
                                          use_labels=True,
                                          whereclause=condition,
                                          group_by=group_by)

That: Do not using HAVING.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions