SELECT *
FROM london_stages
WHERE eventid IN (36643, 36647, 36649, 36655, 36663, 36667, 36675, 36680, 36694, 36696, 36704, 36717, 36736, 36752, 36764, 36778, 36795, 36798, 36818, 36830, 36832, 36839, 36860, 36878, 36890, 36920, 36923, 36925, 36930, 36936, 36939, 36941, 36947, 36952, 36955, 36957, 36972, 37002, 37014, 37016, 37036, 37066, 37080, 37091, 37122, 49823, 49825, 49827, 49829, 49831, 49833, 49835, 49837, 49839, 49841, 49843, 49845, 49847, 49851, 49855, 49857, 49859, 49863, 49867, 49871, 49875, 49879, 49883, 49893, 49897, 49926, 49935, 49940, 49949, 49954, 49959, 49989, 50055, 50057, 50067, 50070, 50073, 50075, 50082, 50087, 50092, 50108, 50113, 50123, 50126, 50131, 50134, 50138, 50141, 50146, 50151, 50153, 50161, 50170, 50181, 50186, 50189, 50203, 50210, 50324, 50332, 50345, 50350, 50352, 50353, 50371, 50376, 50378, 50396, 50422, 50433, 50456, 50470, 50480, 50482, 50487, 50492, 50494, 50496, 50498, 50554, 50556, 50559, 50564, 50566, 50568, 50571, 50573, 50576, 50578, 50581, 50583, 50586, 50588, 50591, 50593, 50595, 50597, 50600, 50605, 50607, 50609, 50611, 50614, 50616, 50620, 50650, 50662, 50674, 50684, 50688, 50697, 50702, 50704, 50714, 50719, 50733, 50736, 50739, 50742, 50744, 50749, 50752, 50757, 50759, 50764, 50769, 50772, 50782, 50784, 50792, 50795, 50797, 50800, 50802, 50912, 50917, 50921, 50923, 50936, 50937, 50940, 50944, 50948, 50951, 50953, 50961, 50967, 50975, 50977, 50979, 50991, 50993, 50995, 51038, 51050, 51054, 51059, 51064, 51069, 51071, 51073, 51095, 51140, 51147, 51152, 51191, 51211, 51215, 51227, 51234, 51244, 51247, 51249, 51254, 51256, 51258, 51261, 51263, 51266, 51268, 51280, 51285, 51288, 51298, 51300, 51309, 51312, 51319, 51322, 51324, 51329, 51331, 51336, 51341, 51343, 51345, 51351, 51356, 51360, 51365, 51368, 51370, 51376, 51484, 51486, 51494, 51529, 51535, 51537, 51539, 51541, 51543, 51545, 51557, 51561, 51565, 51567, 51569, 51571, 51573, 51575, 51577, 51579, 51581, 51583, 51585, 51587, 51589, 51591, 51593, 51596, 51598, 51601, 51603, 51605, 51610, 51615, 51617, 51619, 51621, 51624, 51627, 51629, 51631, 51634, 51636, 51641, 51643, 51645, 51648, 51653, 51655, 51664, 51667, 51676, 51686, 51688, 51699, 51701, 51704, 51716, 51740, 51759, 51765, 51771, 51784, 51786, 51794, 51797, 51811, 51815, 51833, 51836, 51841, 51843, 51871, 51887, 51900, 51907, 51924)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION