public function toSQL(Parameters $params, bool $inner_clause)
    {
        $name = $this->getTable();
        $alias = $this->getAlias();
        $prefix_disabled = $this->getDisablePrefixing();

        $drv = $params->getDriver();
        list($tname, $talias) = $params->resolveTable($name);
        if (!empty($talias) && $talias !== $tname)
            return $drv->identQuote($talias);

        return $prefix_disabled ? $drv->identQuote($tname) : $drv->getName($tname);
    }