Bluehost.com Web Hosting $6.95

Anyone know how to return the position of a record in a table?

This is a discussion on Anyone know how to return the position of a record in a table? within the MySQL Database forums, part of the Database Forums category; Anyone know how to return the position of a record in a table? I'm building a highscore list and ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-23-2007
Ciaran
 
Posts: n/a
Default Anyone know how to return the position of a record in a table?

Anyone know how to return the position of a record in a table? I'm
building a highscore list and I want to be able to say what position a
player is without having to check all the other players.
Cheers,
Ciarán

Reply With Quote
  #2 (permalink)  
Old 03-23-2007
Willem Bogaerts
 
Posts: n/a
Default Re: Anyone know how to return the position of a record in a table?

You could query the count of anything that is more than that player's
score, I guess.

Ciaran wrote:
> Anyone know how to return the position of a record in a table? I'm
> building a highscore list and I want to be able to say what position a
> player is without having to check all the other players.
> Cheers,
> Ciarán
>


--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/
Reply With Quote
  #3 (permalink)  
Old 03-23-2007
Ciaran
 
Posts: n/a
Default Re: Anyone know how to return the position of a record in a table?

Good idea! Ha ha and I thought someone was gonng come back with some
crazy long SQL statement!
Cheers
Willem

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0