SELECT *
FROM london_stages
WHERE eventid IN (4071, 4116, 4119, 4122, 4125, 4129, 4137, 4141, 4145, 4172, 4191, 4205, 4217, 4230, 4268, 4282, 4288, 4292, 4295, 4300, 4313, 4330, 4341, 4360, 4441, 4958, 5041, 6302, 6339, 6344, 6351, 6369, 6381, 6392, 6421, 6442, 6454, 6463, 6679, 6695, 6711, 6719, 6728, 6742, 6757, 6772, 6788, 6804, 6814, 41653, 41654, 41655, 41656, 41657, 41658, 41660, 41662, 41663, 41666, 41669, 41671, 41672, 41674, 41678, 41680, 41682, 41685, 41686, 42168, 42171, 42175, 42183, 42186, 42191, 42195, 42199, 42205, 42211, 42214, 42217, 42221, 42225, 42229, 42238, 42760, 42762, 42765, 42769, 42775, 42777, 42783, 42785, 42797, 42803, 42808, 42810, 42814, 42816, 42819, 42823, 42851, 43963, 43970, 43975, 43977, 43979, 43981, 43984, 43985, 43986, 43988, 43991, 43992, 44006, 44007, 44009, 44010, 44011, 44012, 44013, 44015, 44017, 44019, 44021, 44023, 44024, 44025, 47498, 47504, 47532, 47544, 47576, 47588, 48081, 48083, 48085, 48087, 48089, 48092, 48094, 48096, 48098, 48100, 48102, 48112, 48122, 48136, 48145, 48149, 48153, 48157, 48169, 48173, 48181, 48185, 48208, 48222, 48277, 48319, 48340, 48401, 48415, 48429, 49030, 49045, 49060, 49198, 49200, 49202, 49205, 49231, 49255, 49267, 49281, 49329, 49332, 49334, 49337, 49339, 49342, 49351, 49356, 49361, 49365, 49375, 49379, 49384, 49412, 49415, 49417, 49424, 49444, 49808, 49951, 49953, 49956, 49958, 49960, 49962, 49965, 49967, 49970, 49972, 49974, 49977, 49979, 49982, 49984, 49986, 49988, 49991, 49993, 49997, 50000, 50003, 50005, 50009, 50012, 50015, 50018, 50022, 50025, 50028, 50030, 50060, 50081, 50096, 50101, 50105, 50107, 50115, 50117, 50120, 50122, 50130, 50346, 50347, 50349, 50351, 50357, 50359, 50365, 50372, 50377, 50382, 50384, 50397, 50399, 50403, 50405, 50407, 50409, 50417, 50423, 50432, 50437, 50439, 50453, 50460, 50474, 50486, 50488, 50491, 50493, 50495, 50497, 50500, 50502, 50505, 50507, 50509, 50511, 50514, 50523, 50528, 50533, 50537, 50542, 50558, 50570, 50643, 51106, 51109, 51111, 51113, 51115, 51120, 51123, 51125, 51127, 51129, 51134, 51137, 51141, 51146, 51149, 51151, 51153, 51155, 51160, 51163, 51165, 51167, 51169, 51248, 51251, 51253)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION