row numbering

Started by Detlef Jockheckabout 23 years ago1 messagesgeneral
Jump to latest
#1Detlef Jockheck
detlef@jockheck.de

Hi!

How can I number the rows. I have a table with one column:
a
44.3
2.3
33.2
17

Now I need a reverse numbered table:
a points
2.3 4
17 3
33.2 2
44.3 1

I've seen that this is possible with a sequence, but then I alwas have to
create, use and drop it for every query. Is there a better way available?

ciao
Detlef

--
# Dipl. Ing. (FH) Detlef Jockheck
# E-mail: detlef@jockheck.de
# -------------------------------