SQL::Query::GroupBy Object

Description

Internal use only. The SQL::Query::GroupBy object describes the GROUP BY and HAVING expressions of a SELECT statement. The GROUP BY clause contains an optional ALL keyword and a list of column expressions upon which to group the result set. The optional HAVING clause is evaluated for each aggregated row to determine whether the summary will be included in the output.

Properties

All Logical

Read Write. If .T., the ALL keyword is included in the GROUP BY clause

ColumnList of SQL::Query:: ColumnReference or SQL::Query:: ValueExpression objects

Read Write. Semantically, the expression must match an expression in the select list.

HavingSQL::Query::LogicalExpresion

Read Write. An optional condition for inclusion of summarized rows in the result set.

TokenTypeNameCharacter

Read Only. Returns the name of the underlying token as a type. This does NOT include the "SQL::Query::" prefix.

See Also