I have a table like this
PCode Stage Score -------------------------------- P123 1 3 P123 2 2 P123 3 1 P123