SELECT *
FROM london_stages
WHERE eventid IN (166, 479, 1318, 2014, 2022, 3522, 3758, 3765, 3814, 4022, 4328, 4497, 4535, 4664, 4726, 4869, 4914, 5312, 5645, 6387, 6664, 6732, 7025, 7508, 7911, 7949, 8050, 8246, 8441, 8544, 8784, 8862, 8889, 9328, 9711, 9809, 10047, 10165, 10304, 10315, 10836, 11021, 11312, 11381, 11394, 11406, 11433, 11437, 11447, 11475, 11540, 11555, 11584, 11596, 11777, 11787, 12372, 12695, 12759, 12906, 12909, 12959, 13667, 13791, 13904, 13926, 13933, 13951, 13955, 13962, 13974, 14041, 14060, 14076, 14080, 14292, 14380, 14386, 14738, 15052, 15061, 15073, 15256, 15559, 15597, 15668, 15823, 15825, 15906, 16323, 16462, 16781, 16785, 16788, 16792, 16795, 16818, 17001, 17419, 17524, 17547, 17569, 17573, 17593, 17818, 18086, 18282, 18375, 18538, 19162, 19187, 19974, 19988, 19999, 20109, 20556, 20681, 21713, 21931, 22440, 22443, 22446, 22578, 22679, 22773, 22936, 23018, 23107, 23442, 23580, 23589, 23744, 25333, 25380, 25460, 25544, 26931, 27075, 27081, 27316, 27374, 27594, 30086, 30807, 30846, 31006, 31177, 31242, 31259, 31377, 31429, 32003, 33003, 34000, 34092, 34096, 34603, 34606, 34608, 34616, 34619, 34621, 34627, 34631, 34634, 34636, 34720, 34749, 34777, 34895, 34923, 34957, 35042, 35066, 35094, 35316, 35513, 35879, 36153, 36223, 36232, 36237, 36239, 36243, 36253, 36266, 36275, 36291, 36301, 36308, 36343, 36370, 36372, 36376, 36379, 36384, 36391, 36398, 36403, 36406, 36490, 36518, 36552, 36657, 36665, 36724, 36738, 36766, 36969, 36988, 37005, 37225, 37268, 37303, 37340, 37436, 37632, 37819, 37836, 37855, 37894, 37959, 38043, 38129, 38166, 38329, 38354, 38405, 38510, 38569, 38676, 38704, 38714, 38764, 38973, 39200, 39289, 39430, 39435, 39519, 39554, 39696, 39718, 39721, 39726, 39743, 39797, 39844, 40015, 40078, 40128, 40232, 40369, 40410, 40630, 40674, 40706, 40765, 41025, 41140, 41171, 41200, 41296, 41338, 41342, 41412, 41451, 41508, 41667, 41673, 41818, 41916, 42093, 42144, 42312, 42318, 42330, 42333, 42337, 42342, 42361, 42365, 42375, 42384, 42391, 42399, 42421, 42423, 42428, 42462, 42482, 42496, 42502, 42539, 42542, 42549, 42558, 42566, 42585, 42628, 42658, 42678, 42731, 42776, 42810, 42811, 42812, 42814, 42817, 42818, 42820, 42822, 42823, 42826, 42828, 42832, 42839, 42842, 42844, 42846, 42848, 42850, 42853, 42882, 42885, 42941, 42956, 42963, 42970, 43017, 43036, 43039, 43073, 43074, 43080, 43134, 43186, 43238, 43287, 43343, 43349, 43356, 43361, 43366, 43378, 43387, 43393, 43422, 43431, 43459, 43469, 43510, 43534, 43537, 43559, 43751, 43844, 43851, 43893, 43969, 44052, 44070, 44074, 44076, 44081, 44104, 44112, 44116, 44128, 44132, 44136, 44148, 44152, 44156, 44158, 44160, 44162, 44186, 44204, 44258, 44387, 44424, 44458, 44529, 44569, 44597, 44624, 44668, 44717, 44727, 44762, 44791, 44915, 44940, 45011, 45022, 45055, 45060, 45077, 45083, 45090, 45094, 45103, 45135, 45165, 45285, 45549, 45556, 45628, 45640, 45660, 45705, 45753, 45767, 45816, 45961, 46243, 46289, 46413, 46476, 46855, 46954, 47339, 47363, 47366, 47368, 47400, 47675, 47706, 47912, 47927, 47938, 47952, 47957, 47965, 47969, 47976, 47980, 47990, 48066, 48147, 48205, 48357, 48454, 48598, 48733, 48916, 48930, 48938, 48946, 49000, 49004, 49008, 49013, 49015, 49017, 49022, 49027, 49032, 49037, 49040, 49047, 49052, 49055, 49062, 49065, 49068, 49073, 49173, 49186, 49196, 49201, 49202, 49210, 49213, 49218, 49227, 49249, 49261, 49273, 49285, 49297, 49311, 49320, 49325, 49340, 49349, 49367, 49381, 49415, 49435, 49571, 49572, 49576, 49581, 49590, 49605, 49610, 49633, 49643, 49647, 49661, 49673, 49681, 49689, 49697, 49709, 49715, 49721, 49731, 49732, 49737, 49773, 49790, 49948, 49955, 49964, 49969, 49976, 49981, 49990, 50055, 50056, 50067, 50082, 50108, 50131, 50150, 50217, 50246, 50248, 50249, 50258, 50290, 50323, 50336, 50342, 50348, 50357, 50358, 50359, 50365, 50382, 50396, 50405, 50412, 50443, 50457, 50492, 50586, 50612, 50624, 50634, 50732, 50757, 50762, 50807, 50876, 50903, 50921, 50977, 50996, 51085, 51141, 51210, 51235, 51526, 51542, 51554, 51564, 51572, 51594, 51599, 51616, 51622, 51660, 51682, 51690, 51756, 51812, 51815, 51986, 52000, 52008, 52049, 52092, 52113, 52516, 52538, 52554, 52562, 52568, 52577, 52578, 52580, 52594, 52609, 52615)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION