SELECT *
FROM london_stages
WHERE eventid IN (40229, 40241, 40255, 40268, 40280, 40286, 40298, 40306, 40312, 40327, 40336, 40356, 40370, 40375, 40385, 40399, 40497, 40656, 40661, 40670, 40675, 40684, 40689, 40698, 40704, 40709, 40715, 40724, 40739, 40744, 40753, 40768, 40773, 40782, 40785, 40793, 40805, 40817, 40829, 40835, 40843, 40853, 40857, 40871, 40903, 40913, 40918, 40923, 40929, 40939, 40944, 40954, 40968, 40981, 40995, 41000, 41007, 41016, 41024, 41032, 41046, 41220, 41225, 41276, 41288, 41293, 41302, 41316, 41321, 41330, 41336, 41345, 41348, 41357, 41367, 41372, 41386, 41413, 41467, 41477, 41486, 41492, 41501, 41506, 41511, 41516, 41521, 41530, 41535, 41545, 41560, 41565, 41581, 41593, 41596, 41605, 41608, 41777, 41782, 41791, 41798, 41805, 41810, 41819, 41824, 41829, 41834, 41844, 41849, 41854, 41859, 41864, 41873, 41878, 41888, 41899, 41904, 41910, 41919, 41927, 41932, 41937, 41946, 41951, 41959, 41964, 41968, 41972, 41977, 41981, 41995, 42004, 42008, 42012, 42023, 42027, 42038, 42048, 42059, 42064, 42074, 42079, 42089, 42104, 42109, 42120, 42130, 42135, 42138, 42155, 42158, 42169, 42185, 42193, 42196, 42201)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION