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]

# 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