This event has completed. This information has been preserved for archival purposes.
League

LeagueJoe Draft League

Season: Summer 23 (Other Seasons)
Sport: Softball
CoedSocialDraft
Event Director
Venue
RBI Fields
Avon, IN
Day of the Week
MON
This event has completed. This information has been preserved for archival purposes.
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

Spring 2023 - Final Results

Fall 2022 - Final Results

Summer 2022 - Final Results

Spring 2022 - Final Results

Fall 2021 - Final Results

Spring 2021 - Final Results

Fall 2019 - Final Results

Spring 2019 - Final Results

Fall 2018 - Final Results

Summer 2018 - Final Results

Spring 2018 - Final Results

Fall 2017 - Final Results

Summer 2017 - Final Results

Spring 2017 - Final Results

Fall 2016 - Final Results

Summer 2016 - Final Results

Spring 2016 - Final Results

Summer Draft League - Final Results

7 139
PEAK MEMORY: 3.79 MiB
MEMORY USAGE AFTER: 2.71 MiB

Debug Information


Request Variables

var = league

varb = leaguejoe-draft-league

varc = midwest-softball-sum23

vard = hall-of-fame

vara =

vare =

view_var = league

view_varb = leaguejoe-draft-league

view_varc = midwest-softball-sum23

view_vard = hall-of-fame

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: 1104370b53fa49c2392fc105dd43a5e1

Login Type:

BASE:: league

FULL LINK:: league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame

Page ID: 27

Page ID:: 27

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] => )

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

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

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = 1104370b53fa49c2392fc105dd43a5e1
fullstate =


Cookie Variables

MISCGCs = USERPC1_92_430853_87_USERLL1_92_39.9614,-82.99883_87_USERST1_92_OH3_87_LOCST1_92_OH3_87_USERDMA1_92_5353_87_DT1_92_PC
handl_ip = 18.219.209.144
handl_url_base = https://microchipusa.com/memory/5962-9161708MXA
user_agent = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HandLtestDomainNameServer = HandLtestDomainValueServer
handl_url = https://microchipusa.com/memory/5962-9161708MXA
GCs = CartItem1_92_03_87_UserName1_92_4_02_
SignedIn = 0
handl_landing_page = https://microchipusa.com/memory/5962-9161708MXA


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame/
QUERY_STRING = var=league&varb=leaguejoe-draft-league&varc=midwest-softball-sum23&vard=hall-of-fame
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=league&varb=leaguejoe-draft-league&varc=midwest-softball-sum23&vard=hall-of-fame
REDIRECT_URL = /league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame/
REMOTE_PORT = 27896
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 = 18.219.209.144
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/league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = MISCGCs=USERPC1_92_430853_87_USERLL1_92_39.9614%2C-82.99883_87_USERST1_92_OH3_87_LOCST1_92_OH3_87_USERDMA1_92_5353_87_DT1_92_PC; handl_ip=18.219.209.144; handl_url_base=https%3A%2F%2Fmicrochipusa.com%2Fmemory%2F5962-9161708MXA; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; HandLtestDomainNameServer=HandLtestDomainValueServer; handl_url=https%3A%2F%2Fmicrochipusa.com%2Fmemory%2F5962-9161708MXA; GCs=CartItem1_92_03_87_UserName1_92_4_02_; SignedIn=0; handl_landing_page=https%3A%2F%2Fmicrochipusa.com%2Fmemory%2F5962-9161708MXA
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/league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame/
SCRIPT_URL = /league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame/
UNIQUE_ID = Zz8vgO9urvFP-X@yUD0@agAAAIU
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame/
REDIRECT_SCRIPT_URL = /league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame/
REDIRECT_UNIQUE_ID = Zz8vgO9urvFP-X@yUD0@agAAAIU
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1732194176.2004
REQUEST_TIME = 1732194176


SQL Queries


Total Queries: 1087
Total Execution Time: 555.2814ms
Avg Execution Time:0.51083845446182ms

QUERY(1.5719ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2024-11-21', '13:02:56', 'GET', '/league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame/', '18.219.209.144', 'https://netstuffersdev1.com/league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhdzMzazFkSnE5VlRwWUlqbXI0M1ZicUJRdmtGdkQ3emV0cVg2RmVnZ3NuZ1VXS2hhcXpLeVYyc3Q0MHVNTmRrZ2EvZU5YYmRtc1lnNENxRTZSZjMvOWU=','0','','1732194176') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1781ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame/'

QUERY(0.231ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league/leaguejoe-draft-league/midwest-softball-sum23/hall-of-fame' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.129ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.128ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.571ms) - 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`,`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` = 'leaguejoe-draft-league' LIMIT 0,1

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

QUERY(0.524ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`url` = 'midwest-softball-sum23' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.1659ms) - 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`=7 && `season_id`=139 LIMIT 0,1

QUERY(0.226ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=139 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

QUERY(0.217ms) - SELECT `abbr`,`name` FROM `states` WHERE `active`=1 ORDER BY `name` ASC

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

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

QUERY(0.1149ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.134ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='leaguejoe-draft-league'

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

QUERY(0.1209ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1109ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1178ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1318ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='139' LIMIT 0,1

QUERY(0.1321ms) - SELECT * FROM `league_notices` WHERE `league_id`=7 && `season_id`=139

QUERY(0.2098ms) - SELECT SQL_CACHE `standings_id` FROM `standings` WHERE `season_id`=139 LIMIT 0,1

QUERY(0.1571ms) - SELECT SQL_CACHE `standings_override` FROM `league_schedule_options` WHERE `season_id`=139 LIMIT 0,1

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

QUERY(0.0961ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.1011ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1178ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.0989ms) - SELECT SQL_CACHE * FROM games_config

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

QUERY(0.092ms) - SELECT SQL_CACHE * FROM triumphs_config

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

QUERY(0.15ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='139'

QUERY(5.322ms) - 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`='7' && `league_teams`.`season_id`='139') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '139' 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.1481ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='139'

QUERY(3.4239ms) - 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`='7' && `league_teams`.`season_id`='139') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '139' 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.1371ms) - SELECT `hof_page` FROM `league_custom_content` WHERE `league_id`=7 && `season_id`=139

QUERY(3.149ms) - 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`=7 ORDER BY `season_id` DESC

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

QUERY(0.5801ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5181ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '102' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.1521ms) - 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 SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=970 LIMIT 0,1

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

QUERY(0.164ms) - 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`=7 && `season_id`=102 LIMIT 0,1

QUERY(0.3419ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=102 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2611ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='102' LIMIT 0,1

QUERY(0.21ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='102' || `season_id`=0)

QUERY(0.262ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='102' || `season_id`=0)

QUERY(0.185ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='102'

QUERY(0.9382ms) - 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`='7' && `season_id`='102' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3941ms) - 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`='7' && `season_id`='102' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.772ms) - 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`='7' && `season_id`='102' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.236ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='102' ORDER BY `season_id` DESC

QUERY(0.154ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='102'

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

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

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

QUERY(0.164ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=102 LIMIT 0,1

QUERY(1.647ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=102&&`playoff`=1 LIMIT 0,1

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

QUERY(0.4752ms) - 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`='7' && `league_teams`.`season_id`='102' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(1.2441ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='102'

QUERY(0.1938ms) - 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`='7' && `league_seasons`.`season_id`='102'

QUERY(0.1221ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=102 LIMIT 0,1

QUERY(0.1259ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=102

QUERY(1.085ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','102','32',0,0,'95','10','56','5','8','113',0,0,'25',0,'3','1','445',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='102',`articles`='32',`participants`=0,`conferences`=0,`players`='95',`coaches`='10',`subs`='56',`rules`='5',`teams`='8',`games`='113',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`='3',`prizes`='1',`triumphs`='445',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.1459ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='102'

QUERY(6.5191ms) - 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`='7' && `league_teams`.`season_id`='102') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '102' 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.1469ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.119ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2971ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='102' && `ranking`='1'

QUERY(2.8331ms) - 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`='102' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2422ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='102' && `ranking`='2'

QUERY(2.141ms) - 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`='102' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.206ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='102' && `ranking`='3'

QUERY(1.1041ms) - 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`='102' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1731ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='102' && `ranking`='4'

QUERY(0.8252ms) - 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`='102' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.19ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='102' && `ranking`='5'

QUERY(0.632ms) - 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`='102' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.16ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='102' && `ranking`='6'

QUERY(0.5178ms) - 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`='102' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.5698ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.489ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '91' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.1569ms) - 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`=7 && `season_id`=91 LIMIT 0,1

QUERY(0.205ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=91 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2141ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='91' LIMIT 0,1

QUERY(0.17ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='91' || `season_id`=0)

QUERY(0.2301ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='91' || `season_id`=0)

QUERY(0.1659ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='91'

QUERY(0.5789ms) - 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`='7' && `season_id`='91' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.387ms) - 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`='7' && `season_id`='91' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.6108ms) - 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`='7' && `season_id`='91' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.205ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='91' ORDER BY `season_id` DESC

QUERY(0.164ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='91'

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

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

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

QUERY(0.1431ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=91 LIMIT 0,1

QUERY(1.2429ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=91&&`playoff`=1 LIMIT 0,1

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

QUERY(0.432ms) - 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`='7' && `league_teams`.`season_id`='91' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(1.1332ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='91'

QUERY(0.1819ms) - 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`='7' && `league_seasons`.`season_id`='91'

QUERY(0.17ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=91 LIMIT 0,1

QUERY(0.118ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=91

QUERY(1.3959ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','91','35',0,0,'70','5','29','5','6','48',0,0,'25',0,0,0,'445',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='91',`articles`='35',`participants`=0,`conferences`=0,`players`='70',`coaches`='5',`subs`='29',`rules`='5',`teams`='6',`games`='48',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='445',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.1428ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='91'

QUERY(4.673ms) - 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`='7' && `league_teams`.`season_id`='91') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '91' 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.14ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1359ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.267ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='91' && `ranking`='1'

QUERY(2.7611ms) - 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`='91' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2348ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='91' && `ranking`='2'

QUERY(2.1069ms) - 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`='91' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.1919ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='91' && `ranking`='3'

QUERY(1.111ms) - 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`='91' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1929ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='91' && `ranking`='4'

QUERY(0.8619ms) - 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`='91' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1721ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='91' && `ranking`='5'

QUERY(0.6502ms) - 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`='91' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1941ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='91' && `ranking`='6'

QUERY(0.5178ms) - 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`='91' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.545ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.51ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '82' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.169ms) - 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`=7 && `season_id`=82 LIMIT 0,1

QUERY(0.1862ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=82 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2489ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='82' LIMIT 0,1

QUERY(0.164ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='82' || `season_id`=0)

QUERY(0.2561ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='82' || `season_id`=0)

QUERY(0.1569ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='82'

QUERY(0.73ms) - 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`='7' && `season_id`='82' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.407ms) - 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`='7' && `season_id`='82' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.67ms) - 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`='7' && `season_id`='82' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.211ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='82' ORDER BY `season_id` DESC

QUERY(0.155ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='82'

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

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

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

QUERY(0.144ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=82 LIMIT 0,1

QUERY(1.3142ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=82&&`playoff`=1 LIMIT 0,1

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

QUERY(0.457ms) - 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`='7' && `league_teams`.`season_id`='82' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(1.1361ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='82'

QUERY(0.196ms) - 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`='7' && `league_seasons`.`season_id`='82'

QUERY(0.124ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=82 LIMIT 0,1

QUERY(0.1349ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=82

QUERY(0.9599ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','82','30',0,0,'97','2','17','5','8','88',0,0,'25',0,0,0,'445',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='82',`articles`='30',`participants`=0,`conferences`=0,`players`='97',`coaches`='2',`subs`='17',`rules`='5',`teams`='8',`games`='88',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='445',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.1259ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='82'

QUERY(6.1009ms) - 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`='7' && `league_teams`.`season_id`='82') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '82' 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.2341ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.149ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.3231ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='82' && `ranking`='1'

QUERY(3.1621ms) - 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`='82' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2699ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='82' && `ranking`='2'

QUERY(2.1751ms) - 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`='82' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.216ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='82' && `ranking`='3'

QUERY(1.1151ms) - 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`='82' && `finish_rank`=3 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.18ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='82' && `ranking`='4'

QUERY(0.8931ms) - 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`='82' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1781ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='82' && `ranking`='5'

QUERY(0.634ms) - 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`='82' && `finish_rank`=5 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.149ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='82' && `ranking`='6'

QUERY(0.536ms) - 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`='82' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.5569ms) - 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`,`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` = '7' 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.5059ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '78' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.16ms) - 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`=7 && `season_id`=78 LIMIT 0,1

QUERY(0.191ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=78 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.191ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='78' LIMIT 0,1

QUERY(0.1431ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='78' || `season_id`=0)

QUERY(0.221ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='78' || `season_id`=0)

QUERY(0.149ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='78'

QUERY(0.6819ms) - 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`='7' && `season_id`='78' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.396ms) - 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`='7' && `season_id`='78' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.6659ms) - 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`='7' && `season_id`='78' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.1972ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='78' ORDER BY `season_id` DESC

QUERY(0.154ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='78'

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

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

QUERY(0.144ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=78 LIMIT 0,1

QUERY(1.4029ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=78&&`playoff`=1 LIMIT 0,1

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

QUERY(0.452ms) - 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`='7' && `league_teams`.`season_id`='78' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(1.0571ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='78'

QUERY(0.18ms) - 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`='7' && `league_seasons`.`season_id`='78'

QUERY(0.113ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=78 LIMIT 0,1

QUERY(0.1159ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=78

QUERY(1.0731ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','78','33',0,0,'88',0,'17','5','8','80',0,0,'25',0,0,0,0,0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='78',`articles`='33',`participants`=0,`conferences`=0,`players`='88',`coaches`=0,`subs`='17',`rules`='5',`teams`='8',`games`='80',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.15ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='78'

QUERY(6.042ms) - 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`='7' && `league_teams`.`season_id`='78') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '78' 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.1431ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.118ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.3011ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='78' && `ranking`='1'

QUERY(2.8021ms) - 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`='78' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2501ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='78' && `ranking`='2'

QUERY(2.1088ms) - 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`='78' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.1481ms) - 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`='7' && `season_id`='78' && `ranking`='3'

QUERY(1.112ms) - 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`='78' && `finish_rank`=3 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.1822ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='78' && `ranking`='4'

QUERY(0.834ms) - 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`='78' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1891ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='78' && `ranking`='5'

QUERY(0.654ms) - 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`='78' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1869ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='78' && `ranking`='6'

QUERY(0.5362ms) - 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`='78' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.5541ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5519ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '76' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.159ms) - 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`=7 && `season_id`=76 LIMIT 0,1

QUERY(0.2089ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=76 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.231ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='76' LIMIT 0,1

QUERY(0.1881ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='76' || `season_id`=0)

QUERY(0.242ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='76' || `season_id`=0)

QUERY(0.1681ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='76'

QUERY(0.597ms) - 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`='7' && `season_id`='76' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4139ms) - 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`='7' && `season_id`='76' &&`league_players`.`access`=4 && `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`='7' && `season_id`='76' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.2291ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='76' ORDER BY `season_id` DESC

QUERY(0.1588ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='76'

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

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

QUERY(0.165ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=76 LIMIT 0,1

QUERY(1.2119ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=76&&`playoff`=1 LIMIT 0,1

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

QUERY(0.4511ms) - 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`='7' && `league_teams`.`season_id`='76' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(1.0929ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='76'

QUERY(0.1881ms) - 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`='7' && `league_seasons`.`season_id`='76'

QUERY(0.118ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=76 LIMIT 0,1

QUERY(0.1249ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=76

QUERY(1.1809ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','76','32',0,0,'76',0,'19','5','6','54',0,0,'25',0,0,0,0,0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='76',`articles`='32',`participants`=0,`conferences`=0,`players`='76',`coaches`=0,`subs`='19',`rules`='5',`teams`='6',`games`='54',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.138ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='76'

QUERY(4.8029ms) - 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`='7' && `league_teams`.`season_id`='76') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '76' 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.1559ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1159ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2761ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='76' && `ranking`='1'

QUERY(2.785ms) - 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`='76' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.242ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='76' && `ranking`='2'

QUERY(2.0809ms) - 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`='76' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.1929ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='76' && `ranking`='3'

QUERY(1.107ms) - 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`='76' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.231ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='76' && `ranking`='4'

QUERY(0.8309ms) - 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`='76' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.2079ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='76' && `ranking`='5'

QUERY(0.679ms) - 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`='76' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.205ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='76' && `ranking`='6'

QUERY(0.5519ms) - 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`='76' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.6032ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.52ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '75' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1678ms) - 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`=7 && `season_id`=75 LIMIT 0,1

QUERY(0.2041ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=75 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.21ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='75' LIMIT 0,1

QUERY(0.1619ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='75' || `season_id`=0)

QUERY(0.2191ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='75' || `season_id`=0)

QUERY(0.1621ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='75'

QUERY(0.8039ms) - 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`='7' && `season_id`='75' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4508ms) - 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`='7' && `season_id`='75' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.813ms) - 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`='7' && `season_id`='75' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.2382ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='75' ORDER BY `season_id` DESC

QUERY(0.174ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='75'

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

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

QUERY(0.1731ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=75 LIMIT 0,1

QUERY(1.375ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=75&&`playoff`=1 LIMIT 0,1

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

QUERY(0.519ms) - 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`='7' && `league_teams`.`season_id`='75' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(1.024ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='75'

QUERY(0.196ms) - 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`='7' && `league_seasons`.`season_id`='75'

QUERY(0.1149ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=75 LIMIT 0,1

QUERY(0.1099ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=75

QUERY(1.0779ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','75','32',0,0,'124',0,'21','5','10','120',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='75',`articles`='32',`participants`=0,`conferences`=0,`players`='124',`coaches`=0,`subs`='21',`rules`='5',`teams`='10',`games`='120',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.15ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='75'

QUERY(7.452ms) - 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`='7' && `league_teams`.`season_id`='75') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '75' 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.1721ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1209ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.262ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='75' && `ranking`='1'

QUERY(2.908ms) - 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`='75' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.262ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='75' && `ranking`='2'

QUERY(2.1999ms) - 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`='75' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.216ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='75' && `ranking`='3'

QUERY(1.102ms) - 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`='75' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1972ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='75' && `ranking`='4'

QUERY(0.9198ms) - 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`='75' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.175ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='75' && `ranking`='5'

QUERY(0.6289ms) - 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`='75' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1781ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='75' && `ranking`='6'

QUERY(0.4969ms) - 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`='75' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.5939ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5031ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '74' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1631ms) - 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`=7 && `season_id`=74 LIMIT 0,1

QUERY(0.216ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=74 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1891ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='74' LIMIT 0,1

QUERY(0.1509ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='74' || `season_id`=0)

QUERY(0.21ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='74' || `season_id`=0)

QUERY(0.1631ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='74'

QUERY(0.598ms) - 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`='7' && `season_id`='74' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.38ms) - 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`='7' && `season_id`='74' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.7339ms) - 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`='7' && `season_id`='74' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.19ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='74' ORDER BY `season_id` DESC

QUERY(0.1619ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='74'

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

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

QUERY(0.169ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=74 LIMIT 0,1

QUERY(1.112ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=74&&`playoff`=1 LIMIT 0,1

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

QUERY(0.5071ms) - 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`='7' && `league_teams`.`season_id`='74' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.9508ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='74'

QUERY(0.19ms) - 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`='7' && `league_seasons`.`season_id`='74'

QUERY(0.1211ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=74 LIMIT 0,1

QUERY(0.1161ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=74

QUERY(1.2031ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','74','33',0,0,'93',0,'13','5','8','81',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='74',`articles`='33',`participants`=0,`conferences`=0,`players`='93',`coaches`=0,`subs`='13',`rules`='5',`teams`='8',`games`='81',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.145ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='74'

QUERY(5.9841ms) - 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`='7' && `league_teams`.`season_id`='74') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '74' 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.144ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.119ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2871ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='74' && `ranking`='1'

QUERY(2.8279ms) - 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`='74' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.267ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='74' && `ranking`='2'

QUERY(2.2151ms) - 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`='74' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2019ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='74' && `ranking`='3'

QUERY(1.1251ms) - 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`='74' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1981ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='74' && `ranking`='4'

QUERY(0.8318ms) - 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`='74' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.185ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='74' && `ranking`='5'

QUERY(0.7169ms) - 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`='74' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.201ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='74' && `ranking`='6'

QUERY(0.5469ms) - 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`='74' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.562ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5779ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '73' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.185ms) - 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`=7 && `season_id`=73 LIMIT 0,1

QUERY(0.2499ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=73 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.176ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='73'

QUERY(4.8602ms) - 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`='7' && `league_teams`.`season_id`='73') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '73' 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.1619ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1431ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.288ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='73' && `ranking`='1'

QUERY(3.2029ms) - 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`='73' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2789ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='73' && `ranking`='2'

QUERY(2.1949ms) - 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`='73' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.226ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='73' && `ranking`='3'

QUERY(1.2481ms) - 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`='73' && `finish_rank`=3 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`=''

QUERY(0.2151ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='73' && `ranking`='4'

QUERY(0.8719ms) - 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`='73' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.2329ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='73' && `ranking`='5'

QUERY(0.711ms) - 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`='73' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1791ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='73' && `ranking`='6'

QUERY(0.5901ms) - 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`='73' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.6189ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5541ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '70' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.2589ms) - 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`=7 && `season_id`=70 LIMIT 0,1

QUERY(0.294ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=70 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2661ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='70' LIMIT 0,1

QUERY(0.1891ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='70' || `season_id`=0)

QUERY(0.2561ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='70' || `season_id`=0)

QUERY(0.205ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='70'

QUERY(0.7122ms) - 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`='7' && `season_id`='70' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.407ms) - 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`='7' && `season_id`='70' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.6561ms) - 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`='7' && `season_id`='70' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.227ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='70' ORDER BY `season_id` DESC

QUERY(0.1879ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='70'

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

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

QUERY(0.165ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=70 LIMIT 0,1

QUERY(1.1768ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=70&&`playoff`=1 LIMIT 0,1

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

QUERY(0.4122ms) - 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`='7' && `league_teams`.`season_id`='70' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.9191ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='70'

QUERY(0.212ms) - 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`='7' && `league_seasons`.`season_id`='70'

QUERY(0.1271ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=70 LIMIT 0,1

QUERY(0.1299ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=70

QUERY(1.159ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','70','38',0,0,'96',0,'19','5','8','99',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='70',`articles`='38',`participants`=0,`conferences`=0,`players`='96',`coaches`=0,`subs`='19',`rules`='5',`teams`='8',`games`='99',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.1471ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='70'

QUERY(6.1302ms) - 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`='7' && `league_teams`.`season_id`='70') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '70' 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.1471ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.129ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2961ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='70' && `ranking`='1'

QUERY(2.84ms) - 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`='70' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2611ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='70' && `ranking`='2'

QUERY(2.3088ms) - 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`='70' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2251ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='70' && `ranking`='3'

QUERY(1.1849ms) - 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`='70' && `finish_rank`=3 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`=''

QUERY(0.2239ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='70' && `ranking`='4'

QUERY(0.89ms) - 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`='70' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.205ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='70' && `ranking`='5'

QUERY(0.7021ms) - 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`='70' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.185ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='70' && `ranking`='6'

QUERY(0.5431ms) - 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`='70' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.56ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5341ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '68' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.18ms) - 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`=7 && `season_id`=68 LIMIT 0,1

QUERY(0.2079ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=68 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2241ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='68' LIMIT 0,1

QUERY(0.1709ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='68' || `season_id`=0)

QUERY(0.2398ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='68' || `season_id`=0)

QUERY(0.1729ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='68'

QUERY(0.633ms) - 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`='7' && `season_id`='68' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4091ms) - 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`='7' && `season_id`='68' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.4919ms) - 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`='7' && `season_id`='68' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.221ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='68' ORDER BY `season_id` DESC

QUERY(0.1791ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='68'

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

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

QUERY(0.181ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=68 LIMIT 0,1

QUERY(0.185ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=68&&`playoff`=1 LIMIT 0,1

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

QUERY(0.464ms) - 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`='7' && `league_teams`.`season_id`='68' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.1621ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='68'

QUERY(0.174ms) - 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`='7' && `league_seasons`.`season_id`='68'

QUERY(0.139ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=68 LIMIT 0,1

QUERY(0.1421ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=68

QUERY(1.1692ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','68','35',0,0,'73',0,'6','6','6',0,0,0,'25',0,0,0,0,0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='68',`articles`='35',`participants`=0,`conferences`=0,`players`='73',`coaches`=0,`subs`='6',`rules`='6',`teams`='6',`games`=0,`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.1421ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='68'

QUERY(4.9672ms) - 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`='7' && `league_teams`.`season_id`='68') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '68' 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.1419ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1249ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2921ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='68' && `ranking`='1'

QUERY(2.8162ms) - 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`='68' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2949ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='68' && `ranking`='2'

QUERY(2.346ms) - 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`='68' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2069ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='68' && `ranking`='3'

QUERY(1.1351ms) - 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`='68' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1941ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='68' && `ranking`='4'

QUERY(0.8409ms) - 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`='68' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.186ms) - 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`='7' && `season_id`='68' && `ranking`='5'

QUERY(0.7041ms) - 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`='68' && `finish_rank`=5 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`=''

QUERY(0.1578ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='68' && `ranking`='6'

QUERY(0.551ms) - 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`='68' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.571ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5579ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '67' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1559ms) - 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`=7 && `season_id`=67 LIMIT 0,1

QUERY(0.2069ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=67 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1991ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='67' LIMIT 0,1

QUERY(0.1731ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='67' || `season_id`=0)

QUERY(0.2382ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='67' || `season_id`=0)

QUERY(0.2069ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='67'

QUERY(0.6239ms) - 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`='7' && `season_id`='67' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.406ms) - 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`='7' && `season_id`='67' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.5269ms) - 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`='7' && `season_id`='67' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.2069ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='67' ORDER BY `season_id` DESC

QUERY(0.1531ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='67'

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

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

QUERY(0.1578ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=67 LIMIT 0,1

QUERY(1.0159ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=67&&`playoff`=1 LIMIT 0,1

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

QUERY(0.5541ms) - 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`='7' && `league_teams`.`season_id`='67' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.8891ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='67'

QUERY(0.232ms) - 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`='7' && `league_seasons`.`season_id`='67'

QUERY(0.1361ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=67 LIMIT 0,1

QUERY(0.119ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=67

QUERY(1.4439ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','67','31',0,0,'75',0,'13','5','8','88',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='67',`articles`='31',`participants`=0,`conferences`=0,`players`='75',`coaches`=0,`subs`='13',`rules`='5',`teams`='8',`games`='88',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.159ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='67'

QUERY(6.253ms) - 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`='7' && `league_teams`.`season_id`='67') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '67' 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.1919ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1321ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.324ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='67' && `ranking`='1'

QUERY(2.8582ms) - 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`='67' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2429ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='67' && `ranking`='2'

QUERY(2.115ms) - 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`='67' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.206ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='67' && `ranking`='3'

QUERY(0.916ms) - 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`='67' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.19ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='67' && `ranking`='4'

QUERY(0.8681ms) - 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`='67' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1771ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='67' && `ranking`='5'

QUERY(0.6411ms) - 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`='67' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1781ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='67' && `ranking`='6'

QUERY(0.5009ms) - 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`='67' && `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.133ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=65 LIMIT 0,1

QUERY(0.541ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5219ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '65' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.154ms) - 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`=7 && `season_id`=65 LIMIT 0,1

QUERY(0.2141ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=65 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.149ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='65'

QUERY(6.4981ms) - 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`='7' && `league_teams`.`season_id`='65') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '65' 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.1459ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1419ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2639ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='65' && `ranking`='1'

QUERY(2.8088ms) - 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`='65' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.258ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='65' && `ranking`='2'

QUERY(2.2571ms) - 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`='65' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.217ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='65' && `ranking`='3'

QUERY(1.2031ms) - 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`='65' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.2019ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='65' && `ranking`='4'

QUERY(0.952ms) - 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`='65' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.175ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='65' && `ranking`='5'

QUERY(0.669ms) - 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`='65' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1681ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='65' && `ranking`='6'

QUERY(0.473ms) - 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`='65' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.6089ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.551ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '64' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1671ms) - 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`=7 && `season_id`=64 LIMIT 0,1

QUERY(0.231ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=64 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.201ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='64' LIMIT 0,1

QUERY(0.1671ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='64' || `season_id`=0)

QUERY(0.273ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='64' || `season_id`=0)

QUERY(0.1681ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='64'

QUERY(0.5741ms) - 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`='7' && `season_id`='64' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4239ms) - 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`='7' && `season_id`='64' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.5238ms) - 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`='7' && `season_id`='64' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.232ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='64' ORDER BY `season_id` DESC

QUERY(0.1721ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='64'

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

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

QUERY(0.145ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=64 LIMIT 0,1

QUERY(0.85ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=64&&`playoff`=1 LIMIT 0,1

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

QUERY(0.4671ms) - 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`='7' && `league_teams`.`season_id`='64' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.6769ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='64'

QUERY(0.196ms) - 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`='7' && `league_seasons`.`season_id`='64'

QUERY(0.1211ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=64 LIMIT 0,1

QUERY(0.1009ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=64

QUERY(1.1182ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','64','35',0,0,'61',0,'15','5','6','42',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='64',`articles`='35',`participants`=0,`conferences`=0,`players`='61',`coaches`=0,`subs`='15',`rules`='5',`teams`='6',`games`='42',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.1371ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='64'

QUERY(4.6709ms) - 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`='7' && `league_teams`.`season_id`='64') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '64' 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.133ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1171ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2849ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='64' && `ranking`='1'

QUERY(2.7499ms) - 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`='64' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.315ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='64' && `ranking`='2'

QUERY(2.223ms) - 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`='64' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.1981ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='64' && `ranking`='3'

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`='64' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1831ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='64' && `ranking`='4'

QUERY(0.8712ms) - 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`='64' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1922ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='64' && `ranking`='5'

QUERY(0.6769ms) - 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`='64' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1729ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='64' && `ranking`='6'

QUERY(0.5441ms) - 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`='64' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.54ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5341ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '62' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.149ms) - 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`=7 && `season_id`=62 LIMIT 0,1

QUERY(0.2079ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=62 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2739ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='62' LIMIT 0,1

QUERY(0.1628ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='62' || `season_id`=0)

QUERY(0.2339ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='62' || `season_id`=0)

QUERY(0.1669ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='62'

QUERY(0.746ms) - 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`='7' && `season_id`='62' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.366ms) - 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`='7' && `season_id`='62' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.716ms) - 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`='7' && `season_id`='62' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.2382ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='62' ORDER BY `season_id` DESC

QUERY(0.16ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='62'

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

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

QUERY(0.1421ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=62 LIMIT 0,1

QUERY(0.9999ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=62&&`playoff`=1 LIMIT 0,1

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

QUERY(0.463ms) - 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`='7' && `league_teams`.`season_id`='62' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.7319ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='62'

QUERY(0.1931ms) - 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`='7' && `league_seasons`.`season_id`='62'

QUERY(0.1228ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=62 LIMIT 0,1

QUERY(0.1221ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=62

QUERY(1.034ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','62','33',0,0,'109',0,'34','5','10','110',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='62',`articles`='33',`participants`=0,`conferences`=0,`players`='109',`coaches`=0,`subs`='34',`rules`='5',`teams`='10',`games`='110',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.15ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='62'

QUERY(7.205ms) - 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`='7' && `league_teams`.`season_id`='62') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '62' 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.129ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.119ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.303ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='62' && `ranking`='1'

QUERY(2.712ms) - 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`='62' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2568ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='62' && `ranking`='2'

QUERY(2.212ms) - 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`='62' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.191ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='62' && `ranking`='3'

QUERY(1.2181ms) - 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`='62' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.195ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='62' && `ranking`='4'

QUERY(0.8402ms) - 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`='62' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.2239ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='62' && `ranking`='5'

QUERY(0.6499ms) - 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`='62' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1729ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='62' && `ranking`='6'

QUERY(0.5081ms) - 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`='62' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.6719ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5431ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '52' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1659ms) - 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`=7 && `season_id`=52 LIMIT 0,1

QUERY(0.212ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=52 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.205ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='52' LIMIT 0,1

QUERY(0.1659ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='52' || `season_id`=0)

QUERY(0.2499ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='52' || `season_id`=0)

QUERY(0.16ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='52'

QUERY(0.6371ms) - 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`='7' && `season_id`='52' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.412ms) - 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`='7' && `season_id`='52' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.566ms) - 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`='7' && `season_id`='52' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.216ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='52' ORDER BY `season_id` DESC

QUERY(0.175ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='52'

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

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

QUERY(0.149ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=52 LIMIT 0,1

QUERY(0.972ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=52&&`playoff`=1 LIMIT 0,1

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

QUERY(0.463ms) - 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`='7' && `league_teams`.`season_id`='52' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.7811ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='52'

QUERY(0.2251ms) - 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`='7' && `league_seasons`.`season_id`='52'

QUERY(0.133ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=52 LIMIT 0,1

QUERY(0.1109ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=52

QUERY(1.1549ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','52','41',0,0,'86',0,'9','5','8','104',0,0,'25',0,0,0,0,0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='52',`articles`='41',`participants`=0,`conferences`=0,`players`='86',`coaches`=0,`subs`='9',`rules`='5',`teams`='8',`games`='104',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.139ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='52'

QUERY(6.4809ms) - 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`='7' && `league_teams`.`season_id`='52') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '52' 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.1869ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.124ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.268ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='52' && `ranking`='1'

QUERY(2.763ms) - 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`='52' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2351ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='52' && `ranking`='2'

QUERY(2.0499ms) - 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`='52' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.1969ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='52' && `ranking`='3'

QUERY(1.153ms) - 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`='52' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1872ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='52' && `ranking`='4'

QUERY(0.8512ms) - 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`='52' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.2148ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='52' && `ranking`='5'

QUERY(0.7241ms) - 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`='52' && `finish_rank`=5 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`=''

QUERY(0.1719ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='52' && `ranking`='6'

QUERY(0.6318ms) - 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`='52' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.5362ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.4959ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '46' 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.195ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=7 && `season_id`=46 LIMIT 0,1

QUERY(0.1991ms) - 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`=7 && `season_id`=46 LIMIT 0,1

QUERY(0.247ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=46 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.16ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='46'

QUERY(5.1541ms) - 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`='7' && `league_teams`.`season_id`='46') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '46' 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.1402ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1311ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.299ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='46' && `ranking`='1'

QUERY(3.005ms) - 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`='46' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2892ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='46' && `ranking`='2'

QUERY(2.0461ms) - 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`='46' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.206ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='46' && `ranking`='3'

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`='46' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.212ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='46' && `ranking`='4'

QUERY(0.9012ms) - 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`='46' && `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.1779ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='46' && `ranking`='5'

QUERY(0.6251ms) - 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`='46' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.174ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='46' && `ranking`='6'

QUERY(0.4928ms) - 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`='46' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.535ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.488ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '45' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1502ms) - 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`=7 && `season_id`=45 LIMIT 0,1

QUERY(0.205ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=45 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1919ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='45' LIMIT 0,1

QUERY(0.154ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='45' || `season_id`=0)

QUERY(0.2289ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='45' || `season_id`=0)

QUERY(0.169ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='45'

QUERY(0.627ms) - 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`='7' && `season_id`='45' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4129ms) - 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`='7' && `season_id`='45' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.52ms) - 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`='7' && `season_id`='45' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.21ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='45' ORDER BY `season_id` DESC

QUERY(0.1569ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='45'

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

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

QUERY(0.1819ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=45 LIMIT 0,1

QUERY(0.6959ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=45&&`playoff`=1 LIMIT 0,1

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

QUERY(0.4239ms) - 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`='7' && `league_teams`.`season_id`='45' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.4709ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='45'

QUERY(0.1681ms) - 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`='7' && `league_seasons`.`season_id`='45'

QUERY(0.1149ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=45 LIMIT 0,1

QUERY(0.1059ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=45

QUERY(1.3261ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','45','34',0,0,'89',0,'9','5','8','80',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='45',`articles`='34',`participants`=0,`conferences`=0,`players`='89',`coaches`=0,`subs`='9',`rules`='5',`teams`='8',`games`='80',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.145ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='45'

QUERY(6.5658ms) - 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`='7' && `league_teams`.`season_id`='45') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '45' 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.1411ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1221ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2942ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='45' && `ranking`='1'

QUERY(2.7761ms) - 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`='45' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2379ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='45' && `ranking`='2'

QUERY(2.049ms) - 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`='45' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2201ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='45' && `ranking`='3'

QUERY(1.2031ms) - 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`='45' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.191ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='45' && `ranking`='4'

QUERY(0.9201ms) - 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`='45' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1931ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='45' && `ranking`='5'

QUERY(0.6909ms) - 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`='45' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1769ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='45' && `ranking`='6'

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`='45' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.5538ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.4859ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '38' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1528ms) - 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`=7 && `season_id`=38 LIMIT 0,1

QUERY(0.2129ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=38 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1979ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='38' LIMIT 0,1

QUERY(0.174ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='38' || `season_id`=0)

QUERY(0.2441ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='38' || `season_id`=0)

QUERY(0.195ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='38'

QUERY(0.6449ms) - 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`='7' && `season_id`='38' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4401ms) - 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`='7' && `season_id`='38' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.4711ms) - 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`='7' && `season_id`='38' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.247ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='38' ORDER BY `season_id` DESC

QUERY(0.176ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='38'

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

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

QUERY(0.1669ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=38 LIMIT 0,1

QUERY(0.7079ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=38&&`playoff`=1 LIMIT 0,1

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

QUERY(0.5488ms) - 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`='7' && `league_teams`.`season_id`='38' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.5569ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='38'

QUERY(0.2608ms) - 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`='7' && `league_seasons`.`season_id`='38'

QUERY(0.1419ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=38 LIMIT 0,1

QUERY(0.1261ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=38

QUERY(1.2641ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','38','37',0,0,'65',0,'10','5','6','60',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='38',`articles`='37',`participants`=0,`conferences`=0,`players`='65',`coaches`=0,`subs`='10',`rules`='5',`teams`='6',`games`='60',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.159ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='38'

QUERY(5.5649ms) - 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`='7' && `league_teams`.`season_id`='38') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '38' 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.1459ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1192ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2849ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='38' && `ranking`='1'

QUERY(3.0971ms) - 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`='38' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2959ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='38' && `ranking`='2'

QUERY(2.275ms) - 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`='38' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2191ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='38' && `ranking`='3'

QUERY(1.163ms) - 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`='38' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.2229ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='38' && `ranking`='4'

QUERY(0.849ms) - 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`='38' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1931ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='38' && `ranking`='5'

QUERY(0.6359ms) - 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`='38' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1669ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='38' && `ranking`='6'

QUERY(0.6311ms) - 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`='38' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.5879ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5469ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '30' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1631ms) - 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`=7 && `season_id`=30 LIMIT 0,1

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

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

QUERY(0.1779ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='30'

QUERY(0.7641ms) - 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`='7' && `league_teams`.`season_id`='30') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '30' 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.181ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1168ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.3059ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='30' && `ranking`='1'

QUERY(2.759ms) - 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`='30' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2389ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='30' && `ranking`='2'

QUERY(2.1839ms) - 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`='30' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2091ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='30' && `ranking`='3'

QUERY(1.0719ms) - 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`='30' && `finish_rank`=3 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.2179ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='30' && `ranking`='4'

QUERY(0.8759ms) - 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`='30' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.2248ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='30' && `ranking`='5'

QUERY(0.628ms) - 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`='30' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.164ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='30' && `ranking`='6'

QUERY(0.531ms) - 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`='30' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.5569ms) - 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`,`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` = '7' LIMIT 0,1

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.54ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '27' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1822ms) - 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`=7 && `season_id`=27 LIMIT 0,1

QUERY(0.226ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=27 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.196ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='27' LIMIT 0,1

QUERY(0.175ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='27' || `season_id`=0)

QUERY(0.262ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='27' || `season_id`=0)

QUERY(0.1559ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='27'

QUERY(0.607ms) - 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`='7' && `season_id`='27' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4129ms) - 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`='7' && `season_id`='27' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.5691ms) - 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`='7' && `season_id`='27' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.288ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='27' ORDER BY `season_id` DESC

QUERY(0.2182ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='27'

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

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

QUERY(0.231ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=27 LIMIT 0,1

QUERY(0.7091ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=27&&`playoff`=1 LIMIT 0,1

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

QUERY(0.5209ms) - 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`='7' && `league_teams`.`season_id`='27' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.4919ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='27'

QUERY(0.2091ms) - 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`='7' && `league_seasons`.`season_id`='27'

QUERY(0.1211ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=27 LIMIT 0,1

QUERY(0.1192ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=27

QUERY(1.549ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','27','32',0,0,'86',0,'14','5','8','96',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='27',`articles`='32',`participants`=0,`conferences`=0,`players`='86',`coaches`=0,`subs`='14',`rules`='5',`teams`='8',`games`='96',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.1471ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='27'

QUERY(0.7999ms) - 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`='7' && `league_teams`.`season_id`='27') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '27' 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.1659ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.133ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2949ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='27' && `ranking`='1'

QUERY(2.284ms) - 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`='27' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2501ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='27' && `ranking`='2'

QUERY(2.044ms) - 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`='27' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2179ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='27' && `ranking`='3'

QUERY(1.1969ms) - 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`='27' && `finish_rank`=3 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`=''

QUERY(0.2029ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='27' && `ranking`='4'

QUERY(0.9048ms) - 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`='27' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.18ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='27' && `ranking`='5'

QUERY(0.669ms) - 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`='27' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.165ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='27' && `ranking`='6'

QUERY(0.5639ms) - 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`='27' && `finish_rank`=6 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.14ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=22 LIMIT 0,1

QUERY(0.5322ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.4818ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '22' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1471ms) - 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`=7 && `season_id`=22 LIMIT 0,1

QUERY(0.205ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=22 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.18ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='22'

QUERY(0.7632ms) - 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`='7' && `league_teams`.`season_id`='22') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '22' 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.191ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1369ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.263ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='22' && `ranking`='1'

QUERY(2.9581ms) - 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`='22' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2608ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='22' && `ranking`='2'

QUERY(2.033ms) - 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`='22' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.201ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='22' && `ranking`='3'

QUERY(1.1489ms) - 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`='22' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1788ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='22' && `ranking`='4'

QUERY(0.845ms) - 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`='22' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1681ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='22' && `ranking`='5'

QUERY(0.6521ms) - 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`='22' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1948ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='22' && `ranking`='6'

QUERY(0.5169ms) - 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`='22' && `finish_rank`=6 ORDER BY `date` DESC

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

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

QUERY(0.6011ms) - 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`,`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` = '7' LIMIT 0,1

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

QUERY(0.5088ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '7' and `league_seasons`.`season_id` = '8' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1562ms) - 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`=7 && `season_id`=8 LIMIT 0,1

QUERY(0.2298ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=8 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.19ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='7' && `season_id`='8' LIMIT 0,1

QUERY(0.1891ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='7' && (`season_id`='8' || `season_id`=0)

QUERY(0.2289ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='7' && (`season_id`='8' || `season_id`=0)

QUERY(0.1431ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=7 && `season_id`=0) || `season_id`='8'

QUERY(0.5438ms) - 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`='7' && `season_id`='8' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3781ms) - 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`='7' && `season_id`='8' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.4508ms) - 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`='7' && `season_id`='8' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.2301ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='8' ORDER BY `season_id` DESC

QUERY(0.1731ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='7' && `season_id`='8'

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

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

QUERY(0.1628ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=8 LIMIT 0,1

QUERY(0.489ms) - SELECT `game_id` FROM `games` WHERE `league_id`=7&&`season_id`=8&&`playoff`=1 LIMIT 0,1

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

QUERY(0.49ms) - 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`='7' && `league_teams`.`season_id`='8' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.334ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='8'

QUERY(0.2182ms) - 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`='7' && `league_seasons`.`season_id`='8'

QUERY(0.1221ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=8 LIMIT 0,1

QUERY(0.113ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=8

QUERY(1.1311ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','8','30',0,0,'59',0,'7','5','6','68',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='8',`articles`='30',`participants`=0,`conferences`=0,`players`='59',`coaches`=0,`subs`='7',`rules`='5',`teams`='6',`games`='68',`groups`=0,`divisions`=0,`seasons`='25',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.1311ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='8'

QUERY(0.7422ms) - 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`='7' && `league_teams`.`season_id`='8') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '7' and `standings`.`season_id` = '8' 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.139ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.119ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2639ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='8' && `ranking`='1'

QUERY(2.7649ms) - 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`='8' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.232ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='8' && `ranking`='2'

QUERY(2.198ms) - 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`='8' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.201ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='8' && `ranking`='3'

QUERY(1.127ms) - 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`='8' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1938ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='8' && `ranking`='4'

QUERY(0.8171ms) - 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`='8' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1979ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='8' && `ranking`='5'

QUERY(0.6001ms) - 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`='8' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.14ms) - 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`='7' && `season_id`='8' && `ranking`='6'

QUERY(0.4981ms) - 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`='8' && `finish_rank`=6 ORDER BY `date` DESC

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

QUERY(0.232ms) - SELECT SQL_CACHE `code` FROM `page_footers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:27:%' || (`global`=1 && `exclude` NOT LIKE '%:27:%') ) ORDER BY `id` ASC