SELECT *
FROM london_stages
WHERE eventid IN (39960, 39961, 39962, 39963, 39964, 39966, 39968, 39970, 39972, 39978, 39981, 39985, 39990, 39998, 40001, 40009, 40011, 40013, 40014, 40472, 40476, 40478, 40484, 40491, 40505, 40515, 40530, 40540, 40546, 40562, 41006, 41015, 41019, 41020, 41026, 41031, 41035, 41065, 41073, 41075, 41081, 41590, 41604, 41624, 41633, 41681, 41684, 42173, 42176, 42187, 42198, 42205, 42223, 42245, 42259, 42750, 42753, 42755, 42758, 42760, 42762, 42764, 42765, 42767, 42768, 42770, 42773, 42774, 42775, 42778, 42780, 42782, 42783, 42788, 42790, 42797, 42802, 42805, 42808, 42815, 42819, 42829, 42834, 42843, 42847, 43323, 43339, 43932, 43953, 43983, 44012, 44501, 45062, 45071, 45093, 45597, 45604, 45605, 45679, 46179, 46181, 46193, 46199, 46210, 46216, 46225, 46227, 46245, 46742, 46749, 46775, 46777, 46779, 46783, 46787, 46789, 46794, 46795, 46797, 46799, 46810, 46819, 47916, 47931, 47938, 47941, 47962, 47967, 49125, 49130, 49914, 49939, 50078, 50088, 50112, 50185, 50197, 50199, 50204)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION