SELECT *
FROM london_stages
WHERE eventid IN (39351, 39353, 39354, 39355, 39357, 39359, 39370, 39371, 39376, 39379, 39381, 39384, 39386, 39388, 39390, 39392, 39393, 39395, 39396, 39398, 39400, 39401, 39403, 39405, 39406, 39408, 39410, 39412, 39413, 39414, 39415, 39416, 39417, 39419, 39421, 39422, 39424, 39425, 39427, 39428, 39429, 39430, 39431, 39432, 39433, 39434, 39435, 39436, 39437, 39438, 39439, 39440, 39920, 39922, 39927, 39928, 39930, 39932, 39934, 39937, 39943, 39945, 39947, 39948, 39950, 39953, 39954, 39955, 39957, 39960, 39961, 39962, 39963, 39964, 39965, 39966, 39967, 39968, 39969, 39970, 39971, 39972, 39976, 39977, 39978, 39979, 39981, 39982, 39983, 39984, 39985, 39986, 39988, 39989, 39990, 39991, 39993, 39994, 39995, 39996, 39997, 39998, 39999, 40000, 40001, 40002, 40003, 40004, 40005, 40007, 40008, 40009, 40010, 40011, 40012, 40013, 40014, 40016, 40018, 40465, 40472, 40473, 40474, 40476, 40478, 40479, 40480, 40481, 40483, 40484, 40486, 40487, 40488, 40489, 40491, 40492, 40494, 40502, 40505, 40507, 40509, 40510, 40511, 40512, 40513, 40515, 40516, 40517, 40519, 40520, 40524, 40526, 40527, 40528, 40529, 40530, 40531, 40532, 40535, 40536, 40537, 40538, 40540, 40541, 40542, 40543, 40544, 40545, 40546, 40551, 40554, 40557, 40558, 40562, 41006, 41014, 41015, 41017, 41019, 41020, 41022, 41026, 41031, 41035, 41036, 41039, 41041, 41050, 41054, 41055, 41056, 41057, 41059, 41060, 41061, 41063, 41065, 41066, 41067, 41068, 41071, 41073, 41074, 41075, 41077, 41078, 41080, 41081, 41083, 41086, 41087, 41088, 41089, 41091, 41094, 41099, 41101, 41106, 41590, 41601, 41603, 41604, 41607, 41610, 41615, 41618, 41621, 41624, 41626, 41631, 41633, 41642, 41646, 41647, 41649, 41653, 41654, 41655, 41656, 41657, 41658, 41659, 41660, 41661, 41662, 41663, 41665, 41666, 41667, 41669, 41671, 41672, 41673, 41674, 41678, 41680, 41681, 41682, 41684, 41685, 41686, 42753, 42755, 42766, 42767, 42768, 42770, 42773, 42777, 42783, 42792, 42802, 42808, 42812, 42815, 42821, 42825, 42827, 42829, 42830, 42831, 42833, 42834, 42835, 42836, 42837, 42840, 42847, 42849)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION