public function table()
{
$alias = $this->_query->aliasTable;
$table = $this->tableOrSubQuery();
if ($alias) {
$aliasOperator = $this->_query->type == QueryType::$DELETE ? '' : ' AS ';
return $table . $aliasOperator . $alias;
}
return $table;
}