Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: What's an Efficient Way to Retrieve a Rank from a MySQL Table?

by soon_j (Scribe)
on May 04, 2004 at 08:55 UTC ( [id://350263]=note: print w/replies, xml ) Need Help??


in reply to Re: What's an Efficient Way to Retrieve a Rank from a MySQL Table?
in thread What's an Efficient Way to Retrieve a Rank from a MySQL Table?

I believe you are right. The rank is highly dependent on the entire population. Since students are taking exams online at indefinite times, their performances vary at a non-predictable manner. To determine a specific rank, I need to take a snapshot from the entire table.

Previously, I thought of having another table that only holds information such as the rank of the student. The problem with this idea is that everytime a student improves in rank (like from 9th place moving up to 5th place), I need to update the ranks of all entries respectively.

Thanks for the comments
  • Comment on Re: Re: What's an Efficient Way to Retrieve a Rank from a MySQL Table?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-23 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found