public function getGroupBy()
    {
        $template = "GROUP BY %s";
        $groupBy = null;
        if (!is_null($this->_sql->groupBy)) {
            $groupBy = trim(sprintf($template, $this->_sql->getGroupBy()));
        }
        return $groupBy;
    }