SELECT *
FROM london_stages
WHERE eventid IN (31783, 31784, 31785, 31786, 31788, 31789, 31790, 31791, 31792, 31793, 31794, 31795, 31796, 31797, 31798, 31799, 31800, 31801, 31802, 31803, 31804, 31805, 31806, 31807, 31808, 31809, 31810, 31811, 31812, 31813, 31814, 31815, 31816, 31817, 31818, 31819, 31820, 31821, 31823, 31935, 31937, 31939, 31941, 31944, 31949, 31951, 31953, 32773, 32775, 32777, 32783, 32786, 32788, 32790, 32792, 32793, 32795, 32796, 32801, 32804, 33227, 33228, 33229, 33230, 33232, 33233, 33234, 33250, 34170, 34285, 34301, 35370, 35380, 35387, 35458, 35475, 35484, 35860, 35874, 35886, 35932, 35954, 35969, 36008, 36078, 36088, 36102, 36113, 36124, 36271, 36315, 36329, 36384, 36440, 36477, 36494, 36511, 36539, 36557, 36612, 36628, 36663, 36671, 36724, 37109, 37125, 37135, 37149, 37195, 37225, 37243, 37296, 37368, 37485, 37689, 37705, 37759, 37843, 37858, 37878, 38016, 38162, 38241, 38257, 38265, 38277, 38280, 38289, 38304, 38789, 38810, 38828, 38834, 38853, 38859, 38870, 38876, 38932, 39293, 39347, 39363, 39402, 39442, 39443, 39444, 39640, 39642, 39906, 39980, 40443, 40472, 40473, 40499, 40500, 40504, 40517, 40523, 40525, 40547, 40720, 41043, 41048, 41070, 41126, 41589, 41629, 41673, 43156, 43960, 43972, 43994, 44003, 44297, 44474, 45600, 45619, 45625, 45629, 45646, 45659, 45664, 45673, 45680, 45744, 45773, 46047, 46187, 46215, 46745, 46783, 47394, 47404, 47410, 47421, 47427, 47451, 47456, 47459, 47467, 47491, 47706, 47721, 47837, 48112, 48340, 48622, 49153, 49162, 49419, 49651, 49703, 50440, 51082, 51094, 51208, 51561)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION