Code to calculate ranks for a class

Can any body have code to calculate ranks for a class of students whose marks are stored in a database. Finally after rank calculation we have to insert those ranks as per their login IDs..Please help me......
[223 byte] By [JAVA-BIZa] at [2007-11-27 9:43:02]
# 1
I'm sure people can have such code. After all it exists so someone must have it :)But no, we're not going to give it to you. Write your own.
jwentinga at 2007-7-12 23:47:37 > top of Java-index,Other Topics,Java Game Development...
# 2
I know sir>>Give me an idea How we can skip rank for students having same marks...
JAVA-BIZa at 2007-7-12 23:47:37 > top of Java-index,Other Topics,Java Game Development...
# 3
depending on the database, you could sort (if that is what you mean by ranks) the output during the query statement, no Java required. Typically, in databases like MySQL, this is accomplished with the "ORDER BY" syntax. http://www.w3schools.com/sql/sql_orderby.asp
robtafta at 2007-7-12 23:47:37 > top of Java-index,Other Topics,Java Game Development...
# 4
You might want to try stating your question more clearly and precisely.
jverda at 2007-7-12 23:47:37 > top of Java-index,Other Topics,Java Game Development...
# 5
Thank you very much
JAVA-BIZa at 2007-7-12 23:47:37 > top of Java-index,Other Topics,Java Game Development...