public function toSQL(Parameters $params, bool $inner_clause)
    {
        $scope = $params->getSubScope($this->scope_id);
        $this->scope_id = $scope->getScopeID();

        $q = $this->getQuery();
        return '(' . $params->getDriver()->toSQL($scope, $q, false) . ')';
    }