SELECT *
FROM london_stages
WHERE eventid IN (39847, 49080, 49089, 49091, 49094, 49096, 49099, 49101, 49102, 49103, 49105, 49107, 49109, 49110, 49111, 49112, 49114, 49117, 49119, 49198, 49200, 49202, 49205, 49210, 49213, 49218, 49225, 49227, 49230, 49249, 49255, 49261, 49273, 49279, 49285, 49297, 49304, 49311, 49320, 49325, 49344, 49347, 49349, 49363, 49367, 49370, 49377, 49381, 49389, 49395, 49407, 49412, 49415, 49771, 49773, 49774, 49778, 49782, 49790, 49795, 49802, 49812, 49824, 49830, 49838, 49846, 49850, 49858, 49862, 49866, 49870, 49874, 49876, 49887, 49901, 49911, 49937, 49997, 50012, 50034, 50047, 50093, 50098, 50101, 50103, 50105, 50107, 50115, 50117, 50120, 50122, 50130, 50133, 50152, 50190, 50592, 50596, 50601, 50610, 50615, 50619, 50627, 50631, 50634, 50637, 50639, 50643, 50646, 50649, 50651, 50655, 50658, 50661, 50687, 50689, 50692, 50706, 50713, 50730, 50735, 50743, 50746, 50748, 50751, 50761, 50773, 50781, 50783, 50785, 50789, 50794, 50796, 50799, 52211, 52213, 52215, 52220, 52224, 52226, 52233, 52238, 52240, 52244, 52254, 52261, 52266, 52281, 52388, 52390, 52395, 52397, 52448, 52455, 52467, 52480)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION