SELECT TERRITORIAL, REGIONAL, TOTAL, ROW_NUMBER() OVER (ORDER BY REGIONAL) as POSICION FROM AR_TEST