How can I add the row number of the select result to an additional column?
For example:
select e.ds_estados
from estados e
This select would return me the registered states
AC
AL
AM
...
TO
I would like next to the state to return the line number together
1 - AC
2 - AC
3 - AC
...
27 - TO