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, 39992, 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, 42092, 42427, 42432, 42571, 42615, 42619, 42646, 42669, 42723, 42794, 42854, 42862, 42867, 42921, 42953, 42954, 43114, 43450, 43466, 43479, 43546, 43683, 43775, 43805, 43941, 43952, 43955, 43958, 44026, 44060, 44094, 44118, 44149, 44151, 44153, 44157, 44201, 44322, 44324, 44447, 44487, 44530, 44536, 44540, 44906, 44943, 44997, 45019, 45034, 45654, 46078, 46115, 46160, 46244, 46410, 46685, 46696, 46701, 46710, 46717, 46738, 47214, 47675, 47695, 47839, 47852, 47910, 48442, 48669, 48847, 48855, 48928, 49013, 49017, 49065, 49631, 50260, 50273, 50277, 50282, 50511, 51053, 51158)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION