SELECT *
FROM london_stages
WHERE eventid IN (40174, 40203, 40309, 40324, 40426, 41197, 41891, 41907, 42168, 42171, 42175, 42178, 42183, 42186, 42191, 42195, 42199, 42205, 42211, 42214, 42215, 42216, 42217, 42218, 42220, 42221, 42224, 42225, 42226, 42229, 42231, 42232, 42235, 42236, 42237, 42238, 42239, 42240, 42241, 42242, 42243, 42248, 42254, 42264, 42268, 42271, 42282, 42765, 42769, 42774, 42775, 42777, 42778, 42782, 42783, 42785, 42787, 42788, 42790, 42791, 42795, 42797, 42798, 42799, 42800, 42801, 42803, 42804, 42805, 42807, 42808, 42810, 42814, 42816, 42817, 42818, 42819, 42823, 42829, 42838, 42840, 42841, 42842, 42843, 42844, 42846, 42847, 42848, 42850, 42851, 42852, 42853, 43156, 43258, 43278, 43319, 43322, 43323, 43326, 43327, 43330, 43333, 43337, 43339, 43343, 43347, 43350, 43352, 43353, 43355, 43356, 43357, 43358, 43360, 43363, 43364, 43369, 43370, 43371, 43372, 43373, 43375, 43377, 43378, 43379, 43381, 43382, 43383, 43384, 43386, 43388, 43389, 43391, 43392, 43394, 43395, 43397, 43398, 43399, 43400, 43401, 43402, 43403, 43404, 43407, 43412, 43414, 43415, 43421, 43422, 43423, 43424, 43433, 43434, 43437, 43830, 43902, 43905, 43906, 43908, 43912, 43913, 43914, 43916, 43919, 43920, 43923, 43932, 43934, 43935, 43936, 43940, 43945, 43948, 43951, 43953, 43954, 43956, 43957, 43960, 43963, 43965, 43968, 43969, 43970, 43972, 43975, 43977, 43979, 43981, 43983, 43985, 43986, 43988, 43989, 43991, 43992, 43993, 43994, 44003, 44004, 44005, 44007, 44008, 44009, 44011, 44012, 44013, 44014, 44015, 44017, 44018, 44019, 44020, 44021, 44022, 44023, 44024, 44025, 44029, 44033, 44037, 44048, 44054, 44056, 44061, 44063, 44066, 44068, 44070, 44072, 44080, 44087, 44091, 44093, 44095, 44099, 44101, 44105, 44109, 44115, 44117, 44121, 44123, 44127, 44129, 44139, 44143, 44157, 44167, 44170, 44172, 44174, 44176, 44178, 44180, 44182, 44184, 44186, 44188, 44190, 44194, 44196, 44198, 44200, 44202, 44204, 44206, 44208, 44210, 44212, 44214, 44216, 44218, 44221, 44223, 44225, 44227, 44239, 44258, 44265, 44270, 44272, 44275, 44277, 44279, 44284, 44286, 44290, 44293, 44296, 44303, 44309, 44311, 44319, 44322, 44324, 44328, 44332, 44335, 44337, 44341, 44348, 44354, 44367, 44374, 44379, 44382, 44384, 44389, 44394, 44397, 44399, 44412, 44419, 44421, 44429, 44434, 44437, 44444, 44452, 44464, 44469, 44480, 44483, 44486, 44498, 44503, 44504, 44512, 44517, 44521, 44523, 44526, 44527, 44532, 44533, 44535, 44539, 44547, 44548, 44556, 44557, 44558, 44559, 44560, 44561, 44562, 44563, 44564, 44565, 44567, 44573, 44575, 44576, 44577, 44579, 44580, 44581, 44582, 44583, 44585, 44586, 44612, 44616, 44625, 44656, 44668, 44688, 44703, 44762, 44780, 44783, 44791, 44801, 44836, 44884, 44891, 44915, 44936, 44946, 44957, 44973, 44980, 44986, 45004, 45013, 45020, 45022, 45025, 45030, 45037, 45041, 45045, 45047, 45050, 45053, 45056, 45057, 45059, 45062, 45068, 45071, 45079, 45080, 45084, 45085, 45087, 45090, 45091, 45092, 45093, 45094, 45095, 45096, 45097, 45098, 45099, 45101, 45104, 45105, 45107, 45109, 45110, 45111, 45112, 45116, 45117, 45119, 45120, 45122, 45123, 45124, 45128, 45129, 45130, 45131, 45132, 45133, 45134, 45655, 45656, 45657, 45658, 45660, 45677, 47447, 48033, 49268, 49270, 49272, 49274, 49276, 49278, 49280, 49282, 49284, 49286, 49288, 49290, 49292, 49294, 49296, 49298, 49300, 49305, 49307, 49310, 49312, 49314, 49316, 49319, 49321, 49324, 49328, 49330, 49333, 49335, 49364, 49366, 49368, 49380, 49382, 49394, 49396, 49616, 49622, 49627, 49924, 49926, 49929, 49931, 49933, 49935, 49938, 49940, 49943, 49945, 49947, 49949, 49952, 49954, 49957, 49959, 49961, 49966, 49968, 49971, 49978, 49992, 50099, 50113, 50116, 50163, 50193, 50195, 51890)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION