SELECT *
FROM london_stages
WHERE eventid IN (17686, 17689, 17693, 17697, 17700, 17702, 17706, 17710, 17713, 17718, 17720, 17723, 17730, 17734, 17738, 17741, 17745, 17753, 17757, 17764, 17768, 17771, 17775, 17781, 17784, 17787, 17790, 17794, 17798, 17800, 17807, 17811, 17814, 18054, 18058, 40188, 40190, 40193, 40195, 40197, 40199, 40202, 40205, 40208, 40210, 40212, 40214, 40217, 40219, 40222, 40224, 40226, 40228, 40233, 40236, 40238, 40240, 40243, 40245, 40248, 40250, 40252, 40254, 40257, 40259, 40279, 40311, 40316, 40323, 40326, 40331, 40358, 40367, 40379, 40382, 40413, 40425, 40454, 45470, 49408, 49411, 49413, 49416, 49418, 49420, 49422, 49425, 49427, 49430, 49432, 49434, 49436, 49439, 49467, 49475, 49480, 49543, 49657, 51901, 51903, 51906, 51908, 51911, 51916, 51918, 51921, 51923, 51926, 51928, 51930, 51932, 51935, 51937, 51939, 51941, 51942, 51943, 51946, 51949, 51952, 51954, 51956, 51958, 51961, 51963, 51966, 51968, 51970, 51972, 51994, 51996, 51997, 51999, 52000, 52001, 52002, 52005, 52007, 52008, 52012, 52017, 52022, 52023, 52028, 52030, 52044, 52046, 52049, 52050, 52051, 52053, 52179, 52183, 52187, 52191, 52195, 52197, 52199, 52205, 52209, 52217, 52222, 52228, 52235, 52242, 52247, 52256, 52263, 52268, 52276, 52283, 52290, 52297, 52304, 52311, 52318, 52322, 52325, 52328, 52373, 52385, 52399, 52404, 52409, 52414, 52457, 52462, 52516, 52568, 52577, 52580, 52594, 52609, 52615)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION