SELECT *
FROM london_stages
WHERE eventid IN (39455, 39460, 39462, 39465, 39468, 39470, 39472, 39474, 39476, 39478, 39482, 39484, 39491, 39495, 39504, 39506, 39513, 39525, 39530, 39534, 39541, 39544, 39548, 39555, 39569, 39572, 39581, 39583, 39586, 39590, 39592, 39595, 39597, 39605, 39609, 39623, 39634, 39639, 39651, 39655, 39660, 39663, 39668, 39670, 39680, 39684, 39697, 39702, 39704, 39718, 39723, 39731, 39743, 39745, 39791, 39826, 39832, 39837, 39849, 39859, 39861, 39863, 39866, 39868, 39873, 39880, 39883, 39886, 39888, 39891, 39898, 39907, 40019, 40033, 40041, 40043, 40045, 40047, 40049, 40050, 40054, 40056, 40058, 40060, 40062, 40064, 40066, 40068, 40070, 40072, 40074, 40076, 40078, 40080, 40082, 40084, 40086, 40088, 40090, 40092, 40094, 40096, 40098, 40100, 40102, 40104, 40106, 40111, 40113, 40115, 40117, 40120, 40122, 40127, 40129, 40134, 40139, 40141, 40143, 40145, 40148, 40155, 40164, 40167, 40169, 40175, 40178, 40182, 40189, 40218, 40258, 40262, 40264, 40266, 40269, 40288, 40294, 40301, 40322, 40339, 40352, 40366, 40371, 40376, 40381, 40400, 40405, 40410, 40412, 40440)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION