I have a table called 'animal_prize' in a Myswl database.
The columns / fields are:
'animal_event_i d' contains numbers such as 1
'animal_place' contains numbers from 1 to 10
'animal_prize_m oney' contains numbers such as 10
I am trying to get the results so that it appears like the following:
animal_event_id 1st 2nd 3rd
1 30 20 10
2 40 30 20
It is only meant to show the top 3 places with the prize money for that place, in each event.
Thanks for your help.
The columns / fields are:
'animal_event_i d' contains numbers such as 1
'animal_place' contains numbers from 1 to 10
'animal_prize_m oney' contains numbers such as 10
I am trying to get the results so that it appears like the following:
animal_event_id 1st 2nd 3rd
1 30 20 10
2 40 30 20
It is only meant to show the top 3 places with the prize money for that place, in each event.
Thanks for your help.
Comment