SELECT *
FROM london_stages
WHERE eventid IN (17696, 17992, 31788, 31790, 31794, 31797, 31801, 31805, 31810, 31811, 31816, 31820, 32966, 32969, 32972, 32974, 32976, 32978, 32981, 32983, 32985, 32987, 32989, 32991, 32994, 33139, 33225, 33226, 33227, 33228, 33229, 33230, 33231, 33232, 33233, 33234, 33241, 33243, 33244, 33245, 33250, 33252, 33256, 33257, 33265, 33269, 33271, 33273, 33275, 37109, 37121, 37125, 37135, 37141, 37144, 37149, 37160, 37175, 37177, 37178, 37179, 37180, 37183, 37186, 37190, 37193, 37195, 37199, 37201, 37204, 37207, 37210, 37685, 37689, 37692, 37705, 37707, 37713, 37723, 37733, 37756, 37759, 37777, 38241, 38257, 38265, 38277, 38280, 38289, 38291, 38292, 38293, 38297, 38300, 38304, 38306, 38307, 38308, 38842, 38843, 38844, 38845, 38866, 38872, 38875, 38878, 38882, 38887, 38890, 38900, 39111, 39278, 39662, 39774, 39777, 39845, 39901, 39906, 39910, 39916, 39921, 39923, 39926, 39931, 39936, 39941, 39946, 40016)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION