SELECT *
FROM london_stages
WHERE eventid IN (38923, 38927, 38936, 38941, 38950, 38955, 38964, 38969, 38978, 38992, 38997, 39005, 39010, 39019, 39040, 39053, 39064, 39071, 39080, 39085, 39092, 39097, 39106, 39112, 39120, 39125, 39134, 39139, 39148, 39153, 39162, 39168, 39174, 39180, 39186, 39192, 39198, 39204, 39215, 39221, 39227, 39233, 39238, 39244, 39249, 39256, 39267, 39272, 39279, 39284, 39290, 39295, 39300, 39311, 39319, 39328, 39332, 39340, 39344, 39350, 39352, 39356, 39358, 39364, 39367, 39373, 39382, 40110, 40119, 40124, 40133, 40138, 40147, 40152, 40161, 40166, 40171, 40177, 40186, 40191, 40200, 40206, 40215, 40220, 40229, 40241, 40246, 40255, 40260, 40268, 40273, 40280, 40293, 40317, 40321, 40346, 40351, 40365, 40380, 40394, 40404, 40409, 40414, 40423, 40429, 40434, 40451, 40482, 40490, 40934, 40949, 40963, 40975, 40990, 41004, 41013, 41021, 41029, 41037, 41046, 41395, 41400, 41405, 41409, 41418, 41426, 41431, 41437, 41443, 41448, 41456, 41463, 41467, 41472, 41477, 41492, 41501, 41506, 41511, 41516, 41521, 41530, 41540, 41545, 41550, 41560, 41565, 41574, 41578, 41581, 41593, 41596, 41605, 41608, 41611, 41614, 41619, 41622, 41883, 41894, 41904, 41932, 42018, 42038, 42043, 42048, 42054, 42069, 42084, 42089, 42094, 42172, 42174, 42177, 42180, 42552, 42557, 42567, 42572, 42577, 42582, 42587, 43177, 43187, 43196, 43209, 43235, 43240, 43251, 43261, 43291, 43301, 43311, 43334, 43687, 43700, 43716, 43730, 43737, 43744, 43796, 43807, 43813, 43842, 43869, 43874, 43879, 43884, 43889, 43915, 43921, 43939, 43993, 44021, 44342, 44405, 44410, 44435, 44440, 44445, 44455, 44485, 44494, 44497, 44518, 44811, 44820, 44825, 44832, 44837, 45106, 45112, 45350, 45362, 45370, 45375, 45382, 45387, 45391, 45404, 45421, 45426, 45430, 45434, 45447, 45452, 45507, 45527, 45575, 45598, 45606, 45609, 45612, 45615, 45620, 45655, 45656, 45657, 45658, 45677, 45708, 46343, 46353, 46363, 46365, 46387, 46399, 46407, 46409, 46411, 46413, 46415, 46417, 46419, 46421, 46423, 46425, 46427, 46429, 46431, 46433, 46436, 46438, 46441, 46443, 46446, 46448, 46452, 46455, 46457, 46460, 46462, 46464, 46474, 46483, 46488, 46490, 46492, 46500, 46511, 46519, 46533, 46571, 46593, 46614, 46632, 46642, 46700, 46711, 46729, 46737, 46743, 46746, 46751, 46758, 47064, 47069, 47074, 47084, 47089, 47094, 47099, 47105, 47110, 47115, 47120, 47135, 47140, 47163, 47169, 47257, 47268, 47275, 47325, 47365, 47573, 47795, 47801, 47806, 47816, 47821, 47826, 47836, 47846, 47856, 47861, 47875, 47888, 47900, 47903, 47906, 50486, 50488, 50491, 50493, 50495, 50497, 50500, 50502, 50505, 50507, 50509, 50511, 50514, 50523, 50528, 50537, 50542, 50558, 50570)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION