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, 47064, 47069, 47074, 47084, 47089, 47094, 47099, 47105, 47110, 47115, 47120)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION