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

Midwest Slowpitch

Season: Fall 2024 (Other Seasons)
Sport: Softball
CoedSocialDraft
Event Director
Venue
Midwest Sports Complex
Indianapolis, 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

Summer 2024 - Final Results

Spring 2024 - Final Results

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

118 300
PEAK MEMORY: 12.04 MiB
MEMORY USAGE AFTER: 10.88 MiB

Debug Information


Request Variables

var = league

varb = midwest

varc = fall-2024-mondays

vard = hall-of-fame

vara =

vare =

view_var = league

view_varb = midwest

view_varc = fall-2024-mondays

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: 67230c965a094ba327dc8ad5a4c576d5

Login Type:

BASE:: league

FULL LINK:: league/midwest/fall-2024-mondays/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 = 67230c965a094ba327dc8ad5a4c576d5
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/midwest/fall-2024-mondays/hall-of-fame/
QUERY_STRING = var=league&varb=midwest&varc=fall-2024-mondays&vard=hall-of-fame
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=league&varb=midwest&varc=fall-2024-mondays&vard=hall-of-fame
REDIRECT_URL = /league/midwest/fall-2024-mondays/hall-of-fame/
REMOTE_PORT = 50831
SCRIPT_FILENAME = /home/leaguejo_dev/public_html/index.php
SERVER_ADMIN = support@aod.net
CONTEXT_DOCUMENT_ROOT = /home/leaguejo_dev/public_html
CONTEXT_PREFIX =
REQUEST_SCHEME = https
DOCUMENT_ROOT = /home/leaguejo_dev/public_html
REMOTE_ADDR = 3.21.93.14
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/midwest/fall-2024-mondays/hall-of-fame
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
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/midwest/fall-2024-mondays/hall-of-fame/
SCRIPT_URL = /league/midwest/fall-2024-mondays/hall-of-fame/
UNIQUE_ID = ZzPYuv@0uvM1mJE8m5xrMQAAAQU
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/midwest/fall-2024-mondays/hall-of-fame/
REDIRECT_SCRIPT_URL = /league/midwest/fall-2024-mondays/hall-of-fame/
REDIRECT_UNIQUE_ID = ZzPYuv@0uvM1mJE8m5xrMQAAAQU
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1731451066.337
REQUEST_TIME = 1731451066


SQL Queries


Total Queries: 1293
Total Execution Time: 673.3813ms
Avg Execution Time:0.52078986852282ms

QUERY(1.298ms) - 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-12', '22:37:46', 'GET', '/league/midwest/fall-2024-mondays/hall-of-fame/', '3.21.93.14', 'https://netstuffersdev1.com/league/midwest/fall-2024-mondays/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheWYyTnVTZHU0WHliYU9pby9COVJhSTZGRHRvWkJOZElWM1lZRDZneVprZ245RHU3c0Q1L3ErNTFaMUJpa0RGUkwyeVJWUUpoUm9JbW9ES1NUd1M1VDc=','0','','1731451066') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1509ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/league/midwest/fall-2024-mondays/hall-of-fame/'

QUERY(0.252ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league/midwest/fall-2024-mondays/hall-of-fame' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.128ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.1419ms) - SELECT SQL_CACHE * FROM league_config

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

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

QUERY(0.5388ms) - 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` = '118' and `league_seasons`.`url` = 'fall-2024-mondays' 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.1261ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=970 LIMIT 0,1

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

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

QUERY(0.2248ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=118 && `season_id`=300 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.2279ms) - 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.139ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='America/New_York'

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

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

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

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

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

QUERY(0.123ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.145ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='midwest'

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

QUERY(0.119ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.118ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.144ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2019ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='118' && `season_id`='300' LIMIT 0,1

QUERY(0.1431ms) - SELECT * FROM `league_notices` WHERE `league_id`=118 && `season_id`=300

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

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

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

QUERY(0.1051ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.154ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.145ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.108ms) - SELECT SQL_CACHE * FROM games_config

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

QUERY(0.1011ms) - SELECT SQL_CACHE * FROM triumphs_config

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

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

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

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

QUERY(4.3499ms) - 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`=118||`triumphs_awarded`.`league_id`=7) ORDER BY `season_id` DESC

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

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

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.514ms) - 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` = '118' and `league_seasons`.`season_id` = '262' ORDER BY `league_dates`.`start_date` ASC

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

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

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

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

QUERY(0.2432ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=118 && `season_id`=262 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2151ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='118' && `season_id`='262' LIMIT 0,1

QUERY(0.1779ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='118' && (`season_id`='262' || `season_id`=0)

QUERY(0.2041ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='118' && (`season_id`='262' || `season_id`=0)

QUERY(0.155ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=118 && `season_id`=0) || `season_id`='262'

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

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

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

QUERY(0.2289ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='118' || `season_id`='262' ORDER BY `season_id` DESC

QUERY(0.1769ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='118' && `season_id`='262'

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

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

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

QUERY(0.159ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=118&&`season_id`=262 LIMIT 0,1

QUERY(0.4768ms) - SELECT `game_id` FROM `games` WHERE `league_id`=118&&`season_id`=262&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.33ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='118' && `season_id`='262'

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`='118' && `league_seasons`.`season_id`='262'

QUERY(0.119ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=118 && `season_id`=262 LIMIT 0,1

QUERY(0.107ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=118 && `season_id`=262

QUERY(1.055ms) - 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 ('118','262','5',0,0,'78','6','24','4','6','50',0,0,'4',0,'10',0,'50',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='118',`season_id`='262',`articles`='5',`participants`=0,`conferences`=0,`players`='78',`coaches`='6',`subs`='24',`rules`='4',`teams`='6',`games`='50',`groups`=0,`divisions`=0,`seasons`='4',`sponsors`=0,`products`='10',`prizes`=0,`triumphs`='50',`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`=262 LIMIT 0,1

QUERY(0.134ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='118' && `season_id`='262'

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

QUERY(0.1171ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.8231ms) - 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`='262' && `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.2639ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='118' && `season_id`='262' && `ranking`='2'

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

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

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

QUERY(1.1358ms) - 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`='262' && `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.2098ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='118' && `season_id`='262' && `ranking`='4'

QUERY(0.8829ms) - 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`='262' && `finish_rank`=4 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.19ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='118' && `season_id`='262' && `ranking`='5'

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

QUERY(0.586ms) - 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`='262' && `finish_rank`=6 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.1402ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=228 LIMIT 0,1

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

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

QUERY(0.5019ms) - 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` = '118' and `league_seasons`.`season_id` = '228' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.2091ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=118 && `season_id`=228 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2298ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='118' && `season_id`='228' LIMIT 0,1

QUERY(0.175ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='118' && (`season_id`='228' || `season_id`=0)

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

QUERY(0.1738ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=118 && `season_id`=0) || `season_id`='228'

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

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

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

QUERY(0.2809ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='118' || `season_id`='228' ORDER BY `season_id` DESC

QUERY(0.1609ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='118' && `season_id`='228'

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

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

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

QUERY(0.1662ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=118&&`season_id`=228 LIMIT 0,1

QUERY(0.3731ms) - SELECT `game_id` FROM `games` WHERE `league_id`=118&&`season_id`=228&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.3588ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='118' && `season_id`='228'

QUERY(0.1991ms) - 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`='118' && `league_seasons`.`season_id`='228'

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

QUERY(0.103ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=118 && `season_id`=228

QUERY(1.574ms) - 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 ('118','228','3',0,0,'91','10','28','4','8','79',0,0,'4',0,'10',0,'50',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='118',`season_id`='228',`articles`='3',`participants`=0,`conferences`=0,`players`='91',`coaches`='10',`subs`='28',`rules`='4',`teams`='8',`games`='79',`groups`=0,`divisions`=0,`seasons`='4',`sponsors`=0,`products`='10',`prizes`=0,`triumphs`='50',`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`=228 LIMIT 0,1

QUERY(0.144ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='118' && `season_id`='228'

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

QUERY(0.1221ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2739ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='118' && `season_id`='228' && `ranking`='1'

QUERY(2.826ms) - 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`='228' && `finish_rank`=1 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`='1'

QUERY(0.2661ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='118' && `season_id`='228' && `ranking`='2'

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

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

QUERY(0.2279ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='118' && `season_id`='228' && `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`='228' && `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.212ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='118' && `season_id`='228' && `ranking`='4'

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

QUERY(0.175ms) - 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`='118' && `season_id`='228' && `ranking`='5'

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`='228' && `finish_rank`=5 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.1719ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='118' && `season_id`='228' && `ranking`='6'

QUERY(0.5269ms) - 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`='228' && `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.139ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=102 LIMIT 0,1

QUERY(0.5682ms) - 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.1588ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

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

QUERY(0.1562ms) - 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.1838ms) - 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.195ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=102 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

QUERY(1.1239ms) - 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.211ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='102' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

QUERY(0.4451ms) - 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.2541ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='102'

QUERY(0.1841ms) - 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.124ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=102 LIMIT 0,1

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

QUERY(0.9131ms) - 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.1628ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=102 LIMIT 0,1

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

QUERY(6.2881ms) - 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.149ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1252ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.459ms) - 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.145ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

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

QUERY(0.8111ms) - 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.1299ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6452ms) - 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.144ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.4859ms) - 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.159ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.5341ms) - 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.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.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` = '91' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.1378ms) - 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.15ms) - 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.191ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=91 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(1.569ms) - 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.3839ms) - 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(1.0881ms) - 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.21ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='91' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

QUERY(0.443ms) - 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.107ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='91'

QUERY(0.1838ms) - 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.1111ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=91 LIMIT 0,1

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

QUERY(1.307ms) - 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.1678ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=91 LIMIT 0,1

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

QUERY(5.0471ms) - 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.1349ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1171ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.7549ms) - 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.1462ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.2619ms) - 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.1428ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.3781ms) - 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.1421ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

QUERY(0.5269ms) - 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.133ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.561ms) - 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.128ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5748ms) - 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.1359ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

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

QUERY(0.2482ms) - 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.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`=82 LIMIT 0,1

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

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

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

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

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

QUERY(4.096ms) - 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.6928ms) - 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(1.0049ms) - 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.2351ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='82' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

QUERY(0.4468ms) - 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.148ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='82'

QUERY(0.191ms) - 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.129ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=82 LIMIT 0,1

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

QUERY(0.9251ms) - 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.17ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=82 LIMIT 0,1

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

QUERY(6.644ms) - 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.149ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.118ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.8ms) - 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.1531ms) - 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`='82' && `ranking`='2'

QUERY(2.1269ms) - 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.145ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(0.8571ms) - 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.118ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.639ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='82' && `finish_rank`=5 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.1681ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='82' && `ranking`='6'

QUERY(0.5171ms) - 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.133ms) - 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`=78 LIMIT 0,1

QUERY(0.515ms) - 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.181ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.4761ms) - 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.1531ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.174ms) - 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.155ms) - 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.1891ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=78 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(2.177ms) - 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.4029ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='7' && `season_id`='78' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(1.0819ms) - 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.2182ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='78' ORDER BY `season_id` DESC

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

QUERY(0.155ms) - 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.1581ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=7&&`season_id`=78 LIMIT 0,1

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

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

QUERY(0.4642ms) - 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.0741ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='78'

QUERY(0.175ms) - 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.129ms) - 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.045ms) - 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.1709ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=78 LIMIT 0,1

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

QUERY(6.125ms) - 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.1519ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.103ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.7409ms) - 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.15ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.3971ms) - 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.139ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.1141ms) - 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.155ms) - 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`='78' && `ranking`='4'

QUERY(0.8149ms) - 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.14ms) - 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`='78' && `ranking`='5'

QUERY(0.6111ms) - 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.133ms) - 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`='78' && `ranking`='6'

QUERY(0.509ms) - 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.17ms) - 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.5ms) - 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.1419ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.4871ms) - 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.1221ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1562ms) - 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.1578ms) - 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.1829ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=76 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(0.735ms) - 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.376ms) - 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.5369ms) - 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.212ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='76' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.4361ms) - 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.0259ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='76'

QUERY(0.2398ms) - 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.1109ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=76 LIMIT 0,1

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

QUERY(1.6608ms) - 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.196ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=76 LIMIT 0,1

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

QUERY(5.9311ms) - 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.1471ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.145ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.795ms) - 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.154ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.1639ms) - 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.138ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.21ms) - 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.145ms) - 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`='4'

QUERY(0.875ms) - 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.123ms) - 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`='76' && `ranking`='5'

QUERY(0.6528ms) - 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.1419ms) - 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`='76' && `ranking`='6'

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

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

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

QUERY(0.5851ms) - 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.5591ms) - 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.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.1481ms) - 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.1509ms) - 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.2129ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=75 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

QUERY(0.736ms) - 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.236ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='75' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.4959ms) - 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.0619ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='75'

QUERY(0.242ms) - 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.1509ms) - 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(0.993ms) - 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.1779ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=75 LIMIT 0,1

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

QUERY(9.0351ms) - 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.15ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1359ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.816ms) - 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.2148ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.6309ms) - 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.1791ms) - 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`='75' && `ranking`='3'

QUERY(1.2491ms) - 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.1659ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.9611ms) - 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.186ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.7ms) - 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.145ms) - 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.67ms) - 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.16ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6149ms) - 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.5589ms) - 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.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.17ms) - 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.1829ms) - 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.241ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=74 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(2.8038ms) - 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.4709ms) - 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.751ms) - 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.217ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='74' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.468ms) - 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.9999ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='74'

QUERY(0.2229ms) - 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.1199ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=74 LIMIT 0,1

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

QUERY(1.1189ms) - 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.1872ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=74 LIMIT 0,1

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

QUERY(6.1381ms) - 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.1822ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.118ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.313ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='74' && `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`='74' && `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.361ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='74' && `ranking`='2'

QUERY(2.1548ms) - 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.144ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.2271ms) - 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.18ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.8662ms) - 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.1299ms) - 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`='74' && `ranking`='5'

QUERY(0.7031ms) - 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.149ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.509ms) - 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.1481ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.5178ms) - 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.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.5081ms) - 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.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.139ms) - 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.1531ms) - 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.1981ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=73 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

QUERY(0.4411ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='7' && `season_id`='73' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.53ms) - 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`='73' &&`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`='73' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

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

QUERY(0.201ms) - 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`='73'

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

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

QUERY(1.2419ms) - 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','73','30',0,0,'74',0,'5','5','6','48',0,0,'25',0,0,0,0,0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='73',`articles`='30',`participants`=0,`conferences`=0,`players`='74',`coaches`=0,`subs`='5',`rules`='5',`teams`='6',`games`='48',`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.1671ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=73 LIMIT 0,1

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

QUERY(5.1539ms) - 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.1738ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1111ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.784ms) - 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.1431ms) - 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`='73' && `ranking`='2'

QUERY(2.1188ms) - 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.149ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.265ms) - 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.18ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.8481ms) - 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.1471ms) - 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`='73' && `ranking`='5'

QUERY(0.689ms) - 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.1521ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.567ms) - 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.1421ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.5701ms) - 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.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.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` = '70' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.1631ms) - 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.1712ms) - 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.205ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=70 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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`='70' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.453ms) - 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.7951ms) - 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.2451ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='70' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.4909ms) - 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.9239ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='70'

QUERY(0.2062ms) - 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.139ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=70 LIMIT 0,1

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

QUERY(1.2319ms) - 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.1688ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=70 LIMIT 0,1

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

QUERY(7.262ms) - 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.139ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1142ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.0422ms) - 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.1352ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.224ms) - 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.1481ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.1911ms) - 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.1571ms) - 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`='70' && `ranking`='4'

QUERY(0.912ms) - 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.1469ms) - 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`='70' && `ranking`='5'

QUERY(0.7291ms) - 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.128ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.535ms) - 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.1719ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.51ms) - 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.175ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5322ms) - 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.1519ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.2012ms) - 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.1938ms) - 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.2339ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=68 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(0.6928ms) - 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.432ms) - 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.5648ms) - 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.2401ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='68' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.4902ms) - 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.1681ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='68'

QUERY(0.2031ms) - 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.107ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=68 LIMIT 0,1

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

QUERY(1.024ms) - 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.1929ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=68 LIMIT 0,1

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

QUERY(4.755ms) - 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.133ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1261ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.8589ms) - 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.1509ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.4829ms) - 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.1609ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.2789ms) - 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.129ms) - 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`='68' && `ranking`='4'

QUERY(0.8259ms) - 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.155ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6571ms) - 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.19ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.5462ms) - 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.144ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6249ms) - 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.519ms) - 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.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.169ms) - 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.1709ms) - 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.231ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=67 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(1.6448ms) - 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.3982ms) - 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.591ms) - 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.2172ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='67' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.4799ms) - 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.8271ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='67'

QUERY(0.186ms) - 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.1271ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=67 LIMIT 0,1

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

QUERY(1.0481ms) - 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.1659ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=67 LIMIT 0,1

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

QUERY(6.5041ms) - 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.133ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1302ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.0839ms) - 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.16ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

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

QUERY(0.844ms) - 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.1459ms) - 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`='67' && `ranking`='5'

QUERY(0.6628ms) - 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.1619ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1879ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='67' && `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`='67' && `finish_rank`=6 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.1378ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=65 LIMIT 0,1

QUERY(0.5891ms) - 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.155ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5178ms) - 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.1318ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1588ms) - 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.282ms) - 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.2279ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=65 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.237ms) - 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`='65'

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

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

QUERY(1.039ms) - 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','65','33',0,0,'88',0,'18','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`='65',`articles`='33',`participants`=0,`conferences`=0,`players`='88',`coaches`=0,`subs`='18',`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.226ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=65 LIMIT 0,1

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

QUERY(6.7489ms) - 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.1318ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.124ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.898ms) - 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.1531ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.1091ms) - 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.1352ms) - 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`='65' && `ranking`='3'

QUERY(1.121ms) - 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.1581ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6061ms) - 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.124ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.67ms) - 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.1261ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

QUERY(0.5391ms) - 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.1419ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.504ms) - 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.1349ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1428ms) - 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.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`=64 LIMIT 0,1

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

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

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

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

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

QUERY(0.5751ms) - 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.4079ms) - 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.55ms) - 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.2372ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='64' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.4451ms) - 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.7081ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='64'

QUERY(0.1822ms) - 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.155ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=64 LIMIT 0,1

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

QUERY(1.0619ms) - 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.2069ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=64 LIMIT 0,1

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

QUERY(4.884ms) - 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.1471ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.139ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.2101ms) - 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.1471ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.0821ms) - 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.2019ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.773ms) - 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.1199ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.8628ms) - 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.1619ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.638ms) - 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.1709ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.5021ms) - 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.1431ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6208ms) - 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.1328ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.4952ms) - 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.1359ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1469ms) - 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.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`=62 LIMIT 0,1

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

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

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

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

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

QUERY(0.7901ms) - 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.36ms) - 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.742ms) - 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.2029ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='62' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.345ms) - 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.782ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='62'

QUERY(0.185ms) - 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.1121ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=62 LIMIT 0,1

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

QUERY(1.056ms) - 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.1571ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=62 LIMIT 0,1

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

QUERY(7.6599ms) - 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.1318ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.139ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.7421ms) - 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.1369ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.032ms) - 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.1459ms) - 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`='62' && `ranking`='3'

QUERY(0.7679ms) - 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.1519ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.8459ms) - 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.14ms) - 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`='62' && `ranking`='5'

QUERY(0.6161ms) - 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.1462ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.4079ms) - 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.1299ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.505ms) - 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.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.5381ms) - 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.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.8769ms) - 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.138ms) - 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.169ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=52 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

QUERY(0.5391ms) - 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.1979ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='52' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.4232ms) - 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.67ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='52'

QUERY(0.1662ms) - 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.114ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=52 LIMIT 0,1

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

QUERY(1.312ms) - 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.1719ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=52 LIMIT 0,1

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

QUERY(6.7611ms) - 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.1531ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.119ms) - SELECT SQL_CACHE * FROM teams_config

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

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

QUERY(0.1578ms) - 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`='52' && `ranking`='2'

QUERY(2.0888ms) - 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.1411ms) - 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`='52' && `ranking`='3'

QUERY(1.1179ms) - 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.1431ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.8481ms) - 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.169ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.633ms) - 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.1321ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

QUERY(0.5431ms) - 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.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.519ms) - 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.1428ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1578ms) - 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.1531ms) - 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.221ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=46 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

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

QUERY(0.546ms) - 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`='46' &&`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`='46' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

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

QUERY(0.226ms) - 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`='46'

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

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

QUERY(1.0462ms) - 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','46','36',0,0,'61',0,'25','5','6','54',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='46',`articles`='36',`participants`=0,`conferences`=0,`players`='61',`coaches`=0,`subs`='25',`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`='1'

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

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

QUERY(4.7209ms) - 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.128ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.118ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.7781ms) - 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.149ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.038ms) - 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.1359ms) - 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`='46' && `ranking`='3'

QUERY(1.087ms) - 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.123ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

QUERY(0.5491ms) - 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.138ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.4959ms) - 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.1299ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.4849ms) - 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.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.1471ms) - 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.1531ms) - 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.1922ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=45 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(0.6039ms) - 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.376ms) - 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.5369ms) - 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.2048ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='45' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.483ms) - 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.545ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='45'

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`='45'

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

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

QUERY(0.9701ms) - 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.1941ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=45 LIMIT 0,1

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

QUERY(6.422ms) - 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.1371ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1121ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.733ms) - 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.149ms) - 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`='45' && `ranking`='2'

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

QUERY(0.8221ms) - 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.145ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6342ms) - 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.1149ms) - 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`='45' && `ranking`='6'

QUERY(0.4792ms) - 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.1318ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.5231ms) - 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.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.4771ms) - 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.128ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1428ms) - 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.1619ms) - 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.2069ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=38 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

QUERY(0.4869ms) - 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.2141ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='38' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.428ms) - 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.483ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='38'

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`='38'

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

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

QUERY(1.101ms) - 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.176ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=38 LIMIT 0,1

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

QUERY(4.704ms) - 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.1371ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1371ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.7778ms) - 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.15ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.0349ms) - 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.1411ms) - 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`='38' && `ranking`='3'

QUERY(1.1199ms) - 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.1349ms) - 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`='38' && `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`='38' && `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.1769ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='38' && `ranking`='5'

QUERY(0.6258ms) - 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.129ms) - 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`='38' && `ranking`='6'

QUERY(0.484ms) - 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.1469ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.526ms) - 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.1562ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5ms) - 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.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.1559ms) - 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.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`=30 LIMIT 0,1

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

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

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

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

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

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`='30' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

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

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

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

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

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

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

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

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

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

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

QUERY(0.181ms) - 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`='30'

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

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

QUERY(0.9081ms) - 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','30','32',0,0,'62',0,'5','5','6','36',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='30',`articles`='32',`participants`=0,`conferences`=0,`players`='62',`coaches`=0,`subs`='5',`rules`='5',`teams`='6',`games`='36',`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`=30 LIMIT 0,1

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

QUERY(0.716ms) - 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.128ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1202ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.7211ms) - 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.1462ms) - 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`='30' && `ranking`='2'

QUERY(1.9789ms) - 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.1371ms) - 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`='30' && `ranking`='3'

QUERY(1.092ms) - 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.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`='30' && `ranking`='4'

QUERY(0.922ms) - 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.1478ms) - 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`='30' && `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`='30' && `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.174ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='30' && `ranking`='6'

QUERY(0.53ms) - 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.128ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.5128ms) - 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.1271ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5ms) - 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.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.1502ms) - 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.155ms) - 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.1822ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=27 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(0.5999ms) - 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.3519ms) - 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.5281ms) - 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.2019ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='27' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.448ms) - 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.474ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='27'

QUERY(0.1841ms) - 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.1218ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=27 LIMIT 0,1

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

QUERY(0.9129ms) - 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.1771ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=27 LIMIT 0,1

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

QUERY(0.7398ms) - 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.1171ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.118ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.8009ms) - 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.1462ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.9779ms) - 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.1581ms) - 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`='27' && `ranking`='3'

QUERY(1.076ms) - 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.1519ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.7968ms) - 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.1202ms) - 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`='27' && `ranking`='5'

QUERY(0.5851ms) - 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.134ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.4299ms) - 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.1311ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.5112ms) - 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.1359ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.4861ms) - 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.1271ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1688ms) - 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.138ms) - 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.169ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=22 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.165ms) - 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`='22'

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

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

QUERY(1.0781ms) - 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','22','30',0,0,'81',0,'4','5','8','100',0,0,'25',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='7',`season_id`='22',`articles`='30',`participants`=0,`conferences`=0,`players`='81',`coaches`=0,`subs`='4',`rules`='5',`teams`='8',`games`='100',`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.165ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=22 LIMIT 0,1

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

QUERY(0.6959ms) - 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.1149ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.15ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.676ms) - 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.1431ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.997ms) - 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.145ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.8819ms) - 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.1431ms) - 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`='22' && `ranking`='4'

QUERY(0.7999ms) - 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.1571ms) - 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`='22' && `ranking`='5'

QUERY(0.648ms) - 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.145ms) - 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`='22' && `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`='22' && `finish_rank`=6 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.1249ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=8 LIMIT 0,1

QUERY(0.53ms) - 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.1259ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.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` = '8' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.134ms) - 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.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`=8 LIMIT 0,1

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

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

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

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

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

QUERY(0.499ms) - 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.345ms) - 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.4461ms) - 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.1981ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='8' ORDER BY `season_id` DESC

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

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

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

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

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

QUERY(0.4401ms) - 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.3259ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='7' && `season_id`='8'

QUERY(0.1869ms) - 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.123ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=7 && `season_id`=8 LIMIT 0,1

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

QUERY(4.544ms) - 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.1769ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=8 LIMIT 0,1

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

QUERY(0.6421ms) - 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.134ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1109ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.7349ms) - 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.1569ms) - 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`='8' && `ranking`='2'

QUERY(2.0409ms) - 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.14ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(1.0149ms) - 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.1369ms) - 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`='8' && `ranking`='4'

QUERY(0.8368ms) - 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.1359ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6161ms) - 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.1531ms) - 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`='8' && `ranking`='6'

QUERY(0.5162ms) - 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.1321ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.2191ms) - 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