SELECT *
FROM london_stages
WHERE eventid IN (38186, 39460, 39462, 39465, 39468, 39470, 39472, 39474, 39476, 39478, 39482, 39484, 39491, 39495, 39504, 39534, 39548, 39555, 39572, 39639, 39651, 39668, 39684, 39702, 39723, 39731, 39745, 39791, 39826, 39832, 39859, 40033, 40100, 40122, 40145, 40155, 40301, 40400, 40412, 40437, 40449, 40455, 40592, 40637, 40671, 40858, 40899, 40961, 40993, 41088, 41093, 41142, 41168, 41232, 41543, 41563, 41799, 41962, 41973, 41975, 41979, 41983, 41986, 41989, 41993, 41997, 42060, 42092, 42427, 42432, 42571, 42615, 42619, 42646, 42669, 42723, 42794, 42854, 42862, 42867, 42921, 42953, 42954, 43114, 43450, 43466, 43479, 43546, 43775, 43941, 43952, 43955, 43958, 44026, 44060, 44094, 44118, 44201, 44447, 44487, 44530, 44536, 44906, 44943, 44997, 45019, 45034, 45654, 46078, 46115, 46160, 46224, 46244, 46410, 46685, 46696, 46701, 46710, 46717, 46738, 47214, 47675, 47695, 47839, 47852, 47910, 48442, 48669, 48847, 48852, 48855, 48857, 48859, 48866, 48869, 48873, 48875, 48880, 48883, 48888, 48891, 48893, 48900, 48903, 48910, 48917, 48919, 48924, 48928, 48931, 48934, 48946, 48957, 49013, 49017, 49065, 49583, 49609, 49631, 49637, 49914, 50047, 50197, 50204, 50260, 50273, 50277, 50282, 50592, 50601, 50727, 50773, 50890, 51053, 51158, 51916, 51943, 51961, 52193, 52419)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION