daglugub37
Technical User
I would like to somehow assign a rank to rows in a record set.
The query is simple enough
select * from sales
order by gross desc
but how could I assign a rank to the results? Meaning the top gross would be #1, and if there are ties then to assign the same rank.
I know there is new functions in 05 to handle this but does anyone know a clever way to do this on 00?
The query is simple enough
select * from sales
order by gross desc
but how could I assign a rank to the results? Meaning the top gross would be #1, and if there are ties then to assign the same rank.
I know there is new functions in 05 to handle this but does anyone know a clever way to do this on 00?