Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Ranking position in a SQL index

by Zaxo (Archbishop)
on Oct 05, 2004 at 03:43 UTC ( [id://396457]=note: print w/replies, xml ) Need Help??


in reply to Ranking position in a SQL index

It depends on what your dbms supports, but look at the ORDER BY and LIMIT clauses.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: Ranking position in a SQL index
by Anonymous Monk on Oct 05, 2004 at 03:55 UTC
    I know those clauses but I can't see how they would help me get the numeric rank of a given row or value efficiently.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://396457]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (9)
As of 2024-04-23 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found