To find the first, second, third and fourth highest number (1 Viewer)

rkisor

Registered User.
Local time
Tomorrow, 04:02
Joined
Mar 24, 2013
Messages
16
Hi,

I need help in finding the First to fourth highest numbers in four columns.

For Example:

Student Name Subject1 Subject2 Subject3 Subject4
Max 60 40 50 10

I need help in query to find the first, second, third and fourth highest marks in subjects.


Please help.

Kishore
 

vbaInet

AWF VIP
Local time
Today, 23:32
Joined
Jan 22, 2010
Messages
26,374
Your table isn't properly normalised that's why you're having difficulty. Each subject and score should be individual records, not columns. If they were records you'll simply sort by that column.
 

Users who are viewing this thread

Top Bottom