SELECT *
FROM london_stages
WHERE eventid IN (17740, 17743, 17747, 38945, 38947, 38952, 38959, 38963, 38966, 38968, 39009, 39012, 40938, 40941, 40943, 40953, 40958, 40967, 40972, 40978, 40992, 41005, 50137, 50145, 50152, 50155, 50157, 50171, 50176, 50188, 50194, 50202, 50209, 50212, 50219, 50220, 50228, 51042, 51044, 51046, 51049, 51053, 51056, 51058, 51063, 51066, 51068, 51070, 51075, 51077, 51080, 51082, 51084, 51089, 51091, 51094, 51096, 51103, 51106, 51109, 51111, 51113, 51115, 51118, 51120, 51123, 51125, 51127, 51129, 51132, 51134, 51137, 51139, 51141, 51144, 51146, 51149, 51151, 51153, 51155, 51158, 51160, 51163, 51165, 51167, 51169, 51172, 51174, 51178, 51181, 51184, 51186, 51190, 51193, 51196, 51198, 51202, 51205, 51208, 51210, 51214, 51217, 51220, 51222, 51226, 51233, 51236, 51240, 51246, 51248, 51251, 51253, 51255, 51260, 51262, 51265, 51267, 51270, 51272, 51279, 51282, 51284, 51287, 51294, 51297, 51299, 51301, 51311, 51313, 51321, 51323, 51326, 51328, 51335, 51337, 51340, 51344, 51348, 51350, 51353, 51355, 51362, 51364, 51369, 51375, 51377, 51380, 51390, 51493, 51499, 51500, 51502, 51504, 51507, 51508, 51516, 51518, 51520, 51526, 51530, 51534, 51538, 51542, 51546, 51556, 51568, 51570, 51572, 51582, 51595, 51602, 51609, 51620, 51623, 51626, 51628, 51633, 51638, 51640, 51642, 51644, 51647, 51649, 51658, 51705, 51717, 51819, 51821, 51830, 51832, 51837, 51844, 51848, 51850, 51855, 51863, 51865, 51872, 51876, 51878, 51884, 51894, 51913, 51980, 52059, 52067, 52084, 52086, 52088, 52091, 52092, 52095, 52096, 52103, 52105, 52107, 52111, 52115, 52117, 52125, 52127, 52135, 52143, 52149, 52153, 52163, 52167, 52171, 52175, 52201, 52203, 52240, 52270, 52302, 52313, 52334, 52340, 52342, 52346, 52349, 52352, 52354, 52358, 52364, 52370, 52376, 52412, 52475, 52482, 52489)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION