Groups the result set by the specified field.
$field: The field on which to group. This should be the field as aliased.
SelectQueryInterface The called object.
public function groupBy($field);