SELECT *
FROM london_stages
WHERE eventid IN (38818, 38825, 38833, 39310, 39334, 39338, 39342, 39348, 39368, 39385, 39418, 39420, 39422, 39423, 39424, 39429, 40465, 40473, 40479, 40481, 40487, 40489, 40494, 40502, 40507, 40520, 40526, 40538, 40543, 40551, 41036, 41039, 41041, 41050, 41054, 41055, 41056, 41057, 41059, 41060, 41061, 41063, 41065, 41066, 41068, 41071, 41074, 41080, 41083, 41086, 41087, 41089, 41091, 41101, 41579, 41580, 41661, 46342, 46344, 46346, 46348, 46354, 46356, 46358, 46366, 46422, 46435, 46445, 46463, 46468, 46489, 46521, 46633, 47327, 47341, 47356, 47362, 47363, 47366, 47368, 47373, 47374, 47389, 47390, 47392, 47393, 47395, 47396, 47397, 47399, 47403, 47405, 47407, 47409, 47411, 47412, 47413, 47414, 47416, 47417, 47419, 47422, 47424, 47468, 47476, 47596, 47599, 47602, 47604, 47606, 47608, 47610, 47613, 47615, 47618, 47620, 47622, 47624, 47627, 47630, 47634, 47636, 47646, 47648, 47652, 47656, 47660, 47664, 47671, 47673, 47677, 47684, 47687, 47703, 47708, 47721, 47743, 47768, 47827, 47859, 47868, 47876, 47907, 47914, 47915, 47917, 47919, 47920, 47921, 47922, 47924, 47929, 47930, 47936, 47942, 47945, 47946, 47947, 47948, 47951, 47954, 47957, 47958, 47959, 47960, 47963, 47967, 47970, 47972, 47977, 47979, 47982, 47985, 47986, 47988, 47991, 48081, 48083, 48085, 48087, 48089, 48092, 48094, 48096, 48098, 48100, 48102, 48112, 48122, 48136, 48145, 48149, 48153, 48157, 48169, 48173, 48181, 48185, 48208, 48222, 48277, 48319, 48340, 48401, 48415, 48429, 48448)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION