SELECT *
FROM london_stages
WHERE eventid IN (3790, 3816, 4040, 4050, 4051, 4111, 4127, 4316, 4317, 4510, 4564, 6010, 6028, 7081, 7162, 7170, 7174, 7258, 7376, 7480, 7508, 7694, 7742, 7787, 7904, 8029, 8031, 8033, 8035, 8037, 8039, 8041, 8086, 8103, 8152, 9184, 10359, 10360, 10363, 10375, 10383, 10898, 10900, 10902, 10982, 11255, 11333, 11334, 11335, 11336, 11337, 11344, 12122, 12239, 12385, 12390, 12494, 12725, 12755, 12808, 12831, 12895, 12910, 12937, 12964, 12972, 12976, 13012, 13109, 13238, 13242, 13426, 13443, 13474, 13579, 13627, 13630, 13642, 13655, 13675, 13715, 13730, 13742, 13802, 13806, 13820, 13882, 13907, 13966, 13973, 13980, 14053, 14055, 14073, 14096, 14121, 14186, 14195, 14220, 14270, 14329, 14347, 14354, 14357, 14372, 14386, 14388, 14394, 14409, 14425, 14477, 14510, 14546, 14564, 14567, 14571, 14574, 14577, 14580, 14584, 14587, 14591, 14594, 14597, 14601, 14605, 14608, 14632, 14687, 14722, 14731, 14749, 14785, 14796, 14825, 14826, 14828, 14831, 14838, 14866, 14904, 14922, 14931, 14938, 14949, 14954, 15045, 15047, 15048, 15049, 15052, 15060, 15074, 15076, 15077, 15078, 15081, 15083, 15090, 15100, 15101, 15108, 15112, 15133, 15136, 15137, 15145, 15149, 15150, 15153, 15154, 15158, 15164, 15165, 15178, 15182, 15193, 15251, 15253, 15256, 15261, 15267, 15271, 15275, 15278, 15282, 15286, 15290, 15293, 15296, 15299, 15309, 15312, 15332, 15341, 15345, 15369, 15392, 15393, 15460, 15469, 15479, 15480, 15482, 15498, 15523, 15528, 15565, 15566, 15571, 15579, 15588, 15603, 15624, 15783, 15804, 15833, 15854, 15860, 15953, 15970, 15999, 16109, 16147, 16151, 16156, 16160, 16164, 16168, 16172, 16176, 16186, 16190, 16194, 16200, 16204, 16210, 16214, 16218, 16222, 16228, 16232, 16233, 16238, 16239, 16244, 16245, 16252, 16274, 16282, 16286, 16307, 16316, 16328, 16337, 16344, 16351, 16365, 16366, 16369, 16374, 16383, 16387, 16388, 16395, 16398, 16403, 16408, 16433, 16434, 16442, 16470, 16487, 16497, 16517, 16559, 16562, 16572, 16580, 16582, 16585, 16586, 16588, 16589, 16591, 16592, 16594, 16595, 16598, 16599, 16600, 16601, 16603, 16605, 16611, 16613, 16615, 16617, 16623, 16624, 16630, 16631, 16633, 16643, 16651, 16654, 16661, 16669, 16674, 16679, 16706, 16716, 16721, 16782, 16783, 16850, 16854, 16857, 16858, 16862, 16866, 16869, 16870, 16874, 16878, 16886, 16890, 16910, 16914, 16922, 16926, 16933, 16937, 16941, 16945, 16949, 16956, 16960, 16985, 16989, 16993, 17029, 17060, 17097, 17109, 17134, 17218, 17262, 17264, 17301, 17311, 17328, 17342, 17347, 17361, 17380, 17385, 17482, 17484, 17485, 17487, 17488, 17492, 17494, 17497, 17524, 17530, 17574, 17614, 17640, 17696, 17707, 17755, 17865, 17884, 17910, 17924, 17933, 17945, 17948, 17992, 18083, 18143, 18148, 18149, 18186, 18203, 18345, 18614, 18674, 18791, 18821, 18859, 18869, 18870, 18901, 18921, 18923, 18929, 18933, 18935, 18937, 18955, 19015, 19024, 19110, 19124, 19127, 19183, 19184, 19186, 19195, 19243, 19289, 19386, 19442, 19580, 19628, 19643, 19655, 19656, 19658, 19659, 19663, 19672, 19674, 19677, 19678, 19683, 19685, 19713, 19715, 19741, 19804, 19828, 19863, 19882, 20006, 20044, 20060, 20106, 20129, 20130, 20132, 20133, 20135, 20137, 20139, 20143, 20147, 20153, 20155, 20157, 20175, 20179, 20187, 20202, 20213, 20214, 20216, 20218, 20223, 20224, 20228, 20231, 20236, 20249, 20252, 20289, 20304, 20314, 20332, 20354, 20401, 20465, 20588, 20618, 20715, 20731, 20736, 20885, 20891, 20894, 20910, 20919, 20957, 21009, 21012, 21015, 21022, 21032, 21088, 21118, 21134, 21159, 21204, 21207, 21211, 21228, 21303, 21317, 21637, 21640, 21649, 21653, 22067, 22094, 22325, 22328, 22331, 22347, 22585, 22610, 22955, 23006, 23102, 23115, 23793, 24130, 24139, 24297, 24332, 24381, 24383, 24393, 24395, 24398, 24400, 24403, 24406, 24407, 24409, 24411, 24414, 24430, 24468, 24534, 24547, 24552, 24584, 24635, 24660, 24670, 24688, 24695, 24701, 24721, 24761, 24805, 24862, 24976, 25017, 25020, 25049, 25127, 25133, 25199, 25286, 25388, 25439, 25453, 25455, 25457, 25461, 25463, 25467, 25469, 25473, 25475, 25477, 25483, 25587, 25589, 25625, 25650, 25680, 25682, 25690, 25752, 25753, 25772, 25810, 25812, 25814, 25816, 25818, 25824, 25831, 25836, 25860, 25862, 25864, 25866, 25867, 25870, 25872, 25888, 25891, 25892, 25893, 25914, 25929, 25955, 25971, 25972, 25986, 26036, 26037, 26041, 26051, 26101, 26105, 26107, 26120, 26133, 26139, 26140, 26227, 26245, 26256, 26260, 26300, 26323, 26329, 26338, 26339, 26341, 26345, 26358, 26361, 26372, 26386, 26406, 26436, 26452, 26462, 26464, 26522, 26525, 26528, 26532, 26542, 26567, 26570, 26571, 26575, 26576, 26584, 26586, 26589, 26592, 26612, 26618, 27195, 27231, 27284, 27298, 27303, 27306, 27364, 27369, 27370, 27375, 27377, 27383, 27387, 27389, 27395, 27400, 27401, 27405, 27408, 27409, 27411, 27415, 27418, 27432, 27440, 27453, 27458, 27459, 27467, 27476, 27484, 27491, 27496, 27509, 27520, 27521, 27528, 27530, 27532, 27538, 27539, 27541, 27542, 27544, 27546, 27547, 27549, 27553, 27556, 27558, 27571, 27573, 27575, 27578, 27580, 27582, 27584, 27585, 27586, 27587, 27594, 27600, 27602, 27613, 27614, 27615, 27620, 27622, 27629, 27640, 27641, 27648, 27713, 27717, 27719, 27720, 27738, 27772, 27794, 27796, 27802, 27815, 27827, 27829, 27849, 27867, 27903, 27931, 27939, 27946, 27950, 27955, 27963, 27968, 27976, 28002, 28010, 28021, 28022, 28028, 28041, 28048, 28052, 28053, 28060, 28062, 28067, 28068, 28086, 28088, 28089, 28091, 28102, 28103, 28104, 28111, 28636, 28658, 28665, 28729, 28822, 28836, 30037, 30074, 30101, 30297, 30304, 30331, 30346, 30601, 30841, 30844, 30846, 30848, 30850, 30853, 30855, 30857, 30859, 30863, 30866, 30868, 30871, 30873, 30875, 30877, 30879, 30881, 30882, 30883, 30885, 30887, 30889, 30892, 30980, 31035, 31136, 31154, 31163, 31172, 31183, 31184, 31192, 31195, 31200, 31204, 31209, 31212, 31214, 31223, 31234, 31239, 31240, 31247, 31251, 31252, 31253, 31256, 31259, 31267, 31281, 31825, 31827, 31839, 31844, 31847, 31849, 31850, 31856, 31873, 31874, 31878, 31880, 31886, 31891, 31896, 31897, 31902, 31903, 31908, 31909, 31919, 31920, 31923, 31924, 31927, 31928, 31936, 31937, 31940, 31941, 31942, 31946, 31950, 31951, 31963, 31967, 31968, 31969, 31972, 31974, 31979, 31982, 31995, 31998, 32000, 32004, 32009, 32010, 32014, 32017, 32019, 32020, 32021, 32023, 32026, 32030, 32032, 32034, 32036, 32041, 32045, 32047, 32048, 32049, 32050, 32051, 32054, 32059, 32060, 32061, 32064, 32066, 32068, 32071, 32075, 32076, 32082, 32083, 32086, 32088, 32090, 32095, 32097, 32100, 32106, 32114, 32121, 32122, 32125, 32126, 32127, 32129, 32131, 32132, 32136, 32158, 32160, 32164, 32165, 32171, 32173, 32181, 32191, 32195, 32200, 32202, 32203, 32206, 32208, 32211, 32212, 32213, 32217, 32219, 32220, 32224, 32226, 32229, 32231, 32233, 32235, 32238, 32240, 32243, 32244, 32245, 32247, 32249, 32252, 32254, 32257, 32259, 32264, 32303, 32822, 32827, 32836, 32872, 32884, 32886, 32898, 32913, 32947, 32952, 32958, 32960, 32970, 32987, 32994, 33012, 33032, 33034, 33093, 33100, 33109, 33129, 33143, 33144, 33146, 33148, 33151, 33152, 33156, 33157, 33158, 33161, 33163, 33174, 33181, 33185, 33186, 33191, 33204, 33206, 33207, 33214, 33215, 33217, 33241, 33779, 33783, 33798, 34601, 34885, 34901, 34905, 34915, 34927, 34930, 34934, 34938, 34949, 34953, 34955, 34959, 34960, 34961, 34962, 34967, 34968, 34970, 34972, 34975, 34976, 34980, 34981, 34982, 34985, 35009, 35028, 35031, 35033, 35038, 35042, 35045, 35048, 35049, 35051, 35060, 35064, 35066, 35068, 35070, 35072, 35073, 35075, 35078, 35079, 35080, 35088, 35091, 35098, 35102, 35103, 35104, 35105, 35106, 35113, 35116, 35119, 35120, 35122, 35125, 35128, 35130, 35132, 35135, 35138, 35143, 35147, 35149, 35158, 35163, 35167, 35168, 35173, 35184, 35188, 35195, 35197, 35210, 35223, 35229, 35236, 35240, 35241, 35243, 35245, 35246, 35250, 35251, 35258, 35264, 35269, 35270, 35275, 35278, 35279, 35281, 35282, 35283, 35286, 35287, 35289, 35292, 35294, 35295, 35297, 35302, 35305, 35308, 35311, 35314, 35316, 35317, 35319, 35320, 35321, 35322, 35325, 35328, 35331, 35332, 35337, 35338, 35340, 35343, 35345, 35349, 35354, 35355, 35357, 35358, 35360, 35363, 35365, 35368, 35379, 35381, 35452, 35468, 35470, 35497, 35504, 35509, 35520, 35523, 35530, 35535, 35537, 35540, 35544, 35548, 35556, 35557, 35561, 35566, 35569, 35574, 35575, 35576, 35578, 35582, 35588, 35589, 35590, 35595, 35596, 35602, 35616, 35618, 35621, 35626, 35627, 35630, 35632, 35639, 35645, 35646, 35659, 35666, 35669, 35673, 35679, 35692, 35696, 35700, 35703, 35705, 35713, 35717, 35723, 35734, 35739, 35742, 35750, 35760, 35761, 35766, 35767, 35774, 35775, 35784, 35812, 35818, 35834, 35842, 35843, 35845, 35849, 35860, 35864, 35866, 35870, 35871, 35874, 35875, 35876, 35877, 35880, 35881, 35883, 35886, 35887, 35889, 35892, 35893, 35895, 35898, 35900, 35901, 35904, 35905, 35906, 35907, 35911, 35914, 35919, 35922, 35923, 35927, 35930, 35932, 35933, 35935, 35937, 35938, 35943, 35944, 35946, 35950, 35952, 35954, 35959, 35970, 35971, 35982, 35984, 35986, 35987, 35989, 36521, 36653, 36676, 36683, 36685, 36690, 36691, 36694, 36695, 36696, 36699, 36710, 36717, 36719, 36724, 36725, 36726, 36753, 36762, 36778, 36780, 36782, 36787, 36793, 36805, 36809, 36811, 36820, 36822, 36825, 36827, 36830, 36832, 36839, 36841, 36850, 36861, 36862, 36863, 36872, 36875, 36877, 36878, 36881, 36883, 36886, 36892, 36909, 36963, 36969, 36973, 36980, 36986, 36988, 36996, 37002, 37003, 37005, 37009, 37012, 37014, 37016, 37018, 37019, 37026, 37033, 37034, 37036, 37039, 37044, 37045, 37046, 37049, 37050, 37052, 37055, 37056, 37058, 37059, 37060, 37063, 37064, 37066, 37068, 37069, 37071, 37072, 37076, 37077, 37078, 37082, 37088, 37091, 37092, 37094, 37096, 37097, 37099, 37105, 37107, 37110, 37124, 37150, 37152, 37153, 37171, 37189, 37207, 37215, 37219, 37223, 37227, 37251, 37252, 37254, 37255, 37256, 37258, 37262, 37263, 37266, 37269, 37270, 37271, 37274, 37275, 37277, 37282, 37283, 37284, 37289, 37292, 37295, 37300, 37306, 37310, 37315, 37316, 37319, 37320, 37327, 37329, 37331, 37332, 37334, 37336, 37338, 37341, 37346, 37353, 37361, 37367, 37373, 37379, 37387, 37389, 37401, 37403, 37405, 37408, 37413, 37422, 37435, 37439, 37441, 37443, 37451, 37460, 37461, 37462, 37469, 37480, 37486, 37491, 37505, 37525, 37533, 37534, 37540, 37546, 37548, 37570, 37571, 37574, 37575, 37578, 37580, 37584, 37592, 37595, 37597, 37598, 37599, 37604, 37605, 37607, 37609, 37613, 37614, 37617, 37618, 37622, 37624, 37629, 37631, 37632, 37636, 37637, 37638, 37641, 37649, 37654, 37656, 37657, 37660, 37666, 37667, 37668, 37671, 37674, 37676, 37678, 37680, 37683, 37688, 37695, 37763, 37782, 37783, 37788, 37789, 37792, 37794, 37798, 37799, 37800, 37801, 37805, 37806, 37807, 37808, 37812, 37814, 37816, 37819, 37820, 37824, 37826, 37831, 37838, 37839, 37840, 37843, 37844, 37846, 37857, 37867, 37870, 37876, 37880, 37881, 37883, 37885, 37888, 37892, 37898, 37906, 37908, 37909, 37910, 37917, 37922, 37931, 37935, 37936, 37937, 37938, 37942, 37944, 37946, 37951, 37957, 37963, 37965, 37968, 37969, 37972, 37978, 37981, 37990, 37992, 37995, 37997, 37999, 38004, 38012, 38017, 38022, 38029, 38032, 38033, 38038, 38048, 38051, 38061, 38070, 38076, 38078, 38092, 38093, 38103, 38105, 38106, 38108, 38112, 38119, 38122, 38123, 38124, 38128, 38134, 38136, 38137, 38144, 38153, 38157, 38158, 38160, 38162, 38165, 38167, 38171, 38176, 38177, 38178, 38181, 38183, 38184, 38186, 38187, 38188, 38189, 38191, 38192, 38196, 38198, 38200, 38203, 38205, 38206, 38207, 38208, 38211, 38213, 38216, 38217, 38221, 38225, 38227, 38228, 38234, 38237, 38243, 38247, 38251, 38307, 38310, 38311, 38316, 38317, 38319, 38326, 38329, 38331, 38332, 38333, 38335, 38338, 38339, 38340, 38342, 38343, 38345, 38346, 38347, 38349, 38351, 38352, 38353, 38354, 38355, 38356, 38357, 38358, 38360, 38361, 38362, 38364, 38365, 38367, 38368, 38369, 38370, 38373, 38378, 38382, 38388, 38391, 38392, 38395, 38397, 38402, 38405, 38408, 38416, 38420, 38421, 38427, 38429, 38434, 38436, 38439, 38441, 38444, 38448, 38464, 38473, 38477, 38478, 38479, 38481, 38482, 38483, 38486, 38489, 38490, 38492, 38499, 38507, 38508, 38509, 38510, 38515, 38523, 38531, 38538, 38539, 38540, 38545, 38546, 38549, 38554, 38560, 38563, 38565, 38568, 38569, 38581, 38585, 38588, 38589, 38593, 38603, 38620, 38629, 38642, 38644, 38649, 38654, 38657, 38658, 38659, 38669, 38676, 38678, 38679, 38682, 38685, 38690, 38692, 38698, 38699, 38700, 38701, 38703, 38704, 38706, 38709, 38714, 38719, 38720, 38721, 38722, 38724, 38725, 38726, 38729, 38731, 38732, 38734, 38736, 38739, 38740, 38741, 38744, 38745, 38746, 38749, 38750, 38751, 38754, 38755, 38758, 38760, 38762, 38764, 38766, 38767, 38768, 38769, 38771, 38778, 38780, 38785, 38790, 38794, 38796, 38798, 38801, 38807, 38812, 38829, 38851)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION