SELECT *
FROM london_stages
WHERE eventid IN (40533, 40534, 40536, 40540, 40543, 40544, 40545, 40546, 40548, 40549, 40550, 40552, 40555, 40556, 40559, 40560, 41023, 41027, 41030, 41033, 41035, 41041, 41044, 41049, 41050, 41053, 41056, 41058, 41059, 41061, 41062, 41064, 41065, 41069, 41073, 41080, 41089, 41091, 41092, 41094, 41095, 41096, 41097, 41100, 41104, 41518, 41592, 41597, 41600, 41606, 41616, 41623, 41630, 41634, 41636, 41648, 41651, 41664, 41665, 41667, 41812, 41814, 41818, 41823, 41826, 41831, 42178, 42182, 42190, 42251, 42252, 42257, 42263, 42760, 42765, 42797, 42819, 43048, 43052, 43059, 43319, 43343, 43356, 43364, 43377, 43379, 43383, 43389, 43403, 43422, 43433, 43909, 43916, 43946, 43953, 43984, 43999, 44016, 44503, 44517, 44526, 44527, 44532, 44557, 44560, 44563, 44576, 44581, 44586, 45059, 45080, 45092, 45613, 45617, 45641, 45649, 45685, 46185, 46191, 46201, 46204, 46211, 46219, 46228, 46230, 46236, 46240, 46241, 46248, 46249, 46254, 46256, 46258, 46759, 46762, 46764, 46768, 46778, 46785, 46786, 46792, 46801, 46805, 46810, 46812, 46813, 46816, 46856, 47350, 47353, 47370, 47376, 47380, 47383, 47385, 47386, 47387, 47388, 47423, 47424, 47912, 47927, 47952, 47957, 47965, 47969, 47976, 47980, 47990, 48445, 48454, 48466, 48472, 48474, 48478, 48480, 48482, 48487, 48496, 48497, 48515, 48526, 48530, 48532, 48533, 48995, 49142, 49166, 49175, 49178, 49182, 49665, 49675, 49679, 49683, 49688, 49691, 49698, 49699, 49706, 49707, 49712, 49720, 49724, 49725, 49726, 49734, 49736, 49738, 49740, 49741, 49746, 49748, 49750, 49752, 49753, 50251, 50256, 50260, 50271, 50279, 50284, 50286, 50287, 50291, 50296, 50297, 50302, 50303, 50307, 50314, 50317, 50318, 51367)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION