Find highest rank across table columns

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanjay dhal
    New Member
    • Oct 2011
    • 1

    Find highest rank across table columns

    I m using a mysql table(say tbl_student_mar k) which have the data id,student_name ,mark_physics,m ark_chemistry,m ark_biology....
    I have to find the name of 3rd Heighest scrorer across the table
    Can any one help me??
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    You can join the table to itself to create a ranking query by using the aggregate count to find the third such student.

    Comment

    Working...