By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,601 Members | 1,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,601 IT Pros & Developers. It's quick & easy.

Find highest rank across table columns

P: 1
I m using a mysql table(say tbl_student_mark) which have the data id,student_name,mark_physics,mark_chemistry,mark_b iology....
I have to find the name of 3rd Heighest scrorer across the table
Can any one help me??
Oct 7 '11 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,359
You can join the table to itself to create a ranking query by using the aggregate count to find the third such student.
Oct 7 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.