JORGE MALDONADO <jorgemal1960@gmail.com> writes:
> Is it possible to include a field in the SELECT statement which "kind of
> autoincrements" so I can get the position?
The row_number() window function should do that for you, or you might
want rank() depending on what you think should happen for ties.
regards, tom lane