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` = 69663 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_articles` AS `t0` WHERE `t0`.`history_of_id` = 69663 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: 2.415 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_articles_idx_1 · Key Used: web_articles_idx_1 · Type: range · Rows: 7 (Using index condition; Using where) · Query: SUBQUERY on t0 · Possible keys: web_articles_idx_1 · Key Used: web_articles_idx_1 · Type: ref · Rows: 7 (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` = '69692'Connection name: default Speed: 2.038 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: 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/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年度', '勝 みなみ') 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` <> 69692 GROUP BY `web_article_id` ORDER BY COUNT(*) DESC LIMIT 1000Connection name: default Speed: 698.224 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 (69151,68088,67520,68106,68635,69127,68536,68746,68832,68780,69231,69493,69649,61943,66818,68152,66579,68231,68318,68621,68669,68857,68893,68878,68802,68928,69135,69693,69719,68903,69955,69935,69991,69995,70011,65720,67502,69815,68952,68505,68173,69409,69123,68122,70028,69926,68749,68603,69025,69589,69496,68982,68258,69899,70113,68204,68041,68527,68831,68764,68506,68149,69225,69184,68964,69433,69686,69625,69405,69074,68130,70072,69818,69979,69957,68187,68344,68280,68179,68629,68510,68735,68871,68856,68862,68580,68097,69068,68951,69281,69275,68999,69541,69508,69401,69608,69716,69684,69579,69449,68994,67123,69826,70035,70026,69880,69879,69785,68120,68155,68148,68133,68091,68219,68259,68171,68264,68372,68332,68270,68190,67621,68545,68609,68700,68639,68608,68537,68798,68804,68897,68869,68821,68496,66986,68954,69028,69085,69072,69040,68974,69190,69189,69120,69352,69283,69208,69158,68950,69438,69408,69550,69530,69609,69403,69648,69584,69689,69734,69718,69662,69614,69384,68930,68084,69911,70020,69972,69918,69819,70125,70067,70019,70111,70039,69822,69779,61139,61296,69853,61393,68109,61487,61542,61566,61575,61594,61606,68528,61633,62213,61691,61739,61759,61780,61807,61839,61900,61961,62007,62028,62147,68099,68090,68128,68121,68141,68158,68138,68114,62423,68181,68168,68239,68242,68234,68164,68285,68266,62478,68401,68435,68330,68240,68160,66367,68473,68519,68585,68607,68540,68758,68657,68632,68606,68658,68578,68415,68730,68718,68779,68792,62690,68777,68701,68839,68835,68873,68901,62756,68691,68468,66165,68984,69001,68997,68980,69064,69063,69035,69093,69089,69058,69007,68919,69113,62890,69167,69185,69188,69166,69118,69248,69234,69210,69284,69351,69290,69273,69192,69095,68913,69328,69426,69455,69443,69431,69329,69543,69516,69460,69542,69561,69557,69537,69468,69345,69603,69591,69630,69659,69640,69632,69565,69681,69656,69704,69733,69717,69654,69560,69391,66134,69884,69875,69848,69783,69922,69967,69959,69883,69781,70033,70016,70062,70096,70068,70075,70094,70086,70021,69771,63533,69759,69732,66078,64316,64700,64744,64891,64949,65351,65378,65420,65443,65459,65561,66017,5660,6371,6393,7220,7227,8191,8216,8241,8633,15572,16200,16853,16919,16943,19219,19232,19563,19604,22634,25787,25820,26038,27005,27210,27354,27659,27662,27854,27892,28041,28088,28135,28170,28193,28261,28491,28593,28828,28876,28897,28939,30081,31809,31832,31834,31894,31934,31959,32194,32539,32862,33012,33113,33482,33565,33590,33632,44064,33777,33812,33827,33843,33851,33917,33943,33944,34009,44062,34237,44068,34456,34563,34869,44059,35101,35165,35211,35262,35310,35335,68579,35741,35771,35934,36667,42884,43059,43152,43179,43208,43398,43425,43466,43507,43631,44505,44849,44768,44906,44977,45000,45233,45732,46222,46044,46084,46589,46621,46655,46682,46798,46921,46961,47636,48011,48146,48200,48320,48573,48551,48673,48873,49074,49119,49146,49184,49452,49478,49502,49522,49571,49791,49904,49934,49981,50008,50036,50138,50216,50438,50477,50556,50554,50624,50610,50615,50666,50716,50750,50803,50866,50988,51029,51089,51096,51110,51161,51304,51220,51947,51783,51294,51350,51374,52161,52125,52475,52300,52352,52368,52413,52499,52936,52564,52579,58467,58512,58536,58881,58899,58915,59045,59069,59146,59148,59212,59237,59529,59846,59974,60057,60143,60558,60436,60492,60658,60732,60756,61176,61811,61133,61134,61135,61136,61137,64040,61138,61140,61141,61281,61144,61239,66446,62896,61275,61284,61290,61567,61486,66904,61338,61346,61349,61392,61407,61410,61400,61428,61444,61434,62206,61446,61467,61465,61474,61472,61510,61534,61597,61596,61595,61592,61593,61603,61640,61625,61658,61686,61698,61706,61742,61737,61734,61766,61769,61991,61764,61783,61781,62212,61804,67264,61826,61824,61833,61831,62057,63553,61877,61886,61895,61909,61911,61915,61918,61924,61939,61941,61938,61946,62058,62104,61980,62005,62002,61996,62211,62022,62210,62040,62086,62085,62069,62209,63388,62083,62088,62099,62110,62115,62111,62117,62163,62127,62136,62135,62208,62154,66903,62162,62207,62180,62191,62185,67044,63452,62319,62225,62254,62268,62267,62266,62258,62469,62292,62287,62300,62310,62316,62337,63349,63356,63367,63379,63381,65329,63432,63505,63429,63438,63436,63450,63478,63471,63486,63494,63498,63502,63521,63528,63514,63527,63542,63537,63736,66895,63577,63574,63582,63596,63620,63621,63616,63619,63624,63649,63648,63633,63639,63675,63666,63679,63670,63678,63698,63696,63700,63694,63718,63745,63738,63727,66574,63744,63755,63753,63758,63761,63799,63801,63781,63785,63800,63806,66902,63846,63844,63831,63828,63852,63892,63869,63889,63879,63900,63894,63897,63906,63930,63915,63941,63943,63942,63952,63953,63975,63987,63971,63978,64000,64012,64021,64025,64011,64020,64028,64039,64041,64038,64044,64053,64059,64063,64079,64089,64085,64117,64108,64138,64112,64136,64143,64133,64134,64162,64161,64164,64157,64178,64177,64184,64196,64191,64217,64216,64210,64204,64228,64227,64223,64225,64231,64252,64241,64246,64244,64256,64281,64271,64276,64280,64352,64304,64297,64311,64314,64320,64326,64336,64351,64350,64345,64372,64366,64416,64406,64411,64415,64443,64440,64438,64434,64445,64463,64467,64470,64465,64478,64501,64495,64497,64504,64506,64524,64512,64525,64523,64541,64564,64561,64557,64554,64567,64595,64586,64609,64612,64599,64603,64616,64620,64649,64647,64651,64646,64653,64669,64666,64664,64678,64682,64697,64694,64690,64715,64717,64710,64721,64722,64735,64739,64737,64743,64785,64765,64759,64764,64767,64789,64803,64806,64797,64938,64936,68529,64945,68530,68522,65121,65120,65122,65136,65134,65142,65146,65354,65379,65381,65383,65405,65418,65416,65401,65439,68531,68532,65466,65471,65456,65473,65489,65501,65502,65518,65522,65520,65514,65533,65531,65532,65545,65553,65551,65555,65558,65562,65570,65580,65577,65581,65583,65586,65598,65604,65612,65608,65614,65617,65620,65630,65626,65643,65649,65645,65647,65651,65653,65674,65678,65665,65667,65672,65702,65701,65700,65695,65699,65722,65725,65727,65745,65769,65775,65758,65776,65768,65797,65806,66899,65805,65804,66900,65826,65837,65847,65828,65846,65874,65870,65871,65872,65896)
GROUP BY `history_of_id`Connection name: default Speed: 49.330 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 (5660, 6371, 6393, 7220, 7227, 8191, 8216, 8241, 8633, 15572, 16200, 16853, 16919, 16943, 19219, 19232, 19563, 19604, 22634, 25787, 25820, 26038, 27005, 27210, 27354, 27659, 27662, 27854, 27892, 28041, 28088, 28135, 28170, 28193, 28261, 28491, 28593, 28828, 28876, 28897, 28939, 30081, 31809, 31832, 31834, 31894, 31934, 31959, 32194, 32539, 32862, 33012, 33113, 33482, 33565, 33590, 33632, 33777, 33812, 33827, 33843, 33851, 33917, 33943, 33944, 34009, 34237, 34456, 34563, 34869, 35101, 35165, 35211, 35262, 35310, 35335, 35741, 35771, 35934, 36667, 42884, 43059, 43152, 43179, 43208, 43398, 43425, 43466, 43507, 43631, 44059, 44062, 44064, 44068, 44505, 44768, 44849, 44906, 44977, 45000, 45233, 45732, 46044, 46084, 46222, 46589, 46621, 46655, 46682, 46798, 46921, 46961, 47636, 48011, 48146, 48200, 48320, 48551, 48573, 48673, 48873, 49074, 49119, 49146, 49184, 49452, 49478, 49502, 49522, 49571, 49791, 49904, 49934, 49981, 50008, 50036, 50138, 50216, 50438, 50477, 50554, 50556, 50610, 50615, 50624, 50666, 50716, 50750, 50803, 50866, 50988, 51029, 51089, 51096, 51110, 51161, 51220, 51294, 51304, 51350, 51374, 51783, 51947, 52125, 52161, 52300, 52352, 52368, 52413, 52475, 52499, 52564, 52579, 52936, 58467, 58512, 58536, 58881, 58899, 58915, 59045, 59069, 59146, 59148, 59212, 59237, 59529, 59846, 59974, 60057, 60143, 60436, 60492, 60558, 60658, 60732, 60756, 61133, 61134, 61135, 61136, 61137, 61138, 61139, 61140, 61141, 61144, 61176, 61239, 61275, 61281, 61284, 61290, 61296, 61338, 61346, 61349, 61392, 61393, 61400, 61407, 61410, 61428, 61434, 61444, 61446, 61465, 61467, 61472, 61474, 61486, 61487, 61510, 61534, 61542, 61566, 61567, 61575, 61592, 61593, 61594, 61595, 61596, 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, 62337, 62423, 62469, 62478, 62690, 62756, 62890, 62896, 63349, 63356, 63367, 63379, 63381, 63388, 63429, 63432, 63436, 63438, 63450, 63452, 63471, 63478, 63486, 63494, 63498, 63502, 63505, 63514, 63521, 63527, 63528, 63533, 63537, 63542, 63553, 63574, 63577, 63582, 63596, 63616, 63619, 63620, 63621, 63624, 63633, 63639, 63648, 63649, 63666, 63670, 63675, 63678, 63679, 63694, 63696, 63698, 63700, 63718, 63727, 63736, 63738, 63744, 63745, 63753, 63755, 63758, 63761, 63781, 63785, 63799, 63800, 63801, 63806, 63828, 63831, 63844, 63846, 63852, 63869, 63879, 63889, 63892, 63894, 63897, 63900, 63906, 63915, 63930, 63941, 63942, 63943, 63952, 63953, 63971, 63975, 63978, 63987, 64000, 64011, 64012, 64020, 64021, 64025, 64028, 64038, 64039, 64040, 64041, 64044, 64053, 64059, 64063, 64079, 64085, 64089, 64108, 64112, 64117, 64133, 64134, 64136, 64138, 64143, 64157, 64161, 64162, 64164, 64177, 64178, 64184, 64191, 64196, 64204, 64210, 64216, 64217, 64223, 64225, 64227, 64228, 64231, 64241, 64244, 64246, 64252, 64256, 64271, 64276, 64280, 64281, 64297, 64304, 64311, 64314, 64316, 64320, 64326, 64336, 64345, 64350, 64351, 64352, 64366, 64372, 64406, 64411, 64415, 64416, 64434, 64438, 64440, 64443, 64445, 64463, 64465, 64467, 64470, 64478, 64495, 64497, 64501, 64504, 64506, 64512, 64523, 64524, 64525, 64541, 64554, 64557, 64561, 64564, 64567, 64586, 64595, 64599, 64603, 64609, 64612, 64616, 64620, 64646, 64647, 64649, 64651, 64653, 64664, 64666, 64669, 64678, 64682, 64690, 64694, 64697, 64700, 64710, 64715, 64717, 64721, 64722, 64735, 64737, 64739, 64743, 64744, 64759, 64764, 64765, 64767, 64785, 64789, 64797, 64803, 64806, 64891, 64936, 64938, 64945, 64949, 65120, 65121, 65122, 65134, 65136, 65142, 65146, 65329, 65351, 65354, 65378, 65379, 65381, 65383, 65401, 65405, 65416, 65418, 65420, 65439, 65443, 65456, 65459, 65466, 65471, 65473, 65489, 65501, 65502, 65514, 65518, 65520, 65522, 65531, 65532, 65533, 65545, 65551, 65553, 65555, 65558, 65561, 65562, 65570, 65577, 65580, 65581, 65583, 65586, 65598, 65604, 65608, 65612, 65614, 65617, 65620, 65626, 65630, 65643, 65645, 65647, 65649, 65651, 65653, 65665, 65667, 65672, 65674, 65678, 65695, 65699, 65700, 65701, 65702, 65720, 65722, 65725, 65727, 65745, 65758, 65768, 65769, 65775, 65776, 65797, 65804, 65805, 65806, 65826, 65828, 65837, 65846, 65847, 65870, 65871, 65872, 65874, 65896, 66017, 66078, 66134, 66165, 66367, 66446, 66574, 66579, 66818, 66895, 66899, 66900, 66902, 66903, 66904, 66986, 67044, 67123, 67264, 67502, 67520, 67621, 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, 68522, 68527, 68528, 68529, 68530, 68531, 68532, 68536, 68537, 68540, 68545, 68578, 68579, 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, 69681, 69684, 69686, 69689, 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, 69935, 69955, 69957, 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: 137.713 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` = '69692' AND `t0`.`display_target` = 3 LIMIT 1Connection name: default Speed: 0.704 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` = '44435') LIMIT 1Connection name: default Speed: 8.379 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: 4.564 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: 14.431 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: 3.237 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: 6.933 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: 7.147 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: 19.160 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 10:31:59' ORDER BY `t0`.`status_year` DESC LIMIT 1Connection name: default Speed: 1.831 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 10:31:59')Connection name: default Speed: 13.139 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 10:31:59' AND `t0`.`tournament_type` IN ('01')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` DESC LIMIT 1Connection name: default Speed: 27.074 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: 2.563 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.402 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: 7.135 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: 2.581 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: 3.946 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: 2.089 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: 6.655 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: 1.663 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: 3.419 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: 8.450 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: 4.551 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: 6.648 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 10:31:59' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 3.259 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: 10.857 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: 2.420 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: 3.753 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: 6.410 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: 3.170 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: 3.829 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: 4.054 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: 2.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: 7.199 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.665 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: 2.719 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: 3.183 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: 4.143 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: 2.949 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: 6.414 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: 2.988 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: 2.396 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: 3.093 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: 1.433 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: 4.751 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: 3.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 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: 3.383 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: 3.576 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: 2.889 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 10:31:59')Connection name: default Speed: 24.887 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 10:31:59' AND `t0`.`tournament_type` IN ('02')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` DESC LIMIT 1Connection name: default Speed: 183.559 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.901 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: 4.109 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: 8.235 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: 5.529 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: 5.219 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: 4.041 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: 6.858 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.993 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.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 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: 2.093 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: 3.242 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: 10.454 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 10:32:00' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 5.005 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: 8.949 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: 5.568 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: 5.034 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: 1.545 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: 12.798 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: 13.230 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: 1.749 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: 1.523 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: 6.262 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: 2.034 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.173 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: 7.103 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: 2.681 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: 3.175 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: 18.352 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: 3.823 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: 11.359 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: 15.364 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: 1.300 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: 3.419 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: 12.030 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: 25.283 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: 2.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 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: 16.740 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 10:32:00')Connection name: default Speed: 30.992 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 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 10:32:00' AND `t0`.`tournament_type` IN ('05')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` ASC LIMIT 1Connection name: default Speed: 21.957 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: 7.523 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: 3.326 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: 2.712 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.109 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 10:32:00')Connection name: default Speed: 26.805 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: 28.259 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.588 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: 2.869 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: 3.341 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.930 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: 2.076 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: 1.365 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.498 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: 1.745 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: 3.049 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: 2.333 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: 2.119 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: 3.064 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 10:32:00' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 2.975 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.981 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: 3.316 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: 2.971 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: 13.434 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: 1.821 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: 6.093 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: 4.656 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: 4.023 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: 1.686 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: 9.452 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: 2.680 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: 5.316 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: 1.086 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: 9.185 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: 5.262 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.720 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: 4.477 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: 8.400 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: 2.735 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: 2.269 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: 4.255 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: 1.726 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: 2.380 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: 7.187 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 |