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, 44066, 44196, 44233, 44345, 44417, 44480, 44504, 45044, 45112, 45200, 45494, 45584, 45619, 45631, 45662, 45677, 46126, 46220, 46330, 46337, 46352, 46646, 46667, 46670, 46682, 46685, 46696, 46701, 46710, 46717, 46754, 46767, 46798, 46805, 46811, 46821, 46856, 47307, 47323, 47352, 47508, 47522, 47819, 47918, 48445, 48462, 49139, 49143, 49144, 49148, 49149, 49157, 49836, 49840, 49842, 50234, 50242, 50263, 50289, 50829, 50838, 50840, 50850, 50900, 51395, 51416, 51991)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION