SELECT *
FROM london_stages
WHERE eventid IN (39427, 39428, 39429, 39431, 39434, 39437, 39441, 39927, 39928, 39932, 39934, 39943, 39945, 39950, 39955, 39965, 39967, 39969, 39976, 39983, 39994, 40003, 40007, 40010, 40465, 40473, 40479, 40481, 40487, 40489, 40494, 40502, 40507, 40520, 40526, 40538, 40543, 40551, 41036, 41039, 41074, 41080, 41106, 41579, 41580, 41594, 41603, 41612, 41621, 41640, 41683, 42251, 42257, 42263, 42755, 42768, 42773, 42783, 42802, 42808, 42815, 42829, 42847, 43317, 43335, 43344, 43364, 43368, 43375, 43383, 43419, 43428, 43564, 43566, 43568, 43570, 43572, 43575, 43580, 43594, 43596, 43599, 43601, 43604, 43615, 43620, 43624, 43629, 43633, 43638, 43644, 43653, 43659, 43668, 43702, 43718, 43756, 43815, 43863, 43900, 43910, 43935, 43954, 43976, 44066, 44172, 44196, 44233, 44345, 44417, 44480, 44504, 45044, 45100, 45104, 45105, 45112, 45113, 45114, 45116, 45200, 45494, 45584, 45619, 45631, 45662, 45677, 46126, 46220, 46330, 46337, 46352, 46357, 46361, 46369, 46389, 46397, 46401, 46431, 46506, 46580, 46585, 46607, 46612, 46614, 46634, 46639, 46646, 46657, 46667, 46670, 46676, 46682, 46685, 46688, 46696, 46701, 46708, 46710, 46716, 46717, 46718, 46719, 46730, 46732, 46740, 46747, 46754, 46756, 46762, 46767, 46768, 46769, 46776, 46785, 46791, 46796, 46798, 46800, 46805, 46810, 46811, 46812, 46821, 46823, 46856, 46877, 47086, 47108, 47237, 47255, 47269, 47307, 47323, 47352, 47441, 47505, 47508, 47515, 47522, 47663, 47818, 47819, 47918, 48041, 48068, 48315, 48411, 48430, 48445, 48462, 48581, 48600, 48739, 48879, 49002, 49016, 49074, 49139, 49143, 49144, 49148, 49149, 49157, 49203, 49553, 49836, 49840, 49842, 49869, 50099, 50113, 50162, 50178, 50197, 50204, 50234, 50242, 50263, 50288, 50289, 50323, 50364, 50424, 50447, 50563, 50575, 50622, 50675, 50829, 50838, 50840, 50850, 50878, 50900, 51060, 51080, 51172, 51246, 51327, 51353, 51357, 51364, 51367, 51369, 51380, 51395, 51416, 51494, 51838, 51991, 52027, 52036, 52230, 52268, 52454, 52472, 52521)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION