SELECT *
FROM london_stages
WHERE eventid IN (24634, 50338, 50340, 50352, 50364, 50366, 50412, 50424, 50428, 50435, 50440, 50444, 50447, 50463, 50475, 50477, 50480, 50482, 50484, 50487, 50489, 50492, 50494, 50496, 50498, 50501, 50503, 50506, 50508, 50510, 50512, 50515, 50517, 50520, 50522, 50524, 50526, 50529, 50531, 50534, 50536, 50538, 50540, 50543, 50546, 50549, 50551, 50554, 50556, 50559, 50564, 50566, 50568, 50571, 50573, 50576, 50578, 50581, 50583, 50588, 50591, 50593, 50595, 50602, 50609, 50620, 50626, 50635, 50684, 50688, 50690, 50693, 50695, 50702, 50704, 50707, 50709, 50712, 50717, 50722, 50724, 50726, 50728, 50736, 50742, 50744, 50749, 50754, 50757, 50772, 50790, 50795, 50800, 50802, 50805, 50808, 50812, 50934, 50940, 50942, 50944, 50946, 50948, 50950, 50953, 50957, 50959, 50961, 50963, 50965, 50969, 50971, 50977, 50995, 51050, 51135, 51159, 51175, 51203, 51227, 51244, 51247, 51249, 51252, 51254, 51256, 51258, 51261, 51266, 51285, 51288, 51293, 51298, 51302, 51317, 51324, 51336, 51345, 51354, 51360, 51481, 51488, 51494, 51498, 51543, 51547, 51549, 51551, 51553, 51555, 51559, 51563, 51567, 51571, 51575, 51579, 51583, 51585, 51589, 51603, 51617, 51694, 51697, 51699, 51704, 51706, 51710, 51713, 51716, 51718, 51722, 51725, 51728, 51730, 51734, 51737, 51740, 51743, 51747, 51797, 51817, 51820, 51825, 51828, 51833, 51836, 51838, 51841, 51859, 51861, 51866, 51869, 51871, 51879, 51909, 52060, 52082, 52223, 52241, 52267, 52277, 52289, 52294, 52296, 52353, 52365, 52396, 52486, 52506)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION