public function escape_table( &$query )
	{
		$table = $query->table;

		if ( is_array( $table ) )
		{
			reset($table); $table = key($table).' as '.$table[key($table)];
		}

		return $this->escape( $table );
	}