protected function getGroup(array $queryParts)
    {
        if (isset($queryParts['group'])) {
            $group = [];

            foreach ($queryParts['group'] as $column) {
                $group[] = $this->quoteIdentifier($column);
            }

            return 'GROUP BY ' . implode(', ', $group);
        }

        return null;
    }