SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`published_dt` AS `t0_c11`, `t0`.`priority` AS `t0_c12`, `t0`.`is_latest_show` AS `t0_c13`, `t0`.`top_show` AS `t0_c14`, `t0`.`article_form` AS `t0_c15`, `t0`.`article_category` AS `t0_c16`, `t0`.`article_subject` AS `t0_c17`, `t0`.`article_link_url` AS `t0_c18`, `t0`.`article_heading` AS `t0_c19`, `t0`.`article_body` AS `t0_c20`, `t0`.`top_pattern` AS `t0_c21`, `t0`.`top_title` AS `t0_c22`, `t0`.`top_body` AS `t0_c23`, `t0`.`top_order` AS `t0_c24` FROM `web_articles` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`history_of_id` = 69671 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_articles` AS `t0` WHERE `t0`.`history_of_id` = 69671 AND `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) LIMIT 1Connection name: default Speed: 1.211 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_articles_idx_1 · Key Used: web_articles_idx_1 · Type: range · Rows: 4 (Using index condition; Using where) · Query: SUBQUERY on t0 · Possible keys: web_articles_idx_1 · Key Used: web_articles_idx_1 · Type: ref · Rows: 4 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/article.php, line 784File: APPPATH/classes/controller/news.php, line 114File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_article_id` AS `t0_c1`, `t0`.`tag` AS `t0_c2` FROM `web_article_to_tags` AS `t0` WHERE `t0`.`web_article_id` = '69681'Connection name: default Speed: 0.688 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_article_to_tags_idx_1 · Key Used: web_article_to_tags_idx_1 · Type: ref · Rows: 8 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/hasmany.php, line 79File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: APPPATH/classes/model/web/article.php, line 1046File: APPPATH/classes/controller/news.php, line 130File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT * FROM `web_article_to_tags` WHERE `tag` IN ('新着記事', '野澤 真央', '2024年度', '42nd フジサンケイレディスクラシック', '126', '小林 光希', '尾関 彩美悠', '小祝 さくら') AND EXISTS (SELECT 1 FROM (SELECT MAX(`id`) AS `icd` FROM `web_articles` WHERE `deleted_at` IS NULL AND `is_visibility` = 1 AND `is_draft` = 1 GROUP BY `history_of_id` ) as `lastest_article` WHERE `web_article_to_tags`.`web_article_id` = `lastest_article`.`icd`) AND `web_article_id` <> 69681 GROUP BY `web_article_id` ORDER BY COUNT(*) DESC LIMIT 1000Connection name: default Speed: 158.945 ms Query analysis: · Query: PRIMARY on <derived3> · Type: ALL · Rows: 205 (Using where; Using temporary; Using filesort; Start temporary) · Query: PRIMARY on web_article_to_tags · Possible keys: web_article_to_tags_idx_1,web_article_to_tags_idx_2 · Key Used: web_article_to_tags_idx_1 · Type: ref · Rows: 4 (Using where; End temporary) · Query: DERIVED on web_articles · Possible keys: web_articles_idx_1 · Key Used: web_articles_idx_1 · Type: ref · Rows: 20528 (Using where; Using index) Call trace for this query:File: APPPATH/classes/model/web/article/to/tag.php, line 204File: APPPATH/classes/model/web/article.php, line 804File: APPPATH/classes/controller/news.php, line 131File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT MAX(`id`) AS `icd`
FROM `web_articles`
WHERE `deleted_at` IS NULL
AND `id` IN (69716,69662,69704,69603,69625,69654,69659,69630,69689,68928,69640,69608,69656,69684,69151,69542,69632,69686,69717,69718,69648,61943,69127,66818,69991,69955,64316,67520,68893,69189,70113,65918,68088,68506,68951,68164,69275,69822,69561,69995,69025,65720,66017,65985,66579,67559,64223,68152,68536,68621,69135,69231,69493,65722,67621,68106,68231,68415,55253,68798,68779,68831,68919,69118,69093,69190,69167,69443,69210,69560,69734,69935,69911,60558,69875,61139,61296,61606,62890,64256,69028,68148,66294,69926,69516,68530,68632,68285,64664,69234,70067,67371,64495,68234,68839,68730,68168,65846,69589,69089,69409,65645,66393,68091,66972,64759,68505,68372,68155,68669,68930,68658,68239,64690,69290,69064,69530,69771,69537,69922,70019,69158,64271,65473,65957,65134,64523,66882,66367,67438,68109,29668,67407,66573,64506,68204,68149,68318,68527,68280,68173,68804,68735,68629,68878,68980,68856,68701,64252,69063,69273,69433,69405,69095,69508,69779,69692,69085,69927,70096,70068,69883,70033,64651,64743,64700,64416,65678,68529,65874,40931,65806,65502,64304,66551,66208,66817,67123,66986,66788,67729,67326,68090,68120,68114,68041,67502,66392,68158,68190,68270,68240,68259,68468,68435,68344,68510,68580,68545,68330,68141,68700,68609,68802,68792,68862,68901,68869,68832,43694,68954,68982,68974,68873,68657,68179,64478,69185,69188,69123,69058,69391,69352,69401,69449,69438,69408,69284,69068,69557,69584,69543,69719,69781,69848,69818,69759,69496,69040,70028,69972,69918,45901,45924,70111,45978,70072,70086,69884,46003,46017,69959,69074,64541,46716,49479,50393,51250,64524,64411,64216,64682,64599,64737,64744,64710,64586,52499,64178,65351,64938,65561,65700,52627,65518,64803,65910,65915,65769,65931,66051,66033,65917,65745,64767,64112,66198,66519,66694,66567,66482,66163,67057,66855,66741,66948,67333,67058,66919,66699,66109,67404,67321,67493,67827,67495,67297,68097,68084,67954,68122,68121,68099,67861,67253,66078,63533,68171,68160,68138,55112,68187,68219,55127,68242,68181,68133,55202,68266,55207,68401,68332,68264,55259,68537,68496,68473,68519,64065,68585,68607,68540,68758,68258,68130,68603,68639,68718,68691,68635,68608,68777,68780,68749,68764,68746,68606,68857,68903,68897,68871,56625,68821,68950,68952,57006,68994,68984,68964,68913,68835,68578,68128,57247,63498,69072,69035,69166,69120,69184,69192,69113,69007,69248,69225,69283,69345,69351,69281,69208,69403,69384,69328,69426,69455,69431,69329,69001,69541,69550,69609,69579,69591,58601,69649,69614,69565,69460,58881,59045,69693,69785,69783,69732,69826,69853,69819,69815,69733,69468,68999,69880,70021,70020,69979,70016,60493,70035,70026,70011,69967,70125,70062,70094,70075,70039,69879,69899,68997,63305,68528,61633,61706,61742,61759,61764,61780,62212,61807,61961,61980,62007,62028,62154,62478,62488,62508,62524,62543,62540,62541,62557,62578,62575,62576,62605,62606,62592,62634,62623,62716,62675,62690,62756,62834,62867,62918,62951,63121,63140,63145,63153,63225,63240,23367,23088,23087,22903,22902,22751,22750,22203,65306,65305,64846,64845,64844,64843,5663,5664,6707,6728,6734,6739,6737,6809,8357,9409,9426,12167,15601,15644,15646,44202,15737,15692,15683,44201,21707,21709,21723,21722,21724,21750,21753,23433,24200,24731,24758,24925,25524,25548,25673,26045,26088,26989,27733,27788,27979,28060,28069,28088,28078,28082,28083,28100,28132,28137,28135,28170,28171,28160,28156,28192,28195,33196,33385,33425,33413,33470,33450,33453,33447,33482,33474,33508,33507,33506,33741,44064,33915,33957,34000,34021,34051,34418,34456,34559,34643,34661,44059,34909,35127,34977,35152,35213,35205,35211,35258,35310,35328,35345,35543,36115,35631,36114,35741,35771,35943,35963,36052,44057,36145,36451,36514,36533,36667,36862,36977,37050,37186,37224,37247,37329,37324,37359,37494,37513,37587,44052,37902,37953,38012,38404,38077,44051,38871,38440,68553,45911,45935,45949,45967,45984,46002,45997,46028,46027,46023,46024,46222,46042,46062,46128,46396,46211,46229,46299,46450,46511,46589,46621,46683,46702,46701,46741,46753,46944,47191,46984,47177,47154,47188,47212,47247,47273,47298,48231,47374,47422,47519,47544,47611,47608,47666,47703,47745,47786,47816,47917,47976,48008,50223,48024,48086,56833,50224,48168,48199,48213,48250,48310,48358,48360,48404,48443,48460,48531,48574,48696,48711,48755,48840,48873,49061,49089,49135,49146,49162,49178,49231,49257,49292,49346,49345,49390,49400,49450,49506,49522,49523,49571,49591,49748,49702,49701,49815,49745,49791,49804,49826,49906,49937,49953,49981,50010,50036,50054,50096,50128,50192,50216,50230,50246,50277,50325,50394,50438,50624,50666,50702,50750,50786,50866,51105,51110,51107,51151,51236,51262,51350,51374,51396,51475,51485,51520,51927,51650,51778,51741,51929,51942,61811,61133,61136,61137,64040,61138,61140,61141,61281,61144,62896,61275,61284,61290,61567,61486,66904,61338,61346,61349,61371,61393,61387,61392,61407,61410,61400,61428,61444,61434,62206,61446,61467,61465,61474,61472,61487,61510,61542,61597,61566,61592,61593,61594,61603,61640,61625,61658,62213,61686,61698,61691,61739,61737,61734,61766,61769,61991,61783,61781,61804,67264,61826,61824,61833,61831,62057,61839,63553,61877,61886,61895,61900,61909,61911,61915,61918,61924,61939,61941,61938,61946,62058,62104,62005,62002,61996,62211,62022,62210,62040,62086,62085,62069,62209,63388,62083,62088,62099,62110,62115,62111,62117,62163,62127,62136,62135,62147,62208,66903,62162,62207,62180,62191,62185,67044,63452,62319,62225,62254,62268,62267,62266,62258,62469,62292,62287,62300,62310,62316,62337,62329,62345,62362,62408,62419,62409,62415,62399,62414,62397,62423,62434,62441,62439,62449,62450,62466,62460,62471,62472,62486,62495,62492,62551,62655,62648,63896,62681,62680,62705,62715,62713,62720,62730,62737,62739,62740,62749,62752,62766,62765,62773,62789,62786,62775,62805,62814,62810,66896,62807,62836,62832,62851,62865,62868,62889,62893,63208,62961,62954,62960,62964,62988,62986,63032,62979,63027,63023,63021,63031,63017,63057,63061,63043,63053,63064,63070,63073,63081,63097,63093,63091,63100,63125,63113,63126,63144,63149,63175,63166,63180,63173,63179,63200,63203,63196,63226)
GROUP BY `history_of_id`Connection name: default Speed: 6.234 ms Query analysis: · Query: SIMPLE on web_articles · Possible keys: PRIMARY,id,web_articles_idx_1 · Key Used: PRIMARY · Type: range · Rows: 1000 (Using where; Using temporary) Call trace for this query:File: APPPATH/classes/model/web/article/to/tag.php, line 222File: APPPATH/classes/model/web/article.php, line 804File: APPPATH/classes/controller/news.php, line 131File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`published_dt` AS `t0_c11`, `t0`.`priority` AS `t0_c12`, `t0`.`is_latest_show` AS `t0_c13`, `t0`.`top_show` AS `t0_c14`, `t0`.`article_form` AS `t0_c15`, `t0`.`article_category` AS `t0_c16`, `t0`.`article_subject` AS `t0_c17`, `t0`.`article_link_url` AS `t0_c18`, `t0`.`article_heading` AS `t0_c19`, `t0`.`article_body` AS `t0_c20`, `t0`.`top_pattern` AS `t0_c21`, `t0`.`top_title` AS `t0_c22`, `t0`.`top_body` AS `t0_c23`, `t0`.`top_order` AS `t0_c24` FROM `web_articles` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (5663, 5664, 6707, 6728, 6734, 6737, 6739, 6809, 8357, 9409, 9426, 12167, 15601, 15644, 15646, 15683, 15692, 15737, 21707, 21709, 21722, 21723, 21724, 21750, 21753, 22203, 22750, 22751, 22902, 22903, 23087, 23088, 23367, 23433, 24200, 24731, 24758, 24925, 25524, 25548, 25673, 26045, 26088, 26989, 27733, 27788, 27979, 28060, 28069, 28078, 28082, 28083, 28088, 28100, 28132, 28135, 28137, 28156, 28160, 28170, 28171, 28192, 28195, 29668, 33196, 33385, 33413, 33425, 33447, 33450, 33453, 33470, 33474, 33482, 33506, 33507, 33508, 33741, 33915, 33957, 34000, 34021, 34051, 34418, 34456, 34559, 34643, 34661, 34909, 34977, 35127, 35152, 35205, 35211, 35213, 35258, 35310, 35328, 35345, 35543, 35631, 35741, 35771, 35943, 35963, 36052, 36114, 36115, 36145, 36451, 36514, 36533, 36667, 36862, 36977, 37050, 37186, 37224, 37247, 37324, 37329, 37359, 37494, 37513, 37587, 37902, 37953, 38012, 38077, 38404, 38440, 38871, 40931, 43694, 44051, 44052, 44057, 44059, 44064, 44201, 44202, 45901, 45911, 45924, 45935, 45949, 45967, 45978, 45984, 45997, 46002, 46003, 46017, 46023, 46024, 46027, 46028, 46042, 46062, 46128, 46211, 46222, 46229, 46299, 46396, 46450, 46511, 46589, 46621, 46683, 46701, 46702, 46716, 46741, 46753, 46944, 46984, 47154, 47177, 47188, 47191, 47212, 47247, 47273, 47298, 47374, 47422, 47519, 47544, 47608, 47611, 47666, 47703, 47745, 47786, 47816, 47917, 47976, 48008, 48024, 48086, 48168, 48199, 48213, 48231, 48250, 48310, 48358, 48360, 48404, 48443, 48460, 48531, 48574, 48696, 48711, 48755, 48840, 48873, 49061, 49089, 49135, 49146, 49162, 49178, 49231, 49257, 49292, 49345, 49346, 49390, 49400, 49450, 49479, 49506, 49522, 49523, 49571, 49591, 49701, 49702, 49745, 49748, 49791, 49804, 49815, 49826, 49906, 49937, 49953, 49981, 50010, 50036, 50054, 50096, 50128, 50192, 50216, 50223, 50224, 50230, 50246, 50277, 50325, 50393, 50394, 50438, 50624, 50666, 50702, 50750, 50786, 50866, 51105, 51107, 51110, 51151, 51236, 51250, 51262, 51350, 51374, 51396, 51475, 51485, 51520, 51650, 51741, 51778, 51927, 51929, 51942, 52499, 52627, 55112, 55127, 55202, 55207, 55253, 55259, 56625, 56833, 57006, 57247, 58601, 58881, 59045, 60493, 60558, 61133, 61136, 61137, 61138, 61139, 61140, 61141, 61144, 61275, 61281, 61284, 61290, 61296, 61338, 61346, 61349, 61371, 61387, 61392, 61393, 61400, 61407, 61410, 61428, 61434, 61444, 61446, 61465, 61467, 61472, 61474, 61486, 61487, 61510, 61542, 61566, 61567, 61592, 61593, 61594, 61597, 61603, 61606, 61625, 61633, 61640, 61658, 61686, 61691, 61698, 61706, 61734, 61737, 61739, 61742, 61759, 61764, 61766, 61769, 61780, 61781, 61783, 61804, 61807, 61811, 61824, 61826, 61831, 61833, 61839, 61877, 61886, 61895, 61900, 61909, 61911, 61915, 61918, 61924, 61938, 61939, 61941, 61943, 61946, 61961, 61980, 61991, 61996, 62002, 62005, 62007, 62022, 62028, 62040, 62057, 62058, 62069, 62083, 62085, 62086, 62088, 62099, 62104, 62110, 62111, 62115, 62117, 62127, 62135, 62136, 62147, 62154, 62162, 62163, 62180, 62185, 62191, 62206, 62207, 62208, 62209, 62210, 62211, 62212, 62213, 62225, 62254, 62258, 62266, 62267, 62268, 62287, 62292, 62300, 62310, 62316, 62319, 62329, 62337, 62345, 62362, 62397, 62399, 62408, 62409, 62414, 62415, 62419, 62423, 62434, 62439, 62441, 62449, 62450, 62460, 62466, 62469, 62471, 62472, 62478, 62486, 62488, 62492, 62495, 62508, 62524, 62540, 62541, 62543, 62551, 62557, 62575, 62576, 62578, 62592, 62605, 62606, 62623, 62634, 62648, 62655, 62675, 62680, 62681, 62690, 62705, 62713, 62715, 62716, 62720, 62730, 62737, 62739, 62740, 62749, 62752, 62756, 62765, 62766, 62773, 62775, 62786, 62789, 62805, 62807, 62810, 62814, 62832, 62834, 62836, 62851, 62865, 62867, 62868, 62889, 62890, 62893, 62896, 62918, 62951, 62954, 62960, 62961, 62964, 62979, 62986, 62988, 63017, 63021, 63023, 63027, 63031, 63032, 63043, 63053, 63057, 63061, 63064, 63070, 63073, 63081, 63091, 63093, 63097, 63100, 63113, 63121, 63125, 63126, 63140, 63144, 63145, 63149, 63153, 63166, 63173, 63175, 63179, 63180, 63196, 63200, 63203, 63208, 63225, 63226, 63240, 63305, 63388, 63452, 63498, 63533, 63553, 63896, 64040, 64065, 64112, 64178, 64216, 64223, 64252, 64256, 64271, 64304, 64316, 64411, 64416, 64478, 64495, 64506, 64523, 64524, 64541, 64586, 64599, 64651, 64664, 64682, 64690, 64700, 64710, 64737, 64743, 64744, 64759, 64767, 64803, 64843, 64844, 64845, 64846, 64938, 65134, 65305, 65306, 65351, 65473, 65502, 65518, 65561, 65645, 65678, 65700, 65720, 65722, 65745, 65769, 65806, 65846, 65874, 65910, 65915, 65917, 65918, 65931, 65957, 65985, 66017, 66033, 66051, 66078, 66109, 66163, 66198, 66208, 66294, 66367, 66392, 66393, 66482, 66519, 66551, 66567, 66573, 66579, 66694, 66699, 66741, 66788, 66817, 66818, 66855, 66882, 66896, 66903, 66904, 66919, 66948, 66972, 66986, 67044, 67057, 67058, 67123, 67253, 67264, 67297, 67321, 67326, 67333, 67371, 67404, 67407, 67438, 67493, 67495, 67502, 67520, 67559, 67621, 67729, 67827, 67861, 67954, 68041, 68084, 68088, 68090, 68091, 68097, 68099, 68106, 68109, 68114, 68120, 68121, 68122, 68128, 68130, 68133, 68138, 68141, 68148, 68149, 68152, 68155, 68158, 68160, 68164, 68168, 68171, 68173, 68179, 68181, 68187, 68190, 68204, 68219, 68231, 68234, 68239, 68240, 68242, 68258, 68259, 68264, 68266, 68270, 68280, 68285, 68318, 68330, 68332, 68344, 68372, 68401, 68415, 68435, 68468, 68473, 68496, 68505, 68506, 68510, 68519, 68527, 68528, 68529, 68530, 68536, 68537, 68540, 68545, 68553, 68578, 68580, 68585, 68603, 68606, 68607, 68608, 68609, 68621, 68629, 68632, 68635, 68639, 68657, 68658, 68669, 68691, 68700, 68701, 68718, 68730, 68735, 68746, 68749, 68758, 68764, 68777, 68779, 68780, 68792, 68798, 68802, 68804, 68821, 68831, 68832, 68835, 68839, 68856, 68857, 68862, 68869, 68871, 68873, 68878, 68893, 68897, 68901, 68903, 68913, 68919, 68928, 68930, 68950, 68951, 68952, 68954, 68964, 68974, 68980, 68982, 68984, 68994, 68997, 68999, 69001, 69007, 69025, 69028, 69035, 69040, 69058, 69063, 69064, 69068, 69072, 69074, 69085, 69089, 69093, 69095, 69113, 69118, 69120, 69123, 69127, 69135, 69151, 69158, 69166, 69167, 69184, 69185, 69188, 69189, 69190, 69192, 69208, 69210, 69225, 69231, 69234, 69248, 69273, 69275, 69281, 69283, 69284, 69290, 69328, 69329, 69345, 69351, 69352, 69384, 69391, 69401, 69403, 69405, 69408, 69409, 69426, 69431, 69433, 69438, 69443, 69449, 69455, 69460, 69468, 69493, 69496, 69508, 69516, 69530, 69537, 69541, 69542, 69543, 69550, 69557, 69560, 69561, 69565, 69579, 69584, 69589, 69591, 69603, 69608, 69609, 69614, 69625, 69630, 69632, 69640, 69648, 69649, 69654, 69656, 69659, 69662, 69684, 69686, 69689, 69692, 69693, 69704, 69716, 69717, 69718, 69719, 69732, 69733, 69734, 69759, 69771, 69779, 69781, 69783, 69785, 69815, 69818, 69819, 69822, 69826, 69848, 69853, 69875, 69879, 69880, 69883, 69884, 69899, 69911, 69918, 69922, 69926, 69927, 69935, 69955, 69959, 69967, 69972, 69979, 69991, 69995, 70011, 70016, 70019, 70020, 70021, 70026, 70028, 70033, 70035, 70039, 70062, 70067, 70068, 70072, 70075, 70086, 70094, 70096, 70111, 70113, 70125) AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW())) ORDER BY `t0`.`published_dt` DESCConnection name: default Speed: 37.627 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_articles_idx_1 · Key Used: PRIMARY · Type: range · Rows: 1000 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/article.php, line 821File: APPPATH/classes/controller/news.php, line 131File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_article_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`display_target` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_article_to_s3s` AS `t0` WHERE `t0`.`web_article_id` = '69681' AND `t0`.`display_target` = 3 LIMIT 1Connection name: default Speed: 1.879 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_article_to_s3s_idx_1 · Key Used: web_article_to_s3s_idx_1 · Type: ref · Rows: 2 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/controller/news.php, line 138File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`s3_path` AS `t0_c6`, `t0`.`description` AS `t0_c7`, `t0`.`file_size_kb` AS `t0_c8`, `t0`.`private_note` AS `t0_c9` FROM `cms_s3s` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` = '44441') LIMIT 1Connection name: default Speed: 0.571 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/controller/news.php, line 138File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 11 AND `t0`.`device` = 1 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 3.172 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 397File: APPPATH/classes/presenter/web/layout/sub/banner/lower/sp/top.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 141File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 11 AND `t0`.`device` = 2 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 1.835 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 413File: APPPATH/classes/presenter/web/layout/sub/banner/lower/sp/top.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 141File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 11 AND `t0`.`device` = 1 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 2.767 ms · DUPLICATE Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 397File: APPPATH/classes/presenter/web/layout/sub/banner/lower/top.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/news/info.php, line 63File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: APPPATH/views/web/layout/template.php, line 149File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 11 AND `t0`.`device` = 2 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 2.885 ms · DUPLICATE Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 413File: APPPATH/classes/presenter/web/layout/sub/banner/lower/top.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/news/info.php, line 63File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: APPPATH/views/web/layout/template.php, line 149File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 12 AND `t0`.`device` = 1 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 2.209 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 397File: APPPATH/classes/presenter/web/layout/sub/banner/lower/bottom.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/news/info.php, line 66File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: APPPATH/views/web/layout/template.php, line 149File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 12 AND `t0`.`device` = 2 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 1.978 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 413File: APPPATH/classes/presenter/web/layout/sub/banner/lower/bottom.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/news/info.php, line 66File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: APPPATH/views/web/layout/template.php, line 149File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`apply_target` AS `t0_c1`, `t0`.`published_dt_begin` AS `t0_c2`, `t0`.`status_year` AS `t0_c3` FROM `web_status_years` AS `t0` WHERE `t0`.`apply_target` = 1 AND `t0`.`published_dt_begin` <= '2024/05/15 21:53:08' ORDER BY `t0`.`status_year` DESC LIMIT 1Connection name: default Speed: 0.612 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_status_years_idx_1 · Key Used: web_status_years_idx_1 · Type: range · Rows: 15 (Using index condition; Using where; Backward index scan) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/status/year.php, line 217File: APPPATH/classes/model/web/tournament.php, line 2583File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_dt_tour_detail` AS `t0_c8`, `t0`.`published_dt_tour_top` AS `t0_c9`, `t0`.`course_description` AS `t0_c10`, `t0`.`last_year_winner_1` AS `t0_c11`, `t0`.`last_year_winner_2` AS `t0_c12`, `t0`.`winner_1` AS `t0_c13`, `t0`.`winner_2` AS `t0_c14` FROM `web_tournament_supplements` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`published_dt_tour_top` <= '2024/05/15 21:53:08')Connection name: default Speed: 3.629 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_supplements_idx_1 · Type: ALL · Rows: 2663 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1062File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20150011, 20150020, 20150033, 20150040, 20151020, 20151031, 20151073, 20151113, 20151121, 20151130, 20151152, 20151160, 20151190, 20151213, 20151242, 20151260, 20151270, 20151312, 20151340, 20151890, 20151900, 20151922, 20151940, 20151963, 20152010, 20152020, 20152031, 20152080, 20152090, 20152100, 20152120, 20152130, 20152140, 20152150, 20152160, 20152170, 20155027, 20158190, 20158250, 20158262, 20158300, 20158310, 20158321, 20158330, 20158340, 20158350, 20158360, 20158370, 20158380, 20158390, 20158400, 20156220, 20156240, 20157010, 20158901, 20158910, 20158930, 20160011, 20160020, 20160033, 20160040, 20161020, 20161031, 20161073, 20161113, 20161121, 20161130, 20161152, 20161160, 20161190, 20161213, 20161242, 20161260, 20161270, 20161312, 20161340, 20161890, 20161900, 20161922, 20161940, 20161963, 20162010, 20162020, 20162031, 20162080, 20162090, 20162100, 20162120, 20162130, 20162140, 20162150, 20162160, 20162170, 20162180, 20165027, 20166220, 20166240, 20167010, 20168190, 20168250, 20168262, 20168300, 20168310, 20168321, 20168330, 20168340, 20168350, 20168360, 20168370, 20168380, 20168390, 20168400, 20168410, 20168420, 20168430, 20168440, 20168901, 20168910, 20168930, 20168940, 20169011, 20169012, 20169013, 20169021, 20169022, 20169023, 20169000, 20169024, 20169111, 20169112, 20169113, 20169121, 20169122, 20169100, 20169123, 20169124, 20169131, 20169132, 20169201, 20169202, 20169930, 20170011, 20170020, 20170033, 20170040, 20171020, 20171031, 20171073, 20171113, 20171121, 20171130, 20171152, 20171160, 20171190, 20171213, 20171242, 20171260, 20171270, 20171312, 20171340, 20171890, 20171900, 20171922, 20171940, 20171963, 20172010, 20172020, 20172031, 20172080, 20172090, 20172100, 20172120, 20172130, 20172140, 20172150, 20172160, 20172170, 20172180, 20175027, 20176220, 20176240, 20177010, 20178190, 20178250, 20178262, 20178300, 20178310, 20178321, 20178330, 20178340, 20178350, 20178360, 20178370, 20178380, 20178390, 20178400, 20178410, 20178420, 20178430, 20178440, 20178450, 20178460, 20178470, 20178840, 20178901, 20178910, 20178930, 20178940, 20179011, 20179012, 20179013, 20179840, 20179910, 20179930, 20179301, 20179021, 20179022, 20179023, 20179024, 20179000, 20179111, 20179112, 20179113, 20179201, 20179202, 20179121, 20179122, 20179123, 20179124, 20179131, 20179132, 20179100, 20180011, 20180020, 20180033, 20180040, 20181020, 20181031, 20181073, 20181113, 20181121, 20181130, 20181152, 20181160, 20181190, 20181213, 20181242, 20181260, 20181270, 20181312, 20181340, 20181890, 20181900, 20181922, 20181940, 20181963, 20182010, 20182020, 20182031, 20182080, 20182090, 20182100, 20182120, 20182130, 20182140, 20182150, 20182160, 20182170, 20182180, 20185027, 20186220, 20187010, 20188190, 20188250, 20188262, 20188300, 20188310, 20188321, 20188330, 20188340, 20188350, 20188360, 20188370, 20188380, 20188390, 20188400, 20188410, 20188420, 20188430, 20188440, 20188450, 20188460, 20188840, 20188901, 20188910, 20188940, 20189301, 20189840, 20189940, 20189950, 20189960, 20189970, 20189302, 20189011, 20189012, 20189013, 20189000, 20189021, 20189023, 20189014, 20189111, 20189112, 20189113, 20189114, 20189121, 20189122, 20189123, 20189124, 20189201, 20189202, 20189131, 20189132, 20189100, 20190011, 20190020, 20190033, 20190040, 20191020, 20191031, 20191073, 20191121, 20191130, 20191152, 20191160, 20191213, 20191242, 20191260, 20191270, 20191340, 20191890, 20191900, 20191922, 20191940, 20191963, 20192010, 20192020, 20192031, 20192080, 20192090, 20192100, 20192120, 20192130, 20192140, 20192150, 20192160, 20192170, 20192180, 20192190, 20195027, 20196220, 20198190, 20198250, 20198262, 20198300, 20198310, 20198321, 20198330, 20198340, 20198350, 20198360, 20198370, 20198380, 20198390, 20198400, 20198420, 20198430, 20198440, 20198450, 20198460, 20198470, 20198840, 20198901, 20198910, 20199840, 20199950, 20199960, 20199970, 20199301, 20199302, 20199011, 20199012, 20191113, 20191190, 20191312, 20199013, 20199014, 20199015, 20199021, 20199023, 20199000, 20199027, 20199201, 20199100, 20199111, 20199112, 20199113, 20200011, 20200020, 20200033, 20200040, 20201020, 20201031, 20201073, 20201113, 20201121, 20201130, 20201152, 20201160, 20201190, 20201213, 20201260, 20201270, 20201312, 20201340, 20201890, 20201900, 20201922, 20201940, 20201963, 20202010, 20202020, 20202031, 20202080, 20202090, 20202100, 20202120, 20202130, 20202140, 20202150, 20202170, 20202180, 20202190, 20205027, 20206220, 20207010, 20208190, 20208250, 20208262, 20208300, 20208310, 20208330, 20208350, 20208360, 20208370, 20208380, 20208390, 20208400, 20208420, 20208430, 20208440, 20208450, 20208460, 20208470, 20208840, 20208901, 20208910, 20209840, 20209950, 20209960, 20209970, 20209301, 20209302, 20209000, 20209011, 20209012, 20209013, 20209014, 20209015, 20209021, 20209023, 20209027, 20209100, 20209111, 20209112, 20209113, 20209201, 20209202, 20210011, 20210020, 20210033, 20210040, 20211020, 20211031, 20211073, 20211113, 20211121, 20211130, 20211152, 20211160, 20211190, 20211213, 20211260, 20211270, 20211312, 20211340, 20211890, 20211900, 20211922, 20211940, 20211963, 20212010, 20212020, 20212031, 20212080, 20212090, 20212100, 20212120, 20212130, 20212140, 20212150, 20212170, 20212180, 20212190, 20215027, 20216220, 20217010, 20218300, 20218310, 20218330, 20218350, 20218360, 20218370, 20218380, 20218390, 20218400, 20218420, 20218430, 20218440, 20218470, 20218901, 20218910, 20218950, 20218960, 20219970, 20219301, 20219302, 20218480, 20212200, 20219000, 20219011, 20219012, 20219013, 20219014, 20219015, 20219021, 20219023, 20219027, 20219100, 20219111, 20219112, 20219113, 20219201, 20219202, 20220011, 20220020, 20220033, 20220040, 20221020, 20221031, 20221073, 20221113, 20221121, 20221130, 20221152, 20221160, 20221190, 20221213, 20221242, 20221260, 20221270, 20221312, 20221340, 20221890, 20221900, 20221922, 20221940, 20221963, 20222010, 20222020, 20222031, 20222080, 20222090, 20222100, 20222120, 20222130, 20222150, 20222170, 20222180, 20222190, 20222200, 20225027, 20226220, 20227010, 20228300, 20228310, 20228330, 20228350, 20228360, 20228370, 20228380, 20228390, 20228400, 20228420, 20228430, 20228440, 20228450, 20228460, 20228470, 20228480, 20228901, 20228950, 20228960, 20228970, 20228980, 20229970, 20229301, 20229302, 20229404, 20229401, 20229402, 20229403, 20229202, 20229201, 20229011, 20229012, 20229013, 20229014, 20229015, 20229021, 20229023, 20229027, 20229000, 20039011, 20039012, 20039013, 20039014, 20039015, 20039016, 20039021, 20039022, 20039023, 20039024, 20039025, 20039026, 20039027, 20039028, 20039029, 20039030, 20039031, 20039032, 20039033, 20039034, 20039035, 20039100, 20039111, 20039112, 20039113, 20039121, 20039122, 20039123, 20039124, 20039131, 20039132, 20228490, 20229111, 20229112, 20229113, 20229100, 20230011, 20230020, 20230033, 20230040, 20231020, 20231031, 20231073, 20231113, 20231121, 20231130, 20231152, 20231160, 20231190, 20231213, 20231242, 20231260, 20231270, 20231312, 20231340, 20231890, 20231900, 20231922, 20231940, 20231963, 20232010, 20232020, 20232031, 20232080, 20232090, 20232100, 20232120, 20232130, 20232150, 20232170, 20232180, 20232190, 20232200, 20235027, 20236220, 20237011, 20238300, 20238310, 20238321, 20238330, 20238350, 20238360, 20238370, 20238380, 20238390, 20238400, 20238420, 20238430, 20238440, 20238450, 20238460, 20238470, 20238480, 20238490, 20238500, 20238510, 20238520, 20238901, 20238950, 20238960, 20238970, 20238980, 20239970, 20239404, 20239301, 20239302, 20238530, 20239401, 20239402, 20239403, 20239011, 20239012, 20239013, 20239014, 20239015, 20239021, 20239000, 20239023, 20239027, 20238540, 20239100, 20239111, 20239112, 20239113, 20239141, 20239201, 20239202, 20240040, 20241113, 20241121, 20241160, 20241190, 20241260, 20241340, 20241922, 20241940, 20241963, 20242020, 20242031, 20242080, 20242090, 20242100, 20242130, 20242150, 20242190, 20248350, 20248400, 20248420, 20248430, 20248450, 20248500, 20248530, 20248901, 20248950, 20248960, 20249700, 20249970, 20249301, 20249302, 20249401, 20249411) AND `t0`.`id` NOT IN (20179840, 20179910, 20179930) AND `t0`.`is_visibility` = 1 AND `t0`.`status_year` = 2024 AND `t0`.`holding_dt_begin` <= '2024/05/15 21:53:08' AND `t0`.`tournament_type` IN ('01')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` DESC LIMIT 1Connection name: default Speed: 3.962 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: web_tournaments_idx_1 · Type: ref · Rows: 2573 (Using index condition; Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1110File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = '20241963' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 1.454 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`s3_path` AS `t0_c6`, `t0`.`description` AS `t0_c7`, `t0`.`file_size_kb` AS `t0_c8`, `t0`.`private_note` AS `t0_c9` FROM `cms_s3s` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` = '43971') LIMIT 1Connection name: default Speed: 1.176 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`tournament_type` AS `t0_c10`, `t0`.`tournament_name` AS `t0_c11`, `t0`.`tournament_name_en` AS `t0_c12`, `t0`.`web_member_id` AS `t0_c13`, `t0`.`web_member_name` AS `t0_c14`, `t0`.`web_member_name_en` AS `t0_c15`, `t0`.`is_amateur` AS `t0_c16`, `t0`.`ranking` AS `t0_c17`, `t0`.`ranking_type` AS `t0_c18`, `t0`.`official_type` AS `t0_c19`, `t0`.`against_par` AS `t0_c20`, `t0`.`round_sum` AS `t0_c21`, `t0`.`qualifier_flag` AS `t0_c22`, `t0`.`not_be_continued_type` AS `t0_c23`, `t0`.`not_be_continued_reason` AS `t0_c24`, `t0`.`1r` AS `t0_c25`, `t0`.`2r` AS `t0_c26`, `t0`.`3r` AS `t0_c27`, `t0`.`4r` AS `t0_c28`, `t0`.`earnings` AS `t0_c29`, `t0`.`is_earnings_non_addition` AS `t0_c30`, `t0`.`ranking_1r` AS `t0_c31`, `t0`.`ranking_1r_type` AS `t0_c32`, `t0`.`ranking_2r` AS `t0_c33`, `t0`.`ranking_2r_type` AS `t0_c34`, `t0`.`ranking_3r` AS `t0_c35`, `t0`.`ranking_3r_type` AS `t0_c36`, `t0`.`ranking_4r` AS `t0_c37`, `t0`.`ranking_4r_type` AS `t0_c38`, `t0`.`second_cut_flag` AS `t0_c39` FROM `web_tournament_records` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963) ORDER BY `t0`.`created_at` DESC LIMIT 1Connection name: default Speed: 0.714 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_records_idx_2 · Key Used: web_tournament_records_idx_2 · Type: ref · Rows: 1 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/record.php, line 260File: APPPATH/classes/model/web/tournament/record.php, line 556File: APPPATH/classes/model/web/tournament.php, line 846File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963 AND `t0`.`published_target` = 1 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 1.799 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2223File: APPPATH/classes/model/web/tournament/player.php, line 239File: APPPATH/classes/model/web/tournament.php, line 865File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT web_members.id, web_members.affiliation, web_members.name_kana, web_tournament_players.web_member_id, web_tournament_players.web_member_name, web_tournament_players.web_member_name_en, web_tournament_players.is_amateur FROM `web_tournament_players` LEFT JOIN `web_members` ON (`web_members`.`id` = `web_tournament_players`.`web_member_id`) WHERE web_tournament_players.is_visibility = 1 AND web_tournament_players.web_tournament_id = 20241963 ORDER BY web_tournament_players.web_member_name_kana ASC LIMIT 20Connection name: default Speed: 0.876 ms Query analysis: · Query: SIMPLE on web_tournament_players · Possible keys: web_tournament_players_idx_2 · Key Used: web_tournament_players_idx_2 · Type: ref · Rows: 108 (Using where; Using filesort) · Query: SIMPLE on web_members · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: eq_ref · Rows: 1 Call trace for this query:File: APPPATH/classes/model/web/tournament/player.php, line 276File: APPPATH/classes/model/web/tournament.php, line 865File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`class_no` AS `t0_c11`, `t0`.`out_in_type` AS `t0_c12`, `t0`.`time_begin` AS `t0_c13`, `t0`.`batting_order` AS `t0_c14`, `t0`.`web_member_id` AS `t0_c15`, `t0`.`web_member_name` AS `t0_c16`, `t0`.`web_member_name_en` AS `t0_c17`, `t0`.`belonging_name_short` AS `t0_c18`, `t0`.`is_amateur` AS `t0_c19`, `t0`.`country_name_short` AS `t0_c20`, `t0`.`country_name_en` AS `t0_c21`, `t0`.`1r` AS `t0_c22`, `t0`.`2r` AS `t0_c23`, `t0`.`3r` AS `t0_c24`, `t0`.`4r` AS `t0_c25`, `t0`.`round_total` AS `t0_c26`, `t0`.`against_par` AS `t0_c27` FROM `web_tournament_pairings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241963) GROUP BY `t0`.`round_no`Connection name: default Speed: 0.578 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_pairings_idx_1,web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament/pairing.php, line 174File: APPPATH/classes/model/web/tournament.php, line 867File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963 AND (`t0`.`round_no` = 1 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.674 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 222File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963 AND (`t0`.`round_no` = 2 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.871 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 223File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963 AND (`t0`.`round_no` = 3 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.671 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 224File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963 AND (`t0`.`round_no` = 4 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.638 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 225File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `1r`
,NULL AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20241963
AND `web_tournament_pairings`.`round_no` = 1
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20241963
AND `main`.`round_no` = 1
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 0.952 ms Query analysis: · Query: SIMPLE on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: SIMPLE on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 0.492 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `web_tournaments`.`id` FROM `web_tournaments` LEFT JOIN `web_tournament_supplements` ON (`web_tournament_supplements`.`web_tournament_id` = `web_tournaments`.`id`) WHERE web_tournaments.is_visibility = 1 AND web_tournament_supplements.is_visibility = 1 AND web_tournaments.id = 20241963 AND CASE WHEN web_tournament_supplements.published_dt_tour_detail IS NULL THEN (CASE WHEN web_tournaments.holding_dt_begin <= '2024-07-01 00:00:00' THEN 1 ELSE 0 END) ELSE (CASE WHEN web_tournament_supplements.published_dt_tour_detail <= '2024/05/15 21:53:08' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 1.375 ms Query analysis: · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_tournament_supplements · Key Used: web_tournament_supplements_idx_1 · Type: index · Rows: 2663 (Using where; Using index) Call trace for this query:File: APPPATH/classes/model/web/tournament.php, line 1634File: APPPATH/classes/model/web/tournament.php, line 744File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20241963) AND `t0`.`is_visibility` = 1) LIMIT 1Connection name: default Speed: 0.728 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament.php, line 754File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241963
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.781 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241963
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 1.045 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241963 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 0.498 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241963 AND `t0`.`round_no` = 1 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 0.869 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241963
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20241963
AND `web_tournament_pairings`.`round_no` = 2
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20241963
AND `main`.`round_no` = 2
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 1.069 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 0.487 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241963
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.756 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241963
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 0.693 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241963 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 0.459 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241963 AND `t0`.`round_no` = 2 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 1.249 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241963
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241963
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20241963
AND `web_tournament_pairings`.`round_no` = 3
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20241963
AND `main`.`round_no` = 3
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 1.027 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 0.472 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241963
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.675 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241963
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 0.705 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241963 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 0.498 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241963 AND `t0`.`round_no` = 3 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 1.599 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241963
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241963
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241963
AND `round_no` = 3
AND `web_member_id` = `main`.`web_member_id`) AS `3r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20241963
AND `web_tournament_pairings`.`round_no` = 4
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20241963
AND `main`.`round_no` = 4
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 1.525 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 0.539 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241963
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.716 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241963
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 0.770 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241963 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 0.451 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241963 AND `t0`.`round_no` = 4 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 0.869 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241963 AND `t0`.`published_target` = 4 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 0.477 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2258File: APPPATH/classes/model/web/tournament.php, line 1788File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_dt_tour_detail` AS `t0_c8`, `t0`.`published_dt_tour_top` AS `t0_c9`, `t0`.`course_description` AS `t0_c10`, `t0`.`last_year_winner_1` AS `t0_c11`, `t0`.`last_year_winner_2` AS `t0_c12`, `t0`.`winner_1` AS `t0_c13`, `t0`.`winner_2` AS `t0_c14` FROM `web_tournament_supplements` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`published_dt_tour_top` <= '2024/05/15 21:53:08')Connection name: default Speed: 4.074 ms · DUPLICATE Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_supplements_idx_1 · Type: ALL · Rows: 2663 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1062File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20150011, 20150020, 20150033, 20150040, 20151020, 20151031, 20151073, 20151113, 20151121, 20151130, 20151152, 20151160, 20151190, 20151213, 20151242, 20151260, 20151270, 20151312, 20151340, 20151890, 20151900, 20151922, 20151940, 20151963, 20152010, 20152020, 20152031, 20152080, 20152090, 20152100, 20152120, 20152130, 20152140, 20152150, 20152160, 20152170, 20155027, 20158190, 20158250, 20158262, 20158300, 20158310, 20158321, 20158330, 20158340, 20158350, 20158360, 20158370, 20158380, 20158390, 20158400, 20156220, 20156240, 20157010, 20158901, 20158910, 20158930, 20160011, 20160020, 20160033, 20160040, 20161020, 20161031, 20161073, 20161113, 20161121, 20161130, 20161152, 20161160, 20161190, 20161213, 20161242, 20161260, 20161270, 20161312, 20161340, 20161890, 20161900, 20161922, 20161940, 20161963, 20162010, 20162020, 20162031, 20162080, 20162090, 20162100, 20162120, 20162130, 20162140, 20162150, 20162160, 20162170, 20162180, 20165027, 20166220, 20166240, 20167010, 20168190, 20168250, 20168262, 20168300, 20168310, 20168321, 20168330, 20168340, 20168350, 20168360, 20168370, 20168380, 20168390, 20168400, 20168410, 20168420, 20168430, 20168440, 20168901, 20168910, 20168930, 20168940, 20169011, 20169012, 20169013, 20169021, 20169022, 20169023, 20169000, 20169024, 20169111, 20169112, 20169113, 20169121, 20169122, 20169100, 20169123, 20169124, 20169131, 20169132, 20169201, 20169202, 20169930, 20170011, 20170020, 20170033, 20170040, 20171020, 20171031, 20171073, 20171113, 20171121, 20171130, 20171152, 20171160, 20171190, 20171213, 20171242, 20171260, 20171270, 20171312, 20171340, 20171890, 20171900, 20171922, 20171940, 20171963, 20172010, 20172020, 20172031, 20172080, 20172090, 20172100, 20172120, 20172130, 20172140, 20172150, 20172160, 20172170, 20172180, 20175027, 20176220, 20176240, 20177010, 20178190, 20178250, 20178262, 20178300, 20178310, 20178321, 20178330, 20178340, 20178350, 20178360, 20178370, 20178380, 20178390, 20178400, 20178410, 20178420, 20178430, 20178440, 20178450, 20178460, 20178470, 20178840, 20178901, 20178910, 20178930, 20178940, 20179011, 20179012, 20179013, 20179840, 20179910, 20179930, 20179301, 20179021, 20179022, 20179023, 20179024, 20179000, 20179111, 20179112, 20179113, 20179201, 20179202, 20179121, 20179122, 20179123, 20179124, 20179131, 20179132, 20179100, 20180011, 20180020, 20180033, 20180040, 20181020, 20181031, 20181073, 20181113, 20181121, 20181130, 20181152, 20181160, 20181190, 20181213, 20181242, 20181260, 20181270, 20181312, 20181340, 20181890, 20181900, 20181922, 20181940, 20181963, 20182010, 20182020, 20182031, 20182080, 20182090, 20182100, 20182120, 20182130, 20182140, 20182150, 20182160, 20182170, 20182180, 20185027, 20186220, 20187010, 20188190, 20188250, 20188262, 20188300, 20188310, 20188321, 20188330, 20188340, 20188350, 20188360, 20188370, 20188380, 20188390, 20188400, 20188410, 20188420, 20188430, 20188440, 20188450, 20188460, 20188840, 20188901, 20188910, 20188940, 20189301, 20189840, 20189940, 20189950, 20189960, 20189970, 20189302, 20189011, 20189012, 20189013, 20189000, 20189021, 20189023, 20189014, 20189111, 20189112, 20189113, 20189114, 20189121, 20189122, 20189123, 20189124, 20189201, 20189202, 20189131, 20189132, 20189100, 20190011, 20190020, 20190033, 20190040, 20191020, 20191031, 20191073, 20191121, 20191130, 20191152, 20191160, 20191213, 20191242, 20191260, 20191270, 20191340, 20191890, 20191900, 20191922, 20191940, 20191963, 20192010, 20192020, 20192031, 20192080, 20192090, 20192100, 20192120, 20192130, 20192140, 20192150, 20192160, 20192170, 20192180, 20192190, 20195027, 20196220, 20198190, 20198250, 20198262, 20198300, 20198310, 20198321, 20198330, 20198340, 20198350, 20198360, 20198370, 20198380, 20198390, 20198400, 20198420, 20198430, 20198440, 20198450, 20198460, 20198470, 20198840, 20198901, 20198910, 20199840, 20199950, 20199960, 20199970, 20199301, 20199302, 20199011, 20199012, 20191113, 20191190, 20191312, 20199013, 20199014, 20199015, 20199021, 20199023, 20199000, 20199027, 20199201, 20199100, 20199111, 20199112, 20199113, 20200011, 20200020, 20200033, 20200040, 20201020, 20201031, 20201073, 20201113, 20201121, 20201130, 20201152, 20201160, 20201190, 20201213, 20201260, 20201270, 20201312, 20201340, 20201890, 20201900, 20201922, 20201940, 20201963, 20202010, 20202020, 20202031, 20202080, 20202090, 20202100, 20202120, 20202130, 20202140, 20202150, 20202170, 20202180, 20202190, 20205027, 20206220, 20207010, 20208190, 20208250, 20208262, 20208300, 20208310, 20208330, 20208350, 20208360, 20208370, 20208380, 20208390, 20208400, 20208420, 20208430, 20208440, 20208450, 20208460, 20208470, 20208840, 20208901, 20208910, 20209840, 20209950, 20209960, 20209970, 20209301, 20209302, 20209000, 20209011, 20209012, 20209013, 20209014, 20209015, 20209021, 20209023, 20209027, 20209100, 20209111, 20209112, 20209113, 20209201, 20209202, 20210011, 20210020, 20210033, 20210040, 20211020, 20211031, 20211073, 20211113, 20211121, 20211130, 20211152, 20211160, 20211190, 20211213, 20211260, 20211270, 20211312, 20211340, 20211890, 20211900, 20211922, 20211940, 20211963, 20212010, 20212020, 20212031, 20212080, 20212090, 20212100, 20212120, 20212130, 20212140, 20212150, 20212170, 20212180, 20212190, 20215027, 20216220, 20217010, 20218300, 20218310, 20218330, 20218350, 20218360, 20218370, 20218380, 20218390, 20218400, 20218420, 20218430, 20218440, 20218470, 20218901, 20218910, 20218950, 20218960, 20219970, 20219301, 20219302, 20218480, 20212200, 20219000, 20219011, 20219012, 20219013, 20219014, 20219015, 20219021, 20219023, 20219027, 20219100, 20219111, 20219112, 20219113, 20219201, 20219202, 20220011, 20220020, 20220033, 20220040, 20221020, 20221031, 20221073, 20221113, 20221121, 20221130, 20221152, 20221160, 20221190, 20221213, 20221242, 20221260, 20221270, 20221312, 20221340, 20221890, 20221900, 20221922, 20221940, 20221963, 20222010, 20222020, 20222031, 20222080, 20222090, 20222100, 20222120, 20222130, 20222150, 20222170, 20222180, 20222190, 20222200, 20225027, 20226220, 20227010, 20228300, 20228310, 20228330, 20228350, 20228360, 20228370, 20228380, 20228390, 20228400, 20228420, 20228430, 20228440, 20228450, 20228460, 20228470, 20228480, 20228901, 20228950, 20228960, 20228970, 20228980, 20229970, 20229301, 20229302, 20229404, 20229401, 20229402, 20229403, 20229202, 20229201, 20229011, 20229012, 20229013, 20229014, 20229015, 20229021, 20229023, 20229027, 20229000, 20039011, 20039012, 20039013, 20039014, 20039015, 20039016, 20039021, 20039022, 20039023, 20039024, 20039025, 20039026, 20039027, 20039028, 20039029, 20039030, 20039031, 20039032, 20039033, 20039034, 20039035, 20039100, 20039111, 20039112, 20039113, 20039121, 20039122, 20039123, 20039124, 20039131, 20039132, 20228490, 20229111, 20229112, 20229113, 20229100, 20230011, 20230020, 20230033, 20230040, 20231020, 20231031, 20231073, 20231113, 20231121, 20231130, 20231152, 20231160, 20231190, 20231213, 20231242, 20231260, 20231270, 20231312, 20231340, 20231890, 20231900, 20231922, 20231940, 20231963, 20232010, 20232020, 20232031, 20232080, 20232090, 20232100, 20232120, 20232130, 20232150, 20232170, 20232180, 20232190, 20232200, 20235027, 20236220, 20237011, 20238300, 20238310, 20238321, 20238330, 20238350, 20238360, 20238370, 20238380, 20238390, 20238400, 20238420, 20238430, 20238440, 20238450, 20238460, 20238470, 20238480, 20238490, 20238500, 20238510, 20238520, 20238901, 20238950, 20238960, 20238970, 20238980, 20239970, 20239404, 20239301, 20239302, 20238530, 20239401, 20239402, 20239403, 20239011, 20239012, 20239013, 20239014, 20239015, 20239021, 20239000, 20239023, 20239027, 20238540, 20239100, 20239111, 20239112, 20239113, 20239141, 20239201, 20239202, 20240040, 20241113, 20241121, 20241160, 20241190, 20241260, 20241340, 20241922, 20241940, 20241963, 20242020, 20242031, 20242080, 20242090, 20242100, 20242130, 20242150, 20242190, 20248350, 20248400, 20248420, 20248430, 20248450, 20248500, 20248530, 20248901, 20248950, 20248960, 20249700, 20249970, 20249301, 20249302, 20249401, 20249411) AND `t0`.`id` NOT IN (20179840, 20179910, 20179930) AND `t0`.`is_visibility` = 1 AND `t0`.`status_year` = 2024 AND `t0`.`holding_dt_begin` <= '2024/05/15 21:53:08' AND `t0`.`tournament_type` IN ('02')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` DESC LIMIT 1Connection name: default Speed: 4.444 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: web_tournaments_idx_1 · Type: ref · Rows: 2573 (Using index condition; Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1110File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = '20248530' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 0.687 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`s3_path` AS `t0_c6`, `t0`.`description` AS `t0_c7`, `t0`.`file_size_kb` AS `t0_c8`, `t0`.`private_note` AS `t0_c9` FROM `cms_s3s` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` = '44172') LIMIT 1Connection name: default Speed: 0.486 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`tournament_type` AS `t0_c10`, `t0`.`tournament_name` AS `t0_c11`, `t0`.`tournament_name_en` AS `t0_c12`, `t0`.`web_member_id` AS `t0_c13`, `t0`.`web_member_name` AS `t0_c14`, `t0`.`web_member_name_en` AS `t0_c15`, `t0`.`is_amateur` AS `t0_c16`, `t0`.`ranking` AS `t0_c17`, `t0`.`ranking_type` AS `t0_c18`, `t0`.`official_type` AS `t0_c19`, `t0`.`against_par` AS `t0_c20`, `t0`.`round_sum` AS `t0_c21`, `t0`.`qualifier_flag` AS `t0_c22`, `t0`.`not_be_continued_type` AS `t0_c23`, `t0`.`not_be_continued_reason` AS `t0_c24`, `t0`.`1r` AS `t0_c25`, `t0`.`2r` AS `t0_c26`, `t0`.`3r` AS `t0_c27`, `t0`.`4r` AS `t0_c28`, `t0`.`earnings` AS `t0_c29`, `t0`.`is_earnings_non_addition` AS `t0_c30`, `t0`.`ranking_1r` AS `t0_c31`, `t0`.`ranking_1r_type` AS `t0_c32`, `t0`.`ranking_2r` AS `t0_c33`, `t0`.`ranking_2r_type` AS `t0_c34`, `t0`.`ranking_3r` AS `t0_c35`, `t0`.`ranking_3r_type` AS `t0_c36`, `t0`.`ranking_4r` AS `t0_c37`, `t0`.`ranking_4r_type` AS `t0_c38`, `t0`.`second_cut_flag` AS `t0_c39` FROM `web_tournament_records` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530) ORDER BY `t0`.`created_at` DESC LIMIT 1Connection name: default Speed: 0.622 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_records_idx_2 · Key Used: web_tournament_records_idx_2 · Type: ref · Rows: 1 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/record.php, line 260File: APPPATH/classes/model/web/tournament/record.php, line 556File: APPPATH/classes/model/web/tournament.php, line 846File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530 AND `t0`.`published_target` = 1 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 0.471 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2223File: APPPATH/classes/model/web/tournament/player.php, line 239File: APPPATH/classes/model/web/tournament.php, line 865File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT web_members.id, web_members.affiliation, web_members.name_kana, web_tournament_players.web_member_id, web_tournament_players.web_member_name, web_tournament_players.web_member_name_en, web_tournament_players.is_amateur FROM `web_tournament_players` LEFT JOIN `web_members` ON (`web_members`.`id` = `web_tournament_players`.`web_member_id`) WHERE web_tournament_players.is_visibility = 1 AND web_tournament_players.web_tournament_id = 20248530 ORDER BY web_tournament_players.web_member_name_kana ASC LIMIT 20Connection name: default Speed: 0.901 ms Query analysis: · Query: SIMPLE on web_tournament_players · Possible keys: web_tournament_players_idx_2 · Key Used: web_tournament_players_idx_2 · Type: ref · Rows: 108 (Using where; Using filesort) · Query: SIMPLE on web_members · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: eq_ref · Rows: 1 Call trace for this query:File: APPPATH/classes/model/web/tournament/player.php, line 276File: APPPATH/classes/model/web/tournament.php, line 865File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`class_no` AS `t0_c11`, `t0`.`out_in_type` AS `t0_c12`, `t0`.`time_begin` AS `t0_c13`, `t0`.`batting_order` AS `t0_c14`, `t0`.`web_member_id` AS `t0_c15`, `t0`.`web_member_name` AS `t0_c16`, `t0`.`web_member_name_en` AS `t0_c17`, `t0`.`belonging_name_short` AS `t0_c18`, `t0`.`is_amateur` AS `t0_c19`, `t0`.`country_name_short` AS `t0_c20`, `t0`.`country_name_en` AS `t0_c21`, `t0`.`1r` AS `t0_c22`, `t0`.`2r` AS `t0_c23`, `t0`.`3r` AS `t0_c24`, `t0`.`4r` AS `t0_c25`, `t0`.`round_total` AS `t0_c26`, `t0`.`against_par` AS `t0_c27` FROM `web_tournament_pairings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248530) GROUP BY `t0`.`round_no`Connection name: default Speed: 0.527 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_pairings_idx_1,web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament/pairing.php, line 174File: APPPATH/classes/model/web/tournament.php, line 867File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530 AND (`t0`.`round_no` = 1 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.616 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 222File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530 AND (`t0`.`round_no` = 2 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.649 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 223File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530 AND (`t0`.`round_no` = 3 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.578 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 224File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530 AND (`t0`.`round_no` = 4 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.575 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 225File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `1r`
,NULL AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248530
AND `web_tournament_pairings`.`round_no` = 1
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248530
AND `main`.`round_no` = 1
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 0.843 ms Query analysis: · Query: SIMPLE on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: SIMPLE on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 0.463 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `web_tournaments`.`id` FROM `web_tournaments` LEFT JOIN `web_tournament_supplements` ON (`web_tournament_supplements`.`web_tournament_id` = `web_tournaments`.`id`) WHERE web_tournaments.is_visibility = 1 AND web_tournament_supplements.is_visibility = 1 AND web_tournaments.id = 20248530 AND CASE WHEN web_tournament_supplements.published_dt_tour_detail IS NULL THEN (CASE WHEN web_tournaments.holding_dt_begin <= '2024-07-01 00:00:00' THEN 1 ELSE 0 END) ELSE (CASE WHEN web_tournament_supplements.published_dt_tour_detail <= '2024/05/15 21:53:08' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 1.342 ms Query analysis: · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_tournament_supplements · Key Used: web_tournament_supplements_idx_1 · Type: index · Rows: 2663 (Using where; Using index) Call trace for this query:File: APPPATH/classes/model/web/tournament.php, line 1634File: APPPATH/classes/model/web/tournament.php, line 744File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20248530) AND `t0`.`is_visibility` = 1) LIMIT 1Connection name: default Speed: 0.832 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament.php, line 754File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248530
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.804 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248530
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 1.495 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248530 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 0.937 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248530 AND `t0`.`round_no` = 1 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 0.781 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248530
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248530
AND `web_tournament_pairings`.`round_no` = 2
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248530
AND `main`.`round_no` = 2
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 0.901 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 0.490 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248530
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.835 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248530
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 0.797 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248530 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 0.436 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248530 AND `t0`.`round_no` = 2 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 1.233 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248530
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248530
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248530
AND `web_tournament_pairings`.`round_no` = 3
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248530
AND `main`.`round_no` = 3
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 1.173 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 0.588 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248530
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.679 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248530
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 4.124 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248530 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 0.511 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248530 AND `t0`.`round_no` = 3 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 0.902 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248530
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248530
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248530
AND `round_no` = 3
AND `web_member_id` = `main`.`web_member_id`) AS `3r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248530
AND `web_tournament_pairings`.`round_no` = 4
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248530
AND `main`.`round_no` = 4
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 1.084 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 0.489 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248530
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.705 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248530
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 0.671 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248530 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 0.492 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248530 AND `t0`.`round_no` = 4 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 0.793 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248530 AND `t0`.`published_target` = 4 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 0.710 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2258File: APPPATH/classes/model/web/tournament.php, line 1788File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_dt_tour_detail` AS `t0_c8`, `t0`.`published_dt_tour_top` AS `t0_c9`, `t0`.`course_description` AS `t0_c10`, `t0`.`last_year_winner_1` AS `t0_c11`, `t0`.`last_year_winner_2` AS `t0_c12`, `t0`.`winner_1` AS `t0_c13`, `t0`.`winner_2` AS `t0_c14` FROM `web_tournament_supplements` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`published_dt_tour_top` <= '2024/05/15 21:53:08')Connection name: default Speed: 4.575 ms · DUPLICATE Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_supplements_idx_1 · Type: ALL · Rows: 2663 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1062File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20150011, 20150020, 20150033, 20150040, 20151020, 20151031, 20151073, 20151113, 20151121, 20151130, 20151152, 20151160, 20151190, 20151213, 20151242, 20151260, 20151270, 20151312, 20151340, 20151890, 20151900, 20151922, 20151940, 20151963, 20152010, 20152020, 20152031, 20152080, 20152090, 20152100, 20152120, 20152130, 20152140, 20152150, 20152160, 20152170, 20155027, 20158190, 20158250, 20158262, 20158300, 20158310, 20158321, 20158330, 20158340, 20158350, 20158360, 20158370, 20158380, 20158390, 20158400, 20156220, 20156240, 20157010, 20158901, 20158910, 20158930, 20160011, 20160020, 20160033, 20160040, 20161020, 20161031, 20161073, 20161113, 20161121, 20161130, 20161152, 20161160, 20161190, 20161213, 20161242, 20161260, 20161270, 20161312, 20161340, 20161890, 20161900, 20161922, 20161940, 20161963, 20162010, 20162020, 20162031, 20162080, 20162090, 20162100, 20162120, 20162130, 20162140, 20162150, 20162160, 20162170, 20162180, 20165027, 20166220, 20166240, 20167010, 20168190, 20168250, 20168262, 20168300, 20168310, 20168321, 20168330, 20168340, 20168350, 20168360, 20168370, 20168380, 20168390, 20168400, 20168410, 20168420, 20168430, 20168440, 20168901, 20168910, 20168930, 20168940, 20169011, 20169012, 20169013, 20169021, 20169022, 20169023, 20169000, 20169024, 20169111, 20169112, 20169113, 20169121, 20169122, 20169100, 20169123, 20169124, 20169131, 20169132, 20169201, 20169202, 20169930, 20170011, 20170020, 20170033, 20170040, 20171020, 20171031, 20171073, 20171113, 20171121, 20171130, 20171152, 20171160, 20171190, 20171213, 20171242, 20171260, 20171270, 20171312, 20171340, 20171890, 20171900, 20171922, 20171940, 20171963, 20172010, 20172020, 20172031, 20172080, 20172090, 20172100, 20172120, 20172130, 20172140, 20172150, 20172160, 20172170, 20172180, 20175027, 20176220, 20176240, 20177010, 20178190, 20178250, 20178262, 20178300, 20178310, 20178321, 20178330, 20178340, 20178350, 20178360, 20178370, 20178380, 20178390, 20178400, 20178410, 20178420, 20178430, 20178440, 20178450, 20178460, 20178470, 20178840, 20178901, 20178910, 20178930, 20178940, 20179011, 20179012, 20179013, 20179840, 20179910, 20179930, 20179301, 20179021, 20179022, 20179023, 20179024, 20179000, 20179111, 20179112, 20179113, 20179201, 20179202, 20179121, 20179122, 20179123, 20179124, 20179131, 20179132, 20179100, 20180011, 20180020, 20180033, 20180040, 20181020, 20181031, 20181073, 20181113, 20181121, 20181130, 20181152, 20181160, 20181190, 20181213, 20181242, 20181260, 20181270, 20181312, 20181340, 20181890, 20181900, 20181922, 20181940, 20181963, 20182010, 20182020, 20182031, 20182080, 20182090, 20182100, 20182120, 20182130, 20182140, 20182150, 20182160, 20182170, 20182180, 20185027, 20186220, 20187010, 20188190, 20188250, 20188262, 20188300, 20188310, 20188321, 20188330, 20188340, 20188350, 20188360, 20188370, 20188380, 20188390, 20188400, 20188410, 20188420, 20188430, 20188440, 20188450, 20188460, 20188840, 20188901, 20188910, 20188940, 20189301, 20189840, 20189940, 20189950, 20189960, 20189970, 20189302, 20189011, 20189012, 20189013, 20189000, 20189021, 20189023, 20189014, 20189111, 20189112, 20189113, 20189114, 20189121, 20189122, 20189123, 20189124, 20189201, 20189202, 20189131, 20189132, 20189100, 20190011, 20190020, 20190033, 20190040, 20191020, 20191031, 20191073, 20191121, 20191130, 20191152, 20191160, 20191213, 20191242, 20191260, 20191270, 20191340, 20191890, 20191900, 20191922, 20191940, 20191963, 20192010, 20192020, 20192031, 20192080, 20192090, 20192100, 20192120, 20192130, 20192140, 20192150, 20192160, 20192170, 20192180, 20192190, 20195027, 20196220, 20198190, 20198250, 20198262, 20198300, 20198310, 20198321, 20198330, 20198340, 20198350, 20198360, 20198370, 20198380, 20198390, 20198400, 20198420, 20198430, 20198440, 20198450, 20198460, 20198470, 20198840, 20198901, 20198910, 20199840, 20199950, 20199960, 20199970, 20199301, 20199302, 20199011, 20199012, 20191113, 20191190, 20191312, 20199013, 20199014, 20199015, 20199021, 20199023, 20199000, 20199027, 20199201, 20199100, 20199111, 20199112, 20199113, 20200011, 20200020, 20200033, 20200040, 20201020, 20201031, 20201073, 20201113, 20201121, 20201130, 20201152, 20201160, 20201190, 20201213, 20201260, 20201270, 20201312, 20201340, 20201890, 20201900, 20201922, 20201940, 20201963, 20202010, 20202020, 20202031, 20202080, 20202090, 20202100, 20202120, 20202130, 20202140, 20202150, 20202170, 20202180, 20202190, 20205027, 20206220, 20207010, 20208190, 20208250, 20208262, 20208300, 20208310, 20208330, 20208350, 20208360, 20208370, 20208380, 20208390, 20208400, 20208420, 20208430, 20208440, 20208450, 20208460, 20208470, 20208840, 20208901, 20208910, 20209840, 20209950, 20209960, 20209970, 20209301, 20209302, 20209000, 20209011, 20209012, 20209013, 20209014, 20209015, 20209021, 20209023, 20209027, 20209100, 20209111, 20209112, 20209113, 20209201, 20209202, 20210011, 20210020, 20210033, 20210040, 20211020, 20211031, 20211073, 20211113, 20211121, 20211130, 20211152, 20211160, 20211190, 20211213, 20211260, 20211270, 20211312, 20211340, 20211890, 20211900, 20211922, 20211940, 20211963, 20212010, 20212020, 20212031, 20212080, 20212090, 20212100, 20212120, 20212130, 20212140, 20212150, 20212170, 20212180, 20212190, 20215027, 20216220, 20217010, 20218300, 20218310, 20218330, 20218350, 20218360, 20218370, 20218380, 20218390, 20218400, 20218420, 20218430, 20218440, 20218470, 20218901, 20218910, 20218950, 20218960, 20219970, 20219301, 20219302, 20218480, 20212200, 20219000, 20219011, 20219012, 20219013, 20219014, 20219015, 20219021, 20219023, 20219027, 20219100, 20219111, 20219112, 20219113, 20219201, 20219202, 20220011, 20220020, 20220033, 20220040, 20221020, 20221031, 20221073, 20221113, 20221121, 20221130, 20221152, 20221160, 20221190, 20221213, 20221242, 20221260, 20221270, 20221312, 20221340, 20221890, 20221900, 20221922, 20221940, 20221963, 20222010, 20222020, 20222031, 20222080, 20222090, 20222100, 20222120, 20222130, 20222150, 20222170, 20222180, 20222190, 20222200, 20225027, 20226220, 20227010, 20228300, 20228310, 20228330, 20228350, 20228360, 20228370, 20228380, 20228390, 20228400, 20228420, 20228430, 20228440, 20228450, 20228460, 20228470, 20228480, 20228901, 20228950, 20228960, 20228970, 20228980, 20229970, 20229301, 20229302, 20229404, 20229401, 20229402, 20229403, 20229202, 20229201, 20229011, 20229012, 20229013, 20229014, 20229015, 20229021, 20229023, 20229027, 20229000, 20039011, 20039012, 20039013, 20039014, 20039015, 20039016, 20039021, 20039022, 20039023, 20039024, 20039025, 20039026, 20039027, 20039028, 20039029, 20039030, 20039031, 20039032, 20039033, 20039034, 20039035, 20039100, 20039111, 20039112, 20039113, 20039121, 20039122, 20039123, 20039124, 20039131, 20039132, 20228490, 20229111, 20229112, 20229113, 20229100, 20230011, 20230020, 20230033, 20230040, 20231020, 20231031, 20231073, 20231113, 20231121, 20231130, 20231152, 20231160, 20231190, 20231213, 20231242, 20231260, 20231270, 20231312, 20231340, 20231890, 20231900, 20231922, 20231940, 20231963, 20232010, 20232020, 20232031, 20232080, 20232090, 20232100, 20232120, 20232130, 20232150, 20232170, 20232180, 20232190, 20232200, 20235027, 20236220, 20237011, 20238300, 20238310, 20238321, 20238330, 20238350, 20238360, 20238370, 20238380, 20238390, 20238400, 20238420, 20238430, 20238440, 20238450, 20238460, 20238470, 20238480, 20238490, 20238500, 20238510, 20238520, 20238901, 20238950, 20238960, 20238970, 20238980, 20239970, 20239404, 20239301, 20239302, 20238530, 20239401, 20239402, 20239403, 20239011, 20239012, 20239013, 20239014, 20239015, 20239021, 20239000, 20239023, 20239027, 20238540, 20239100, 20239111, 20239112, 20239113, 20239141, 20239201, 20239202, 20240040, 20241113, 20241121, 20241160, 20241190, 20241260, 20241340, 20241922, 20241940, 20241963, 20242020, 20242031, 20242080, 20242090, 20242100, 20242130, 20242150, 20242190, 20248350, 20248400, 20248420, 20248430, 20248450, 20248500, 20248530, 20248901, 20248950, 20248960, 20249700, 20249970, 20249301, 20249302, 20249401, 20249411) AND `t0`.`id` NOT IN (20179840, 20179910, 20179930) AND `t0`.`is_visibility` = 1 AND `t0`.`status_year` = 2024 AND `t0`.`holding_dt_begin` <= '2024/05/15 21:53:08' AND `t0`.`tournament_type` IN ('05')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` ASC LIMIT 1Connection name: default Speed: 4.920 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: web_tournaments_idx_1 · Type: ref · Rows: 2573 (Using index condition; Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1110File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = '20248950' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 0.528 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`s3_path` AS `t0_c6`, `t0`.`description` AS `t0_c7`, `t0`.`file_size_kb` AS `t0_c8`, `t0`.`private_note` AS `t0_c9` FROM `cms_s3s` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` = '44053') LIMIT 1Connection name: default Speed: 0.537 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`tournament_type` AS `t0_c10`, `t0`.`tournament_name` AS `t0_c11`, `t0`.`tournament_name_en` AS `t0_c12`, `t0`.`web_member_id` AS `t0_c13`, `t0`.`web_member_name` AS `t0_c14`, `t0`.`web_member_name_en` AS `t0_c15`, `t0`.`is_amateur` AS `t0_c16`, `t0`.`ranking` AS `t0_c17`, `t0`.`ranking_type` AS `t0_c18`, `t0`.`official_type` AS `t0_c19`, `t0`.`against_par` AS `t0_c20`, `t0`.`round_sum` AS `t0_c21`, `t0`.`qualifier_flag` AS `t0_c22`, `t0`.`not_be_continued_type` AS `t0_c23`, `t0`.`not_be_continued_reason` AS `t0_c24`, `t0`.`1r` AS `t0_c25`, `t0`.`2r` AS `t0_c26`, `t0`.`3r` AS `t0_c27`, `t0`.`4r` AS `t0_c28`, `t0`.`earnings` AS `t0_c29`, `t0`.`is_earnings_non_addition` AS `t0_c30`, `t0`.`ranking_1r` AS `t0_c31`, `t0`.`ranking_1r_type` AS `t0_c32`, `t0`.`ranking_2r` AS `t0_c33`, `t0`.`ranking_2r_type` AS `t0_c34`, `t0`.`ranking_3r` AS `t0_c35`, `t0`.`ranking_3r_type` AS `t0_c36`, `t0`.`ranking_4r` AS `t0_c37`, `t0`.`ranking_4r_type` AS `t0_c38`, `t0`.`second_cut_flag` AS `t0_c39` FROM `web_tournament_records` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248950) ORDER BY `t0`.`created_at` DESC LIMIT 1Connection name: default Speed: 1.191 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_records_idx_2 · Key Used: web_tournament_records_idx_2 · Type: ref · Rows: 90 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/record.php, line 260File: APPPATH/classes/model/web/tournament/record.php, line 556File: APPPATH/classes/model/web/tournament.php, line 846File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248950 AND `t0`.`published_target` = 4 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 1.278 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2258File: APPPATH/classes/model/web/tournament/record.php, line 560File: APPPATH/classes/model/web/tournament.php, line 846File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_dt_tour_detail` AS `t0_c8`, `t0`.`published_dt_tour_top` AS `t0_c9`, `t0`.`course_description` AS `t0_c10`, `t0`.`last_year_winner_1` AS `t0_c11`, `t0`.`last_year_winner_2` AS `t0_c12`, `t0`.`winner_1` AS `t0_c13`, `t0`.`winner_2` AS `t0_c14` FROM `web_tournament_supplements` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`published_dt_tour_top` <= '2024/05/15 21:53:08')Connection name: default Speed: 3.503 ms · DUPLICATE Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_supplements_idx_1 · Type: ALL · Rows: 2663 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 987File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20150011, 20150020, 20150033, 20150040, 20151020, 20151031, 20151073, 20151113, 20151121, 20151130, 20151152, 20151160, 20151190, 20151213, 20151242, 20151260, 20151270, 20151312, 20151340, 20151890, 20151900, 20151922, 20151940, 20151963, 20152010, 20152020, 20152031, 20152080, 20152090, 20152100, 20152120, 20152130, 20152140, 20152150, 20152160, 20152170, 20155027, 20158190, 20158250, 20158262, 20158300, 20158310, 20158321, 20158330, 20158340, 20158350, 20158360, 20158370, 20158380, 20158390, 20158400, 20156220, 20156240, 20157010, 20158901, 20158910, 20158930, 20160011, 20160020, 20160033, 20160040, 20161020, 20161031, 20161073, 20161113, 20161121, 20161130, 20161152, 20161160, 20161190, 20161213, 20161242, 20161260, 20161270, 20161312, 20161340, 20161890, 20161900, 20161922, 20161940, 20161963, 20162010, 20162020, 20162031, 20162080, 20162090, 20162100, 20162120, 20162130, 20162140, 20162150, 20162160, 20162170, 20162180, 20165027, 20166220, 20166240, 20167010, 20168190, 20168250, 20168262, 20168300, 20168310, 20168321, 20168330, 20168340, 20168350, 20168360, 20168370, 20168380, 20168390, 20168400, 20168410, 20168420, 20168430, 20168440, 20168901, 20168910, 20168930, 20168940, 20169011, 20169012, 20169013, 20169021, 20169022, 20169023, 20169000, 20169024, 20169111, 20169112, 20169113, 20169121, 20169122, 20169100, 20169123, 20169124, 20169131, 20169132, 20169201, 20169202, 20169930, 20170011, 20170020, 20170033, 20170040, 20171020, 20171031, 20171073, 20171113, 20171121, 20171130, 20171152, 20171160, 20171190, 20171213, 20171242, 20171260, 20171270, 20171312, 20171340, 20171890, 20171900, 20171922, 20171940, 20171963, 20172010, 20172020, 20172031, 20172080, 20172090, 20172100, 20172120, 20172130, 20172140, 20172150, 20172160, 20172170, 20172180, 20175027, 20176220, 20176240, 20177010, 20178190, 20178250, 20178262, 20178300, 20178310, 20178321, 20178330, 20178340, 20178350, 20178360, 20178370, 20178380, 20178390, 20178400, 20178410, 20178420, 20178430, 20178440, 20178450, 20178460, 20178470, 20178840, 20178901, 20178910, 20178930, 20178940, 20179011, 20179012, 20179013, 20179840, 20179910, 20179930, 20179301, 20179021, 20179022, 20179023, 20179024, 20179000, 20179111, 20179112, 20179113, 20179201, 20179202, 20179121, 20179122, 20179123, 20179124, 20179131, 20179132, 20179100, 20180011, 20180020, 20180033, 20180040, 20181020, 20181031, 20181073, 20181113, 20181121, 20181130, 20181152, 20181160, 20181190, 20181213, 20181242, 20181260, 20181270, 20181312, 20181340, 20181890, 20181900, 20181922, 20181940, 20181963, 20182010, 20182020, 20182031, 20182080, 20182090, 20182100, 20182120, 20182130, 20182140, 20182150, 20182160, 20182170, 20182180, 20185027, 20186220, 20187010, 20188190, 20188250, 20188262, 20188300, 20188310, 20188321, 20188330, 20188340, 20188350, 20188360, 20188370, 20188380, 20188390, 20188400, 20188410, 20188420, 20188430, 20188440, 20188450, 20188460, 20188840, 20188901, 20188910, 20188940, 20189301, 20189840, 20189940, 20189950, 20189960, 20189970, 20189302, 20189011, 20189012, 20189013, 20189000, 20189021, 20189023, 20189014, 20189111, 20189112, 20189113, 20189114, 20189121, 20189122, 20189123, 20189124, 20189201, 20189202, 20189131, 20189132, 20189100, 20190011, 20190020, 20190033, 20190040, 20191020, 20191031, 20191073, 20191121, 20191130, 20191152, 20191160, 20191213, 20191242, 20191260, 20191270, 20191340, 20191890, 20191900, 20191922, 20191940, 20191963, 20192010, 20192020, 20192031, 20192080, 20192090, 20192100, 20192120, 20192130, 20192140, 20192150, 20192160, 20192170, 20192180, 20192190, 20195027, 20196220, 20198190, 20198250, 20198262, 20198300, 20198310, 20198321, 20198330, 20198340, 20198350, 20198360, 20198370, 20198380, 20198390, 20198400, 20198420, 20198430, 20198440, 20198450, 20198460, 20198470, 20198840, 20198901, 20198910, 20199840, 20199950, 20199960, 20199970, 20199301, 20199302, 20199011, 20199012, 20191113, 20191190, 20191312, 20199013, 20199014, 20199015, 20199021, 20199023, 20199000, 20199027, 20199201, 20199100, 20199111, 20199112, 20199113, 20200011, 20200020, 20200033, 20200040, 20201020, 20201031, 20201073, 20201113, 20201121, 20201130, 20201152, 20201160, 20201190, 20201213, 20201260, 20201270, 20201312, 20201340, 20201890, 20201900, 20201922, 20201940, 20201963, 20202010, 20202020, 20202031, 20202080, 20202090, 20202100, 20202120, 20202130, 20202140, 20202150, 20202170, 20202180, 20202190, 20205027, 20206220, 20207010, 20208190, 20208250, 20208262, 20208300, 20208310, 20208330, 20208350, 20208360, 20208370, 20208380, 20208390, 20208400, 20208420, 20208430, 20208440, 20208450, 20208460, 20208470, 20208840, 20208901, 20208910, 20209840, 20209950, 20209960, 20209970, 20209301, 20209302, 20209000, 20209011, 20209012, 20209013, 20209014, 20209015, 20209021, 20209023, 20209027, 20209100, 20209111, 20209112, 20209113, 20209201, 20209202, 20210011, 20210020, 20210033, 20210040, 20211020, 20211031, 20211073, 20211113, 20211121, 20211130, 20211152, 20211160, 20211190, 20211213, 20211260, 20211270, 20211312, 20211340, 20211890, 20211900, 20211922, 20211940, 20211963, 20212010, 20212020, 20212031, 20212080, 20212090, 20212100, 20212120, 20212130, 20212140, 20212150, 20212170, 20212180, 20212190, 20215027, 20216220, 20217010, 20218300, 20218310, 20218330, 20218350, 20218360, 20218370, 20218380, 20218390, 20218400, 20218420, 20218430, 20218440, 20218470, 20218901, 20218910, 20218950, 20218960, 20219970, 20219301, 20219302, 20218480, 20212200, 20219000, 20219011, 20219012, 20219013, 20219014, 20219015, 20219021, 20219023, 20219027, 20219100, 20219111, 20219112, 20219113, 20219201, 20219202, 20220011, 20220020, 20220033, 20220040, 20221020, 20221031, 20221073, 20221113, 20221121, 20221130, 20221152, 20221160, 20221190, 20221213, 20221242, 20221260, 20221270, 20221312, 20221340, 20221890, 20221900, 20221922, 20221940, 20221963, 20222010, 20222020, 20222031, 20222080, 20222090, 20222100, 20222120, 20222130, 20222150, 20222170, 20222180, 20222190, 20222200, 20225027, 20226220, 20227010, 20228300, 20228310, 20228330, 20228350, 20228360, 20228370, 20228380, 20228390, 20228400, 20228420, 20228430, 20228440, 20228450, 20228460, 20228470, 20228480, 20228901, 20228950, 20228960, 20228970, 20228980, 20229970, 20229301, 20229302, 20229404, 20229401, 20229402, 20229403, 20229202, 20229201, 20229011, 20229012, 20229013, 20229014, 20229015, 20229021, 20229023, 20229027, 20229000, 20039011, 20039012, 20039013, 20039014, 20039015, 20039016, 20039021, 20039022, 20039023, 20039024, 20039025, 20039026, 20039027, 20039028, 20039029, 20039030, 20039031, 20039032, 20039033, 20039034, 20039035, 20039100, 20039111, 20039112, 20039113, 20039121, 20039122, 20039123, 20039124, 20039131, 20039132, 20228490, 20229111, 20229112, 20229113, 20229100, 20230011, 20230020, 20230033, 20230040, 20231020, 20231031, 20231073, 20231113, 20231121, 20231130, 20231152, 20231160, 20231190, 20231213, 20231242, 20231260, 20231270, 20231312, 20231340, 20231890, 20231900, 20231922, 20231940, 20231963, 20232010, 20232020, 20232031, 20232080, 20232090, 20232100, 20232120, 20232130, 20232150, 20232170, 20232180, 20232190, 20232200, 20235027, 20236220, 20237011, 20238300, 20238310, 20238321, 20238330, 20238350, 20238360, 20238370, 20238380, 20238390, 20238400, 20238420, 20238430, 20238440, 20238450, 20238460, 20238470, 20238480, 20238490, 20238500, 20238510, 20238520, 20238901, 20238950, 20238960, 20238970, 20238980, 20239970, 20239404, 20239301, 20239302, 20238530, 20239401, 20239402, 20239403, 20239011, 20239012, 20239013, 20239014, 20239015, 20239021, 20239000, 20239023, 20239027, 20238540, 20239100, 20239111, 20239112, 20239113, 20239141, 20239201, 20239202, 20240040, 20241113, 20241121, 20241160, 20241190, 20241260, 20241340, 20241922, 20241940, 20241963, 20242020, 20242031, 20242080, 20242090, 20242100, 20242130, 20242150, 20242190, 20248350, 20248400, 20248420, 20248430, 20248450, 20248500, 20248530, 20248901, 20248950, 20248960, 20249700, 20249970, 20249301, 20249302, 20249401, 20249411) AND `t0`.`id` <> '20248950' AND `t0`.`is_visibility` = 1 AND `t0`.`status_year` = 2024 AND `t0`.`tournament_type` IN ('05') AND DATE_FORMAT(holding_dt_end, '%Y-%m-%d') >= '2024-05-15') ORDER BY `t0`.`holding_dt_begin` ASC, `t0`.`holding_dt_end` ASC, `t0`.`id` ASC LIMIT 2Connection name: default Speed: 4.389 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: web_tournaments_idx_1 · Type: ref · Rows: 2573 (Using index condition; Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1015File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = '20248901' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 0.597 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1020File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = 20248901 AND `t0`.`resourse_type` = 15 ORDER BY `t0`.`id` DESCConnection name: default Speed: 1.337 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Backward index scan) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1035File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = '20249970' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 0.447 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1020File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = 20249970 AND `t0`.`resourse_type` = 15 ORDER BY `t0`.`id` DESCConnection name: default Speed: 0.438 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Backward index scan) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1035File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 1 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 0.506 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2223File: APPPATH/classes/model/web/tournament/player.php, line 239File: APPPATH/classes/model/web/tournament.php, line 865File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`class_no` AS `t0_c11`, `t0`.`out_in_type` AS `t0_c12`, `t0`.`time_begin` AS `t0_c13`, `t0`.`batting_order` AS `t0_c14`, `t0`.`web_member_id` AS `t0_c15`, `t0`.`web_member_name` AS `t0_c16`, `t0`.`web_member_name_en` AS `t0_c17`, `t0`.`belonging_name_short` AS `t0_c18`, `t0`.`is_amateur` AS `t0_c19`, `t0`.`country_name_short` AS `t0_c20`, `t0`.`country_name_en` AS `t0_c21`, `t0`.`1r` AS `t0_c22`, `t0`.`2r` AS `t0_c23`, `t0`.`3r` AS `t0_c24`, `t0`.`4r` AS `t0_c25`, `t0`.`round_total` AS `t0_c26`, `t0`.`against_par` AS `t0_c27` FROM `web_tournament_pairings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901) GROUP BY `t0`.`round_no`Connection name: default Speed: 0.554 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_pairings_idx_1,web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament/pairing.php, line 174File: APPPATH/classes/model/web/tournament.php, line 867File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND (`t0`.`round_no` = 1 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 1.759 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 222File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND (`t0`.`round_no` = 2 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.805 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 223File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND (`t0`.`round_no` = 3 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.670 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 224File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND (`t0`.`round_no` = 4 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.613 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 225File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `1r`
,NULL AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248901
AND `web_tournament_pairings`.`round_no` = 1
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248901
AND `main`.`round_no` = 1
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 0.896 ms Query analysis: · Query: SIMPLE on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: SIMPLE on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 0.547 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `web_tournaments`.`id` FROM `web_tournaments` LEFT JOIN `web_tournament_supplements` ON (`web_tournament_supplements`.`web_tournament_id` = `web_tournaments`.`id`) WHERE web_tournaments.is_visibility = 1 AND web_tournament_supplements.is_visibility = 1 AND web_tournaments.id = 20248901 AND CASE WHEN web_tournament_supplements.published_dt_tour_detail IS NULL THEN (CASE WHEN web_tournaments.holding_dt_begin <= '2024-07-01 00:00:00' THEN 1 ELSE 0 END) ELSE (CASE WHEN web_tournament_supplements.published_dt_tour_detail <= '2024/05/15 21:53:08' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 1.390 ms Query analysis: · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_tournament_supplements · Key Used: web_tournament_supplements_idx_1 · Type: index · Rows: 2663 (Using where; Using index) Call trace for this query:File: APPPATH/classes/model/web/tournament.php, line 1634File: APPPATH/classes/model/web/tournament.php, line 744File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20248901) AND `t0`.`is_visibility` = 1) LIMIT 1Connection name: default Speed: 0.701 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament.php, line 754File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.769 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 0.852 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 0.916 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 1 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 0.850 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248901
AND `web_tournament_pairings`.`round_no` = 2
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248901
AND `main`.`round_no` = 2
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 1.038 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 0.504 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.724 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 0.797 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 0.497 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 2 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 0.839 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248901
AND `web_tournament_pairings`.`round_no` = 3
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248901
AND `main`.`round_no` = 3
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 1.004 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 0.468 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.691 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 0.713 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 0.438 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 3 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 0.867 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 3
AND `web_member_id` = `main`.`web_member_id`) AS `3r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248901
AND `web_tournament_pairings`.`round_no` = 4
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248901
AND `main`.`round_no` = 4
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 1.836 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 0.472 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 0.715 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 0.795 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 0.685 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 4 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 0.823 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 4 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 0.536 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2258File: APPPATH/classes/model/web/tournament.php, line 1788File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |