SOLD OUT

This event has reached capacity.

Join as Alternate
Ultra Draft

2024 Miken/Easton/Worth Series
Powered by Easton/Miken/Worth

Event: Waipahu 2024 (Other Events)
Sport: Softball
CoedSocialDraft
Event Director
Venue
Patsy T. Mink Park
Waipahu, HI
Dates
Aug 30, 2024 - Sep 01, 2024

SOLD OUT

This event has reached capacity.

Join as Alternate

Deprecated: Automatic conversion of false to array is deprecated in /home/leaguejo_dev/public_html/templates/lj/modules/league/hall-of-fame.php on line 27

Anchorage 2024 - Final Results

Perris, CA 2024 - Final Results

Jacksonville 2024 - Final Results

104 183
PEAK MEMORY: 11.04 MiB
MEMORY USAGE AFTER: 9.79 MiB

Debug Information


Request Variables

var = ultra

varb = miken-easton-worth-series

varc = waipahu-2024

vard = hall-of-fame

vara =

vare =

view_var = ultra

view_varb = miken-easton-worth-series

view_varc = waipahu-2024

view_vard = hall-of-fame

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe2

Template: lj

SECURETOKEN: a759537870cd7f5dc16a5bc9f1431d66

Login Type:

BASE:: ultra

FULL LINK:: ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame

Page ID: 57

Page ID:: 57

Page Template:: lj

Template Layout:: default

Headers: : Loading page header code

Active Blocks: Array ( [0] => [1] => [2] => 1 [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => [11] => [12] => [13] => [14] => [15] => 1 )

Block Types: Array ( [0] => [1] => [2] => Array ( [0] => module ) [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => [11] => [12] => [13] => [14] => [15] => Array ( [0] => module ) )

Element ID: Array ( [0] => [1] => [2] => Array ( [0] => 10 ) [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => [11] => [12] => [13] => [14] => [15] => Array ( [0] => 10 ) )

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = a759537870cd7f5dc16a5bc9f1431d66
fullstate =


Cookie Variables

laikanxia_google_v = 1
laikanxia_cookie_id = 250131214236113


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame/
QUERY_STRING = var=ultra&varb=miken-easton-worth-series&varc=waipahu-2024&vard=hall-of-fame
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=ultra&varb=miken-easton-worth-series&varc=waipahu-2024&vard=hall-of-fame
REDIRECT_URL = /ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame/
REMOTE_PORT = 19213
SCRIPT_FILENAME = /home/leaguejo_dev/public_html/index.php
SERVER_ADMIN = support@aod.net
CONTEXT_DOCUMENT_ROOT = /home/leaguejo_dev/public_html
CONTEXT_PREFIX =
REQUEST_SCHEME = https
DOCUMENT_ROOT = /home/leaguejo_dev/public_html
REMOTE_ADDR = 3.147.64.185
SERVER_PORT = 443
SERVER_ADDR = 162.248.190.150
SERVER_NAME = netstuffersdev1.com
SERVER_SOFTWARE = Apache
SERVER_SIGNATURE =
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST = netstuffersdev1.com
HTTP_REFERER = https://netstuffersdev1.com/ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = laikanxia_google_v=1; laikanxia_cookie_id=250131214236113
HTTP_USER_AGENT = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT = */*
proxy-nokeepalive = 1
SSL_TLS_SNI = netstuffersdev1.com
HTTPS = on
SCRIPT_URI = https://netstuffersdev1.com/ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame/
SCRIPT_URL = /ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame/
UNIQUE_ID = Z5zTUOOCdYtJELjcIz8dJgAAAQ0
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame/
REDIRECT_SCRIPT_URL = /ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame/
REDIRECT_UNIQUE_ID = Z5zTUOOCdYtJELjcIz8dJgAAAQ0
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1738330960.0374
REQUEST_TIME = 1738330960


SQL Queries


Total Queries: 615
Total Execution Time: 169.6792ms
Avg Execution Time:0.27590113821138ms

QUERY(0.9189ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2025-01-31', '13:42:40', 'GET', '/ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame/', '3.147.64.185', 'https://netstuffersdev1.com/ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhenhJblFXckZibGU5cm5BUXNxTGdSTGtmU3V6Y0ZMeVU1T0NoOEZBOWpzSEgvZVFob2haUy9kSTcydmhHQjBIanBKcTVvYVdWNGNReWJGV2dFeHB4UnE=','0','','1738330960') ON DUPLICATE KEY UPDATE `ip`=`ip`

QUERY(0.905ms) - SELECT SQL_CACHE `end_timestamp` FROM `security_locks` WHERE ((`who`='3.147.64.185' && `which`='IP'))

QUERY(0.149ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame/'

QUERY(0.181ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='ultra/miken-easton-worth-series/waipahu-2024/hall-of-fame' ORDER BY `domain`='1' DESC,`domain` ASC

QUERY(0.1481ms) - SELECT SQL_CACHE `id`,`layout`,`light`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='ultra' ORDER BY `domain`='1' DESC,`domain` ASC

QUERY(0.104ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay`,`customize` FROM `pages` WHERE `id`='57'

QUERY(0.1268ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='userprofiles'

QUERY(0.1051ms) - SELECT * FROM userprofiles_config

QUERY(0.1202ms) - SELECT SQL_CACHE `name` FROM `states` WHERE `abbr`='' LIMIT 0,1

QUERY(0.1159ms) - SELECT SQL_CACHE title,metakeys,metadescript,seomodule,seotitlefield,seodescfield,seotitletable,seodesctable,urllinkfield FROM pages WHERE `id`='57' && `domain`='1'

QUERY(0.1762ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.097ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.386ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`url` = 'miken-easton-worth-series' LIMIT 0,1

QUERY(0.124ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.2899ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`url` = 'waipahu-2024' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.1769ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.108ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=183

QUERY(0.1051ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.102ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=183 LIMIT 0,1

QUERY(0.1278ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=183 LIMIT 0,1

QUERY(0.1662ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=183 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1092ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=183 LIMIT 0,1

QUERY(0.1991ms) - SELECT SQL_CACHE `code` FROM `page_headers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:57:%' || (`global`=1 && `exclude` NOT LIKE '%:57:%') ) ORDER BY `sort` ASC

QUERY(0.1051ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='America/Indianapolis'

QUERY(0.155ms) - SELECT count(`league_id`) FROM `league_players` WHERE `player_id`=''

QUERY(0.1311ms) - SELECT SQL_CACHE `block_id`,`element_id`,`function_id`,`type` FROM `blocks` WHERE `page_id`='57' ORDER BY `order` ASC

QUERY(0.114ms) - select SQL_CACHE codename,classname,scriptname from modules WHERE `id`='10'

QUERY(0.1149ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.0899ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.1421ms) - SELECT `company`.*,`img_url` FROM `company` INNER JOIN `photo` ON `photo`.`photo_id`=`company`.`logo_onwhite` WHERE `company_id`=8

QUERY(0.103ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='miken-easton-worth-series'

QUERY(0.0939ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.0701ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.104ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.0682ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.0951ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.114ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.0989ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='183' LIMIT 0,1

QUERY(0.0989ms) - SELECT * FROM `league_notices` WHERE `league_id`=104 && `season_id`=183

QUERY(0.114ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='draft'

QUERY(0.0739ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(0.119ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.066ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.0851ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.0598ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.0882ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.088ms) - SELECT SQL_CACHE * FROM games_config

QUERY(0.0758ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='triumphs'

QUERY(0.0901ms) - SELECT SQL_CACHE * FROM triumphs_config

QUERY(0.0951ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='challonge'

QUERY(0.0999ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='183'

QUERY(1.3301ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='183') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '183' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.093ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='183'

QUERY(1.507ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='183') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '183' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.082ms) - SELECT `hof_page` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=183

QUERY(0.9ms) - SELECT DISTINCT(`triumphs_awarded`.`season_id`),`name` FROM `triumphs_awarded` INNER JOIN `league_seasons` ON `triumphs_awarded`.`season_id`=`league_seasons`.`season_id` WHERE `triumphs_awarded`.`league_id`=104 ORDER BY `season_id` DESC

QUERY(0.0739ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=187 LIMIT 0,1

QUERY(0.325ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.0858ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.272ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '187' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.138ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1159ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=187

QUERY(0.0861ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.129ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=187 LIMIT 0,1

QUERY(0.1359ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=187 LIMIT 0,1

QUERY(0.1361ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=187 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.124ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='187' LIMIT 0,1

QUERY(0.1121ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='187' || `season_id`=0)

QUERY(0.154ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='187' || `season_id`=0)

QUERY(0.0942ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='187'

QUERY(0.587ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='187' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.5429ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='187' && (`league_players`.`paid`=1||`league_players`.`moretime`=1) &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.288ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='187' && `league_players`.`paid`=0 && `league_players`.`moretime`=1 &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.288ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='187' && `league_players`.`paid`=1 && `league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.216ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='187' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.3159ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='187' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.165ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='187' ORDER BY `season_id` DESC

QUERY(0.097ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='187'

QUERY(0.1011ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='187'

QUERY(0.139ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='104'

QUERY(0.55ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='104'

QUERY(0.098ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=187 LIMIT 0,1

QUERY(0.1519ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=187&&`playoff`=1 LIMIT 0,1

QUERY(0.1221ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=187 LIMIT 0,1

QUERY(0.2761ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='104' && `league_teams`.`season_id`='187' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.15ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='187'

QUERY(0.124ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='104' && `league_seasons`.`season_id`='187'

QUERY(0.1001ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=187 LIMIT 0,1

QUERY(0.0749ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=187

QUERY(0.9942ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`registered`,`players`,`moretime`,`paid`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('104','187','1',0,0,'110','109','5','5','9','63','12','9',0,0,0,'23',0,0,'1','453','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='187',`articles`='1',`participants`=0,`conferences`=0,`registered`='110',`players`='109',`moretime`='5',`paid`='5',`coaches`='9',`subs`='63',`rules`='12',`teams`='9',`games`=0,`groups`=0,`divisions`=0,`seasons`='23',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='453',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.1168ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=187 LIMIT 0,1

QUERY(0.1152ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='187'

QUERY(2.11ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='187') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '187' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.098ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.0989ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.3331ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='187' && `ranking`='1'

QUERY(2.008ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='187' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.1471ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1462ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='187' && `ranking`='2'

QUERY(1.168ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='187' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.1009ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1659ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='187' && `ranking`='3'

QUERY(0.6008ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='187' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.124ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1581ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='187' && `ranking`='4'

QUERY(0.4618ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='187' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.1209ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.15ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='187' && `ranking`='5'

QUERY(0.4089ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='187' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.1068ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1559ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='187' && `ranking`='6'

QUERY(0.5209ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='187' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.0939ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.0951ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=186 LIMIT 0,1

QUERY(0.2749ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.0951ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.294ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '186' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.119ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.0999ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=186

QUERY(0.098ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.118ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=186 LIMIT 0,1

QUERY(0.1252ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=186 LIMIT 0,1

QUERY(0.1261ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=186 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1221ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='186' LIMIT 0,1

QUERY(0.1118ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='186' || `season_id`=0)

QUERY(0.1421ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='186' || `season_id`=0)

QUERY(0.103ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='186'

QUERY(0.4759ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='186' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.5019ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='186' && (`league_players`.`paid`=1||`league_players`.`moretime`=1) &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4671ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='186' && `league_players`.`paid`=0 && `league_players`.`moretime`=1 &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3259ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='186' && `league_players`.`paid`=1 && `league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.2511ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='186' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.5572ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='186' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.1218ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='186' ORDER BY `season_id` DESC

QUERY(0.0992ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='186'

QUERY(0.124ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='186'

QUERY(0.144ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='104'

QUERY(0.546ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='104'

QUERY(0.0989ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=186 LIMIT 0,1

QUERY(0.1559ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=186&&`playoff`=1 LIMIT 0,1

QUERY(0.1311ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=186 LIMIT 0,1

QUERY(0.21ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='104' && `league_teams`.`season_id`='186' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.1509ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='186'

QUERY(0.1171ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='104' && `league_seasons`.`season_id`='186'

QUERY(0.0968ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=186 LIMIT 0,1

QUERY(0.109ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=186

QUERY(0.86ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`registered`,`players`,`moretime`,`paid`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('104','186','1',0,0,'142','92','3','3','8','3','12','8',0,0,0,'23',0,0,'1','453','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='186',`articles`='1',`participants`=0,`conferences`=0,`registered`='142',`players`='92',`moretime`='3',`paid`='3',`coaches`='8',`subs`='3',`rules`='12',`teams`='8',`games`=0,`groups`=0,`divisions`=0,`seasons`='23',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='453',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.108ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=186 LIMIT 0,1

QUERY(0.098ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='186'

QUERY(1.9341ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='186') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '186' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.0951ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.0901ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1771ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='186' && `ranking`='1'

QUERY(1.3821ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='186' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.1421ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.15ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='186' && `ranking`='2'

QUERY(1.1799ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='186' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.107ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1528ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='186' && `ranking`='3'

QUERY(0.8302ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='186' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.092ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.124ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='186' && `ranking`='4'

QUERY(0.3991ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='186' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.0858ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.139ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='186' && `ranking`='5'

QUERY(0.3788ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='186' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.102ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.17ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='186' && `ranking`='6'

QUERY(0.3898ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='186' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.0939ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.0811ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=185 LIMIT 0,1

QUERY(0.437ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.098ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.2592ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '185' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.0911ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1252ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=185

QUERY(0.0751ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.1202ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=185 LIMIT 0,1

QUERY(0.1299ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=185 LIMIT 0,1

QUERY(0.1562ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=185 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.104ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=185 LIMIT 0,1

QUERY(0.113ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='185'

QUERY(2.193ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='185') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '185' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.1221ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.0901ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1571ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='1'

QUERY(1.3878ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='185' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.0951ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.196ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='2'

QUERY(1.0478ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='185' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.0792ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.124ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='3'

QUERY(0.7632ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='185' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.1161ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1409ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='4'

QUERY(0.397ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='185' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.0911ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1419ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='5'

QUERY(0.3741ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='185' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.0999ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1249ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='6'

QUERY(0.396ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='185' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.109ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.097ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=183 LIMIT 0,1

QUERY(0.303ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.1428ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.262ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '183' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.0889ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1099ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=183

QUERY(0.1059ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.1061ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=183 LIMIT 0,1

QUERY(0.1111ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=183 LIMIT 0,1

QUERY(0.1509ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=183 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.0892ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=183 LIMIT 0,1

QUERY(0.098ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='183'

QUERY(1.2879ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='183') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '183' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.092ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.0699ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1919ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='1'

QUERY(1.5011ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='183' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.108ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.2089ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='2'

QUERY(1.075ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='183' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.0868ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.114ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='3'

QUERY(0.7141ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='183' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.0958ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1309ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='4'

QUERY(0.4621ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='183' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.0889ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.109ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='5'

QUERY(0.4301ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='183' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.1009ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1032ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='6'

QUERY(0.3581ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='183' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.0782ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.0701ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=182 LIMIT 0,1

QUERY(0.329ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.0968ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.2489ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '182' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.0939ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1061ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=182

QUERY(0.077ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.1092ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=182 LIMIT 0,1

QUERY(0.107ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=182 LIMIT 0,1

QUERY(0.1352ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=182 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1481ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='182' LIMIT 0,1

QUERY(0.1068ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='182' || `season_id`=0)

QUERY(0.1349ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='182' || `season_id`=0)

QUERY(0.104ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='182'

QUERY(0.494ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='182' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4439ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='182' && (`league_players`.`paid`=1||`league_players`.`moretime`=1) &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.288ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='182' && `league_players`.`paid`=0 && `league_players`.`moretime`=1 &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3259ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='182' && `league_players`.`paid`=1 && `league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.293ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='182' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.2999ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='182' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.107ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='182' ORDER BY `season_id` DESC

QUERY(0.1009ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='182'

QUERY(0.1161ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='182'

QUERY(0.118ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='104'

QUERY(0.5169ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='104'

QUERY(0.1001ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=182 LIMIT 0,1

QUERY(0.113ms) - SELECT SQL_CACHE `division_id` FROM `league_divisions` WHERE `league_id`=104&&`season_id`=182 LIMIT 0,1

QUERY(0.159ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=182&&`playoff`=1 LIMIT 0,1

QUERY(0.1259ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=182 LIMIT 0,1

QUERY(0.212ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='104' && `league_teams`.`season_id`='182' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.1349ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='182'

QUERY(0.1209ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='104' && `league_seasons`.`season_id`='182'

QUERY(0.072ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=182 LIMIT 0,1

QUERY(0.087ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=182

QUERY(0.9089ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`registered`,`players`,`moretime`,`paid`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('104','182','2',0,0,'91','68','6','6','6','3','12','6',0,0,'1','23',0,0,'1','453','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='182',`articles`='2',`participants`=0,`conferences`=0,`registered`='91',`players`='68',`moretime`='6',`paid`='6',`coaches`='6',`subs`='3',`rules`='12',`teams`='6',`games`=0,`groups`=0,`divisions`='1',`seasons`='23',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='453',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.102ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=182 LIMIT 0,1

QUERY(0.1001ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='182'

QUERY(1.4508ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='182') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '182' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.108ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.109ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.19ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='1'

QUERY(1.2429ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='182' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.0889ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1979ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='2'

QUERY(0.8929ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='182' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.114ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1578ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='3'

QUERY(0.5372ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='182' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.107ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1481ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='4'

QUERY(0.4771ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='182' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.0892ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.118ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='5'

QUERY(0.5381ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='182' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.0908ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1359ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='6'

QUERY(0.315ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='182' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.0911ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.0808ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=180 LIMIT 0,1

QUERY(0.257ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.1259ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.2291ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '180' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.1049ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1009ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=180

QUERY(0.077ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.1099ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=180 LIMIT 0,1

QUERY(0.1521ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=180 LIMIT 0,1

QUERY(0.1452ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=180 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1528ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='180' LIMIT 0,1

QUERY(0.0989ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='180' || `season_id`=0)

QUERY(0.1578ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='180' || `season_id`=0)

QUERY(0.0939ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='180'

QUERY(0.473ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='180' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.344ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='180' && (`league_players`.`paid`=1||`league_players`.`moretime`=1) &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.6001ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='180' && `league_players`.`paid`=0 && `league_players`.`moretime`=1 &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3729ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='180' && `league_players`.`paid`=1 && `league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.2849ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='180' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.3681ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='180' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.109ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='180' ORDER BY `season_id` DESC

QUERY(0.1431ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='180'

QUERY(0.1111ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='180'

QUERY(0.138ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='104'

QUERY(0.5379ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='104'

QUERY(0.1161ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=180 LIMIT 0,1

QUERY(0.1369ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=180&&`playoff`=1 LIMIT 0,1

QUERY(0.134ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=180 LIMIT 0,1

QUERY(0.2491ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='104' && `league_teams`.`season_id`='180' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.138ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='180'

QUERY(0.107ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='104' && `league_seasons`.`season_id`='180'

QUERY(0.0789ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=180 LIMIT 0,1

QUERY(0.0911ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=180

QUERY(0.8841ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`registered`,`players`,`moretime`,`paid`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('104','180','1',0,0,'195','131','9','9','12','6','12','12',0,0,0,'23',0,0,'1','453','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='180',`articles`='1',`participants`=0,`conferences`=0,`registered`='195',`players`='131',`moretime`='9',`paid`='9',`coaches`='12',`subs`='6',`rules`='12',`teams`='12',`games`=0,`groups`=0,`divisions`=0,`seasons`='23',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='453',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.1111ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=180 LIMIT 0,1

QUERY(0.1018ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='180'

QUERY(2.8129ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='180') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '180' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.1018ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1149ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.211ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='1'

QUERY(1.1289ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='180' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.0911ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1681ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='2'

QUERY(1.1721ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='180' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.0889ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1431ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='3'

QUERY(0.6919ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='180' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.0889ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.119ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='4'

QUERY(0.505ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='180' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.1171ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1302ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='5'

QUERY(0.468ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='180' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.1061ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1111ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='6'

QUERY(0.2749ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='180' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.0989ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.0801ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=179 LIMIT 0,1

QUERY(0.2601ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.0861ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.2151ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '179' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.114ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.107ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=179

QUERY(0.104ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.102ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=179 LIMIT 0,1

QUERY(0.1202ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=179 LIMIT 0,1

QUERY(0.1209ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=179 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1199ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='179' LIMIT 0,1

QUERY(0.0999ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='179' || `season_id`=0)

QUERY(0.1309ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='179' || `season_id`=0)

QUERY(0.1121ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='179'

QUERY(0.567ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='179' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.504ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='179' && (`league_players`.`paid`=1||`league_players`.`moretime`=1) &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.464ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='179' && `league_players`.`paid`=0 && `league_players`.`moretime`=1 &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3531ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='179' && `league_players`.`paid`=1 && `league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.227ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='179' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.3078ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='179' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.1462ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='179' ORDER BY `season_id` DESC

QUERY(0.103ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='179'

QUERY(0.113ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='179'

QUERY(0.118ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='104'

QUERY(0.5481ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='104'

QUERY(0.098ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=179 LIMIT 0,1

QUERY(0.1619ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=179&&`playoff`=1 LIMIT 0,1

QUERY(0.0839ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=179 LIMIT 0,1

QUERY(0.232ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='104' && `league_teams`.`season_id`='179' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.155ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='179'

QUERY(0.1171ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='104' && `league_seasons`.`season_id`='179'

QUERY(0.1049ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=179 LIMIT 0,1

QUERY(0.1171ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=179

QUERY(0.778ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`registered`,`players`,`moretime`,`paid`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('104','179','2',0,0,'170','119',0,0,'10','9','12','10',0,0,0,'23',0,0,'1','453','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='179',`articles`='2',`participants`=0,`conferences`=0,`registered`='170',`players`='119',`moretime`=0,`paid`=0,`coaches`='10',`subs`='9',`rules`='12',`teams`='10',`games`=0,`groups`=0,`divisions`=0,`seasons`='23',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='453',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.108ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=179 LIMIT 0,1

QUERY(0.088ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='179'

QUERY(2.3742ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='179') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '179' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.103ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.0761ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.21ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='1'

QUERY(1.0741ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='179' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.1099ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.2229ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='2'

QUERY(1.1458ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='179' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.0842ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1149ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='3'

QUERY(0.613ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='179' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.077ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.108ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='4'

QUERY(0.4849ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='179' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.072ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1192ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='5'

QUERY(0.4048ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='179' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.092ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.093ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='6'

QUERY(0.2759ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='179' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.1419ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.073ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=178 LIMIT 0,1

QUERY(0.267ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.092ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.2091ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '178' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.0789ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.0861ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=178

QUERY(0.078ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.0908ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=178 LIMIT 0,1

QUERY(0.1121ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=178 LIMIT 0,1

QUERY(0.1049ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=178 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1171ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='178' LIMIT 0,1

QUERY(0.1211ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='178' || `season_id`=0)

QUERY(0.109ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='178' || `season_id`=0)

QUERY(0.104ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='178'

QUERY(0.515ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='178' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4411ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='178' && (`league_players`.`paid`=1||`league_players`.`moretime`=1) &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.35ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='178' && `league_players`.`paid`=0 && `league_players`.`moretime`=1 &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.319ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='178' && `league_players`.`paid`=1 && `league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.2012ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='178' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.2959ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='178' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.1612ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='178' ORDER BY `season_id` DESC

QUERY(0.1001ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='178'

QUERY(0.1099ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='178'

QUERY(0.1249ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='104'

QUERY(0.526ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='104'

QUERY(0.1199ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=178 LIMIT 0,1

QUERY(0.1519ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=178&&`playoff`=1 LIMIT 0,1

QUERY(0.1059ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=178 LIMIT 0,1

QUERY(0.2041ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='104' && `league_teams`.`season_id`='178' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.15ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='178'

QUERY(0.1018ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='104' && `league_seasons`.`season_id`='178'

QUERY(0.093ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=178 LIMIT 0,1

QUERY(0.0961ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=178

QUERY(0.7241ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`registered`,`players`,`moretime`,`paid`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('104','178',0,0,0,'141','111','4','4','10','8','12','10',0,0,0,'23',0,0,'1','453','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='178',`articles`=0,`participants`=0,`conferences`=0,`registered`='141',`players`='111',`moretime`='4',`paid`='4',`coaches`='10',`subs`='8',`rules`='12',`teams`='10',`games`=0,`groups`=0,`divisions`=0,`seasons`='23',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='453',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.0999ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=178 LIMIT 0,1

QUERY(0.0839ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='178'

QUERY(2.357ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='178') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '178' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.1121ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.077ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.201ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='1'

QUERY(1.4329ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='178' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.1049ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1731ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='2'

QUERY(1.6301ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='178' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.097ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1218ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='3'

QUERY(0.591ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='178' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.1121ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1051ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='4'

QUERY(0.4489ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='178' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.149ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.108ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='5'

QUERY(0.3769ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='178' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.128ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.109ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='6'

QUERY(0.3819ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='178' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.102ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.0989ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=176 LIMIT 0,1

QUERY(0.2592ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.0851ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.272ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '176' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.087ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.0839ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=176

QUERY(0.072ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.0901ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=176 LIMIT 0,1

QUERY(0.1209ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=176 LIMIT 0,1

QUERY(0.1481ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=176 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1369ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='176' LIMIT 0,1

QUERY(0.1118ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='176' || `season_id`=0)

QUERY(0.1678ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='176' || `season_id`=0)

QUERY(0.1149ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='176'

QUERY(0.572ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='176' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3991ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='176' && (`league_players`.`paid`=1||`league_players`.`moretime`=1) &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4029ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='176' && `league_players`.`paid`=0 && `league_players`.`moretime`=1 &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.6051ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='176' && `league_players`.`paid`=1 && `league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.294ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='176' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.3991ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='176' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.1211ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='176' ORDER BY `season_id` DESC

QUERY(0.1299ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='176'

QUERY(0.098ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='176'

QUERY(0.1118ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='104'

QUERY(0.55ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='104'

QUERY(0.1268ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=176 LIMIT 0,1

QUERY(0.1421ms) - SELECT SQL_CACHE `division_id` FROM `league_divisions` WHERE `league_id`=104&&`season_id`=176 LIMIT 0,1

QUERY(0.138ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=176&&`playoff`=1 LIMIT 0,1

QUERY(0.082ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=176 LIMIT 0,1

QUERY(0.2191ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='104' && `league_teams`.`season_id`='176' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.1192ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='176'

QUERY(0.102ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='104' && `league_seasons`.`season_id`='176'

QUERY(0.097ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=176 LIMIT 0,1

QUERY(0.0951ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=176

QUERY(0.8199ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`registered`,`players`,`moretime`,`paid`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('104','176','4',0,0,'288','194','1','1','16','4','12','17',0,0,'1','23',0,0,'1','453','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='176',`articles`='4',`participants`=0,`conferences`=0,`registered`='288',`players`='194',`moretime`='1',`paid`='1',`coaches`='16',`subs`='4',`rules`='12',`teams`='17',`games`=0,`groups`=0,`divisions`='1',`seasons`='23',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='453',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.1311ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=176 LIMIT 0,1

QUERY(0.088ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='176'

QUERY(3.3259ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='176') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '176' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.1519ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.083ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2069ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='1'

QUERY(1.2648ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='176' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.0899ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.2098ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='2'

QUERY(1.014ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='176' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.1159ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.17ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='3'

QUERY(0.674ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='176' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.0901ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1168ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='4'

QUERY(0.4709ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='176' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.0839ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.109ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='5'

QUERY(0.4039ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='176' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.0839ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1259ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='6'

QUERY(0.3591ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='176' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.0949ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.072ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=175 LIMIT 0,1

QUERY(0.2511ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.174ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.2151ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '175' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.1049ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.097ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=175

QUERY(0.077ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.092ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=175 LIMIT 0,1

QUERY(0.0911ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=175 LIMIT 0,1

QUERY(0.1271ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=175 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.093ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=175 LIMIT 0,1

QUERY(0.0999ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='175'

QUERY(3.792ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='175') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '175' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.0899ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.0961ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1991ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='175' && `ranking`='1'

QUERY(1.426ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='175' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.1581ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1609ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='175' && `ranking`='2'

QUERY(1.0879ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='175' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.1211ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.118ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='175' && `ranking`='3'

QUERY(0.639ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='175' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.169ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1309ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='175' && `ranking`='4'

QUERY(0.5481ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='175' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.1218ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.108ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='175' && `ranking`='5'

QUERY(0.4039ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='175' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.0942ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.129ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='175' && `ranking`='6'

QUERY(0.3281ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='175' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.107ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.0911ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=173 LIMIT 0,1

QUERY(0.3219ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' LIMIT 0,1

QUERY(0.128ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.2429ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '173' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.088ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.0899ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=173

QUERY(0.0961ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=980 LIMIT 0,1

QUERY(0.1168ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=173 LIMIT 0,1

QUERY(0.093ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=173 LIMIT 0,1

QUERY(0.1159ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=173 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.128ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='173' LIMIT 0,1

QUERY(0.1001ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='173' || `season_id`=0)

QUERY(0.1369ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='173' || `season_id`=0)

QUERY(0.098ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='173'

QUERY(0.4671ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='173' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3231ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='173' && (`league_players`.`paid`=1||`league_players`.`moretime`=1) &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.524ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='173' && `league_players`.`paid`=0 && `league_players`.`moretime`=1 &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.525ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='173' && `league_players`.`paid`=1 && `league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.2251ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='173' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.4039ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='173' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.1378ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='173' ORDER BY `season_id` DESC

QUERY(0.0951ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='173'

QUERY(0.1061ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='173'

QUERY(0.128ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='104'

QUERY(0.5209ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='104'

QUERY(0.123ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=173 LIMIT 0,1

QUERY(0.118ms) - SELECT SQL_CACHE `division_id` FROM `league_divisions` WHERE `league_id`=104&&`season_id`=173 LIMIT 0,1

QUERY(0.1838ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=173&&`playoff`=1 LIMIT 0,1

QUERY(0.0808ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=173 LIMIT 0,1

QUERY(0.1979ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='104' && `league_teams`.`season_id`='173' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.1519ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='173'

QUERY(0.1061ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='104' && `league_seasons`.`season_id`='173'

QUERY(0.0739ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=173 LIMIT 0,1

QUERY(0.0651ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=173

QUERY(0.8299ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`registered`,`players`,`moretime`,`paid`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('104','173','1',0,0,'149','144','2','2','12','73','12','12',0,0,'1','23',0,0,'1','453','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='173',`articles`='1',`participants`=0,`conferences`=0,`registered`='149',`players`='144',`moretime`='2',`paid`='2',`coaches`='12',`subs`='73',`rules`='12',`teams`='12',`games`=0,`groups`=0,`divisions`='1',`seasons`='23',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='453',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.114ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=173 LIMIT 0,1

QUERY(0.118ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='173'

QUERY(2.66ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='104' && `league_teams`.`season_id`='173') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '104' and `standings`.`season_id` = '173' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.114ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.083ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.212ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='1'

QUERY(1.2288ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='173' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.0999ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.1459ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='2'

QUERY(1.261ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='173' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.114ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.124ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='3'

QUERY(0.5398ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='173' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.092ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.118ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='4'

QUERY(0.402ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='173' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.0999ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.119ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='5'

QUERY(0.4361ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='173' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.0939ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.119ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='6'

QUERY(0.3059ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='173' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.093ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.15ms) - SELECT SQL_CACHE `code`,`name` FROM `page_footers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:57:%' || (`global`=1 && `exclude` NOT LIKE '%:57:%') ) ORDER BY `sort` ASC