SELECT AGG_FUNC(column_or_expression) AS aggregate_description, …FROM mytableWHERE constraint_expressionGROUP BY column; SELECT role, COUNT(name),building IS NULL AS bnFROM employeesGROUP BY role, bn