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

LeagueJoe Draft League

Season: Summer 2019 (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.

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

Spring 2023 - Final Results

Fall 2022 - Final Results

Summer 2022 - Final Results

Spring 2022 - Final Results

Fall 2021 - Final Results

Spring 2021 - Final Results

Fall 2019 - Final Results

Spring 2019 - Final Results

Fall 2018 - Final Results

Summer 2018 - Final Results

Spring 2018 - Final Results

Fall 2017 - Final Results

Summer 2017 - Final Results

Spring 2017 - Final Results

Fall 2016 - Final Results

Summer 2016 - Final Results

Spring 2016 - Final Results

Summer Draft League - Final Results

7 67
PEAK MEMORY: 3.79 MiB
MEMORY USAGE AFTER: 2.7 MiB

Debug Information


Request Variables

var = league

varb = leaguejoe-draft-league

varc = summer-2019-1558954837

vard = hall-of-fame

vara =

vare =

view_var = league

view_varb = leaguejoe-draft-league

view_varc = summer-2019-1558954837

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: 6e5c8c9207af28faa1de8b083b4975da

Login Type:

BASE:: league

FULL LINK:: league/leaguejoe-draft-league/summer-2019-1558954837/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 = 6e5c8c9207af28faa1de8b083b4975da
fullstate =


Cookie Variables

sbd258a1c = a6b1cfa7f16e98374ca328bfb570ce2a
care_did = 5b82ee93-5050-49cc-91e3-ef69997630e0


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame/
QUERY_STRING = var=league&varb=leaguejoe-draft-league&varc=summer-2019-1558954837&vard=hall-of-fame
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=league&varb=leaguejoe-draft-league&varc=summer-2019-1558954837&vard=hall-of-fame
REDIRECT_URL = /league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame/
REMOTE_PORT = 27693
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.142.40.195
SERVER_PORT = 443
SERVER_ADDR = 162.248.190.150
SERVER_NAME = netstuffersdev1.com
SERVER_SOFTWARE = Apache
SERVER_SIGNATURE =
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST = netstuffersdev1.com
HTTP_REFERER = https://netstuffersdev1.com/league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = sbd258a1c=a6b1cfa7f16e98374ca328bfb570ce2a; care_did=5b82ee93-5050-49cc-91e3-ef69997630e0
HTTP_USER_AGENT = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT = */*
proxy-nokeepalive = 1
SSL_TLS_SNI = netstuffersdev1.com
HTTPS = on
SCRIPT_URI = https://netstuffersdev1.com/league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame/
SCRIPT_URL = /league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame/
UNIQUE_ID = Zz8oJO9urvFP-X@yUD07JgAAAIQ
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame/
REDIRECT_SCRIPT_URL = /league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame/
REDIRECT_UNIQUE_ID = Zz8oJO9urvFP-X@yUD07JgAAAIQ
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1732192292.1708
REQUEST_TIME = 1732192292


SQL Queries


Total Queries: 1104
Total Execution Time: 606.3078ms
Avg Execution Time:0.54919184782609ms

QUERY(1.302ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2024-11-21', '12:31:32', 'GET', '/league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame/', '3.142.40.195', 'https://netstuffersdev1.com/league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd3k3SVBkWE8xK1VjVVRFSER0azZDcVRUVnN1MkxiYzFoVEJFZm9KdmZHSHFBUHdJVjQ3QUVWTE1FdS9yUmpKK3JwUGNSakR5NnYwMmtNS0k4VEpTMEs=','0','','1732192292') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.155ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame/'

QUERY(0.257ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league/leaguejoe-draft-league/summer-2019-1558954837/hall-of-fame' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.1769ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.1192ms) - SELECT SQL_CACHE * FROM league_config

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

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

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

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

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

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

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

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

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

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

QUERY(0.654ms) - 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.4492ms) - 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.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`='67' &&`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`='67' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

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

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

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

QUERY(0.2389ms) - 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.149ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='UTC'

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

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

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

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

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

QUERY(0.1369ms) - SELECT SQL_CACHE * FROM league_config

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

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

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

QUERY(0.139ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.107ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.129ms) - SELECT SQL_CACHE * FROM teams_config

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

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

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

QUERY(0.113ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.1159ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1371ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1369ms) - SELECT SQL_CACHE * FROM games_config

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

QUERY(0.103ms) - SELECT SQL_CACHE * FROM triumphs_config

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

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

QUERY(6.4621ms) - 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.1571ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='7' && `season_id`='67'

QUERY(6.2499ms) - 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.1671ms) - SELECT `hof_page` FROM `league_custom_content` WHERE `league_id`=7 && `season_id`=67

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1509ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.134ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1881ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.244ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1841ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.2281ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.222ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='102' && `ranking`='4'

QUERY(0.9689ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1531ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.7138ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.2019ms) - 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`='102' && `ranking`='6'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1249ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.949ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.175ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

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

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

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

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

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

QUERY(0.643ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.145ms) - 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`='91' && `ranking`='6'

QUERY(0.5028ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1268ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1121ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=82 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.1268ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

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

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

QUERY(0.1729ms) - 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.1769ms) - 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.231ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=82 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1221ms) - SELECT SQL_CACHE * FROM teams_config

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

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

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

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

QUERY(2.5802ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1678ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.25ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.2139ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.891ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.145ms) - 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`='82' && `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`='82' && `finish_rank`=5 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.1869ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='82' && `ranking`='6'

QUERY(0.5169ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='82' && `finish_rank`=6 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.1671ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=78 LIMIT 0,1

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

QUERY(0.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` = '78' 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.169ms) - 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.175ms) - 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.2592ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=78 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1209ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.8651ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1681ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.2869ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1631ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.2608ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='78' && `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`='78' && `finish_rank`=3 ORDER BY `date` DESC

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

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

QUERY(0.9139ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1681ms) - 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`='78' && `ranking`='5'

QUERY(0.664ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1652ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

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

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

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

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

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

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

QUERY(0.664ms) - 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.3989ms) - 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.5209ms) - 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.2298ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='76' ORDER BY `season_id` DESC

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

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

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

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

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

QUERY(0.129ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=76 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`='76' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

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

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

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

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

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

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

QUERY(0.1299ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.8801ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1688ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.177ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1991ms) - 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`='76' && `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`='76' && `finish_rank`=3 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.2139ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='76' && `ranking`='4'

QUERY(0.9711ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1459ms) - 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`='76' && `ranking`='5'

QUERY(0.6721ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1941ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='76' && `ranking`='6'

QUERY(0.5281ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1411ms) - 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`=75 LIMIT 0,1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1199ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.8679ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.159ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

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

QUERY(1.1539ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1481ms) - 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`='75' && `ranking`='4'

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

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

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

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

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

QUERY(0.5641ms) - 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.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.212ms) - 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.175ms) - 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.2191ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=74 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

QUERY(0.2699ms) - 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(0.7432ms) - 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.385ms) - 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.6132ms) - 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.226ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='74' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.165ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.114ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1569ms) - 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`='74' && `ranking`='2'

QUERY(2.208ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.154ms) - 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`='74' && `ranking`='3'

QUERY(1.225ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.15ms) - 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`='74' && `ranking`='4'

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

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

QUERY(0.695ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.211ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='74' && `ranking`='6'

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

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

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

QUERY(0.49ms) - 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.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.1721ms) - 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.1781ms) - 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.231ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=73 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

QUERY(0.124ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.8081ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.164ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.2659ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.211ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='73' && `ranking`='3'

QUERY(1.1668ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1559ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

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

QUERY(0.1731ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='73' && `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`='73' && `finish_rank`=6 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.123ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=70 LIMIT 0,1

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

QUERY(0.5629ms) - 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.2131ms) - 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`=70 LIMIT 0,1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1321ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.804ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.164ms) - 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`='70' && `ranking`='2'

QUERY(1.8189ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1411ms) - 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`='70' && `ranking`='3'

QUERY(1.116ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1488ms) - 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`='70' && `ranking`='4'

QUERY(0.859ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.15ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

QUERY(0.1888ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='70' && `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`='70' && `finish_rank`=6 ORDER BY `date` DESC

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

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

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

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

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

QUERY(0.1669ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=7 && `season_id`=68 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`=68 LIMIT 0,1

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

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

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

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

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

QUERY(0.5682ms) - 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.4051ms) - 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.5329ms) - 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.263ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='68' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

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

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

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

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

QUERY(4.709ms) - 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.169ms) - 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`='68' && `ranking`='1'

QUERY(2.883ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.237ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='68' && `ranking`='2'

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

QUERY(0.212ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='68' && `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`='68' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.8378ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.139ms) - 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`='68' && `ranking`='5'

QUERY(0.7138ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1478ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.5219ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1609ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1731ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=67 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.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.4909ms) - 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.15ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1459ms) - 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.1638ms) - 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.227ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=67 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

QUERY(0.128ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.7721ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1569ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.4211ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.18ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

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

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

QUERY(0.86ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1931ms) - 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`='67' && `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`='67' && `finish_rank`=5 ORDER BY `date` DESC

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

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

QUERY(0.596ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.165ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

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

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

QUERY(0.1411ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.8801ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.164ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

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

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

QUERY(1.286ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1631ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

QUERY(0.7379ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1502ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

QUERY(0.6051ms) - 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.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.159ms) - 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.174ms) - 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.2239ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=64 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(0.6289ms) - 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.448ms) - 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.5598ms) - 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.2539ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='64' ORDER BY `season_id` DESC

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

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

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

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

QUERY(0.134ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=64 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`='64' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

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

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

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

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

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

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

QUERY(0.1242ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.13ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1659ms) - 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`='64' && `ranking`='2'

QUERY(2.182ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1662ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(1.2739ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1509ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

QUERY(0.6778ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.174ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.618ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1509ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

QUERY(0.1848ms) - 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.186ms) - 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.2401ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=62 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(0.8609ms) - 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.4051ms) - 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.7949ms) - 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.2372ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='62' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1771ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.1919ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1619ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.382ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1538ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

QUERY(0.927ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.2069ms) - 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`='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`='62' && `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.195ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='62' && `ranking`='6'

QUERY(0.5951ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1369ms) - 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`=52 LIMIT 0,1

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

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

QUERY(0.237ms) - 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.1781ms) - 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.226ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=7 && `season_id`=52 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1519ms) - SELECT SQL_CACHE * FROM teams_config

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

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

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

QUERY(2.3041ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1488ms) - 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`='52' && `ranking`='3'

QUERY(1.2591ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1571ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.982ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1528ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.8519ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1509ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.556ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1531ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

QUERY(0.1659ms) - 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.154ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=7 && `season_id`=46 LIMIT 0,1

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

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

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

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

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

QUERY(0.6602ms) - 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.417ms) - 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.572ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='7' && `season_id`='46' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1199ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.2239ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.2072ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.3701ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1621ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

QUERY(0.767ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.19ms) - 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`='46' && `ranking`='6'

QUERY(0.6421ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.2398ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

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

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

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

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

QUERY(0.788ms) - 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.4749ms) - 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.6142ms) - 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.2532ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='7' || `season_id`='45' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1369ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.0711ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1719ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.4202ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.211ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(1.2321ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1731ms) - 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`='45' && `ranking`='4'

QUERY(0.9699ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1919ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.7579ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1659ms) - 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`='45' && `ranking`='6'

QUERY(0.5879ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1571ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1678ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.1261ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.181ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.0261ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1919ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(1.322ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.2091ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

QUERY(0.7129ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1721ms) - 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`='38' && `ranking`='6'

QUERY(0.705ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.144ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=30 LIMIT 0,1

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

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

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

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

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

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

QUERY(0.154ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.222ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.18ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.403ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.32ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

QUERY(0.9489ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.15ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.7439ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1569ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.2151ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='7' && `season_id`='30' && `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`='30' && `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.1359ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=27 LIMIT 0,1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.186ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.964ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.236ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

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

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

QUERY(1.3251ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.154ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.953ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.154ms) - 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`='27' && `ranking`='5'

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

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

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

QUERY(0.489ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1678ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

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

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

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

QUERY(0.1431ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.031ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1829ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.1031ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1602ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(1.055ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1512ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

QUERY(0.6881ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.15ms) - 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`='22' && `ranking`='6'

QUERY(0.541ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1669ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(1.2031ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('7','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.2069ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=8 LIMIT 0,1

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

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

QUERY(0.139ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.3438ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1709ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

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

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

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

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

QUERY(0.9639ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.1822ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.9091ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` 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.19ms) - 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`='8' && `ranking`='6'

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

QUERY(0.289ms) - 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