SOLD OUT

This event has reached capacity.

Join as Alternate
League

ISP Southside Draft League

Season: Southside Softball Draft League | Fall 24 (Other Seasons)
Sport: Softball
CoedSocialDraft
Event Director
Indianapolis Sports Park
Contact / Learn More
Venue
Indy Sports Park
Indianapolis, IN
Day of the Week
TUE

SOLD OUT

This event has reached capacity.

Join as Alternate
Join as Alternate

Deprecated: Automatic conversion of false to array is deprecated in /home/leaguejo_dev/public_html/templates/lj/modules/league/hall-of-fame.php on line 27
47 293
PEAK MEMORY: 3.79 MiB
MEMORY USAGE AFTER: 2.53 MiB

Debug Information


Request Variables

var = league

varb = isp-softball

varc = fall-24-tuesdays

vard = hall-of-fame

vara =

vare =

view_var = league

view_varb = isp-softball

view_varc = fall-24-tuesdays

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: 40581f4acc3f112715d885a78cf50501

Login Type:

BASE:: league

FULL LINK:: league/isp-softball/fall-24-tuesdays/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 = 40581f4acc3f112715d885a78cf50501
fullstate =


Cookie Variables

laikanxia_google_v = 2
care_did = 07af92b0-2f97-4221-9138-13e28a365325
laikanxia_cookie_id = 241122181848797


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/isp-softball/fall-24-tuesdays/hall-of-fame/
QUERY_STRING = var=league&varb=isp-softball&varc=fall-24-tuesdays&vard=hall-of-fame
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=league&varb=isp-softball&varc=fall-24-tuesdays&vard=hall-of-fame
REDIRECT_URL = /league/isp-softball/fall-24-tuesdays/hall-of-fame/
REMOTE_PORT = 53425
SCRIPT_FILENAME = /home/leaguejo_dev/public_html/index.php
SERVER_ADMIN = support@aod.net
CONTEXT_DOCUMENT_ROOT = /home/leaguejo_dev/public_html
CONTEXT_PREFIX =
REQUEST_SCHEME = https
DOCUMENT_ROOT = /home/leaguejo_dev/public_html
REMOTE_ADDR = 3.147.75.46
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/isp-softball/fall-24-tuesdays/hall-of-fame
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = laikanxia_google_v=2; care_did=07af92b0-2f97-4221-9138-13e28a365325; laikanxia_cookie_id=241122181848797
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/isp-softball/fall-24-tuesdays/hall-of-fame/
SCRIPT_URL = /league/isp-softball/fall-24-tuesdays/hall-of-fame/
UNIQUE_ID = Z0BajkXjHxB6yHcc3o2@hgAAAAI
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/isp-softball/fall-24-tuesdays/hall-of-fame/
REDIRECT_SCRIPT_URL = /league/isp-softball/fall-24-tuesdays/hall-of-fame/
REDIRECT_UNIQUE_ID = Z0BajkXjHxB6yHcc3o2@hgAAAAI
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1732270734.7531
REQUEST_TIME = 1732270734


SQL Queries


Total Queries: 430
Total Execution Time: 246.7783ms
Avg Execution Time:0.57390302325581ms

QUERY(1.8229ms) - 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-22', '10:18:54', 'GET', '/league/isp-softball/fall-24-tuesdays/hall-of-fame/', '3.147.75.46', 'https://netstuffersdev1.com/league/isp-softball/fall-24-tuesdays/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheXdpZTA4bVZ4Nm4yRzYxUVUyQjlSM2pIai84TlU3L1ZYM0tzbEUwOHBrMW9UcmVGTnNsbGZTeitYNDZFL2s1RkliTUVUVmVOR1NzbW4yV0N0NnYxNUg=','0','','1732270734') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1791ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/league/isp-softball/fall-24-tuesdays/hall-of-fame/'

QUERY(0.2649ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league/isp-softball/fall-24-tuesdays/hall-of-fame' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.1431ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.128ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.566ms) - 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` = 'isp-softball' 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.531ms) - 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` = '47' and `league_seasons`.`url` = 'fall-24-tuesdays' ORDER BY `league_dates`.`start_date` ASC

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1411ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1469ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='isp-softball'

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

QUERY(0.1199ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1309ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1359ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1521ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='47' && `season_id`='293' LIMIT 0,1

QUERY(0.1578ms) - SELECT * FROM `league_notices` WHERE `league_id`=47 && `season_id`=293

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

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

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

QUERY(0.114ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.1309ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1259ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1369ms) - SELECT SQL_CACHE * FROM games_config

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

QUERY(0.1101ms) - SELECT SQL_CACHE * FROM triumphs_config

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

QUERY(0.1731ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='47' && `season_id`='293'

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.242ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='47' && `season_id`='264' LIMIT 0,1

QUERY(0.1972ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='47' && (`season_id`='264' || `season_id`=0)

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

QUERY(0.196ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=47 && `season_id`=0) || `season_id`='264'

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

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

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

QUERY(0.2902ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='47' || `season_id`='264' ORDER BY `season_id` DESC

QUERY(0.216ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='47' && `season_id`='264'

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

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

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

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

QUERY(0.366ms) - SELECT `game_id` FROM `games` WHERE `league_id`=47&&`season_id`=264&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.3781ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='47' && `season_id`='264'

QUERY(0.2739ms) - 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`='47' && `league_seasons`.`season_id`='264'

QUERY(0.1709ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=47 && `season_id`=264 LIMIT 0,1

QUERY(0.1578ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=47 && `season_id`=264

QUERY(1.7881ms) - 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 ('47','264','1',0,0,'84','4','30','4','5','61',0,0,'13',0,0,0,'248',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='47',`season_id`='264',`articles`='1',`participants`=0,`conferences`=0,`players`='84',`coaches`='4',`subs`='30',`rules`='4',`teams`='5',`games`='61',`groups`=0,`divisions`=0,`seasons`='13',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='248',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.1931ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='47' && `season_id`='264'

QUERY(4.3721ms) - 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`='47' && `league_teams`.`season_id`='264') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '47' and `standings`.`season_id` = '264' 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.1218ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.417ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='264' && `ranking`='1'

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

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

QUERY(0.309ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='264' && `ranking`='2'

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

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

QUERY(0.2511ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='264' && `ranking`='3'

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

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

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

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

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

QUERY(0.247ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='264' && `ranking`='5'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.2401ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='47' && `season_id`='261' LIMIT 0,1

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

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

QUERY(0.154ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=47 && `season_id`=0) || `season_id`='261'

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

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

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

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

QUERY(0.2031ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='47' && `season_id`='261'

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

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

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

QUERY(0.185ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=47&&`season_id`=261 LIMIT 0,1

QUERY(0.598ms) - SELECT `game_id` FROM `games` WHERE `league_id`=47&&`season_id`=261&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.438ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='47' && `season_id`='261'

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

QUERY(0.1578ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=47 && `season_id`=261 LIMIT 0,1

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

QUERY(1.368ms) - 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 ('47','261','1',0,0,'109','9','42','4','9','72',0,0,'13',0,'10',0,'248',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='47',`season_id`='261',`articles`='1',`participants`=0,`conferences`=0,`players`='109',`coaches`='9',`subs`='42',`rules`='4',`teams`='9',`games`='72',`groups`=0,`divisions`=0,`seasons`='13',`sponsors`=0,`products`='10',`prizes`=0,`triumphs`='248',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.186ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='47' && `season_id`='261'

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

QUERY(0.159ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.3958ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='261' && `ranking`='1'

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

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

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

QUERY(0.1888ms) - 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`='47' && `season_id`='261' && `ranking`='4'

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`='261' && `finish_rank`=4 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.21ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='261' && `ranking`='5'

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

QUERY(0.185ms) - 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`='47' && `season_id`='261' && `ranking`='6'

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

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

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

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

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

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

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

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

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

QUERY(0.2711ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='47' && `season_id`='207' LIMIT 0,1

QUERY(0.1862ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='47' && (`season_id`='207' || `season_id`=0)

QUERY(0.2151ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='47' && (`season_id`='207' || `season_id`=0)

QUERY(0.18ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=47 && `season_id`=0) || `season_id`='207'

QUERY(0.7391ms) - 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`='47' && `season_id`='207' &&`league_levels`.`score`>2 && `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`='47' && `season_id`='207' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

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

QUERY(0.2408ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='47' || `season_id`='207' ORDER BY `season_id` DESC

QUERY(0.195ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='47' && `season_id`='207'

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

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

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

QUERY(0.221ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=47&&`season_id`=207 LIMIT 0,1

QUERY(0.2599ms) - SELECT `game_id` FROM `games` WHERE `league_id`=47&&`season_id`=207&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.1941ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='47' && `season_id`='207'

QUERY(0.2429ms) - 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`='47' && `league_seasons`.`season_id`='207'

QUERY(0.149ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=47 && `season_id`=207 LIMIT 0,1

QUERY(0.1268ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=47 && `season_id`=207

QUERY(12.3661ms) - 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 ('47','207','3',0,0,'76','6','35','4','6',0,'1',0,'13',0,'10','1','248',0,0,'2',0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='47',`season_id`='207',`articles`='3',`participants`=0,`conferences`=0,`players`='76',`coaches`='6',`subs`='35',`rules`='4',`teams`='6',`games`=0,`groups`='1',`divisions`=0,`seasons`='13',`sponsors`=0,`products`='10',`prizes`='1',`triumphs`='248',`hotels`=0,`is_full`=0,`companies`='2',`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.17ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='47' && `season_id`='207'

QUERY(4.823ms) - 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`='47' && `league_teams`.`season_id`='207') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '47' and `standings`.`season_id` = '207' 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.1619ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.401ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='207' && `ranking`='1'

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

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

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

QUERY(0.2348ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='207' && `ranking`='3'

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

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

QUERY(0.211ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='207' && `ranking`='4'

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

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

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

QUERY(0.2069ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='207' && `ranking`='6'

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.2451ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='47' && `season_id`='136' LIMIT 0,1

QUERY(0.216ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='47' && (`season_id`='136' || `season_id`=0)

QUERY(0.2441ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='47' && (`season_id`='136' || `season_id`=0)

QUERY(0.1931ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=47 && `season_id`=0) || `season_id`='136'

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

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

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

QUERY(0.303ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='47' || `season_id`='136' ORDER BY `season_id` DESC

QUERY(0.212ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='47' && `season_id`='136'

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

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

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

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

QUERY(0.2041ms) - SELECT `game_id` FROM `games` WHERE `league_id`=47&&`season_id`=136&&`playoff`=1 LIMIT 0,1

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

QUERY(0.191ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='47' && `season_id`='136'

QUERY(0.2401ms) - 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`='47' && `league_seasons`.`season_id`='136'

QUERY(0.1631ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=47 && `season_id`=136 LIMIT 0,1

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

QUERY(1.6201ms) - 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 ('47','136','2',0,0,'106','9','25','4','8',0,0,0,'13',0,0,'1','248',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='47',`season_id`='136',`articles`='2',`participants`=0,`conferences`=0,`players`='106',`coaches`='9',`subs`='25',`rules`='4',`teams`='8',`games`=0,`groups`=0,`divisions`=0,`seasons`='13',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='248',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

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

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

QUERY(0.129ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2949ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='136' && `ranking`='1'

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

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

QUERY(0.2689ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='136' && `ranking`='2'

QUERY(2.485ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='136' && `finish_rank`=2 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`='1'

QUERY(0.262ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='136' && `ranking`='3'

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

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

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

QUERY(0.2451ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='136' && `ranking`='5'

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

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

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

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.5391ms) - 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` = '47' and `league_seasons`.`season_id` = '101' ORDER BY `league_dates`.`start_date` ASC

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

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

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

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

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

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

QUERY(0.2201ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='47' && (`season_id`='101' || `season_id`=0)

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

QUERY(0.18ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=47 && `season_id`=0) || `season_id`='101'

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

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

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

QUERY(0.258ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='47' || `season_id`='101' ORDER BY `season_id` DESC

QUERY(0.205ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='47' && `season_id`='101'

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

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

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

QUERY(0.1919ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=47&&`season_id`=101 LIMIT 0,1

QUERY(0.2ms) - SELECT `game_id` FROM `games` WHERE `league_id`=47&&`season_id`=101&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.181ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='47' && `season_id`='101'

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`='47' && `league_seasons`.`season_id`='101'

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

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

QUERY(1.8759ms) - 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 ('47','101','1',0,0,'85','5','35','4','6',0,0,0,'13',0,0,'1','248',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='47',`season_id`='101',`articles`='1',`participants`=0,`conferences`=0,`players`='85',`coaches`='5',`subs`='35',`rules`='4',`teams`='6',`games`=0,`groups`=0,`divisions`=0,`seasons`='13',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='248',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.1881ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='47' && `season_id`='101'

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

QUERY(0.1299ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2892ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='101' && `ranking`='1'

QUERY(3.082ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='101' && `finish_rank`=1 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`='1'

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

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

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

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

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

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

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

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

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

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

QUERY(0.602ms) - 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` = '47' 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.5491ms) - 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` = '47' and `league_seasons`.`season_id` = '87' 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.128ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

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

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

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

QUERY(0.2441ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='47' && `season_id`='87' LIMIT 0,1

QUERY(0.2398ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='47' && (`season_id`='87' || `season_id`=0)

QUERY(0.211ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='47' && (`season_id`='87' || `season_id`=0)

QUERY(0.18ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=47 && `season_id`=0) || `season_id`='87'

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

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

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

QUERY(0.2351ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='47' || `season_id`='87' ORDER BY `season_id` DESC

QUERY(0.1962ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='47' && `season_id`='87'

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

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

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

QUERY(0.1941ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=47&&`season_id`=87 LIMIT 0,1

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

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

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

QUERY(0.181ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='47' && `season_id`='87'

QUERY(0.1779ms) - 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`='47' && `league_seasons`.`season_id`='87'

QUERY(0.1359ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=47 && `season_id`=87 LIMIT 0,1

QUERY(0.1121ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=47 && `season_id`=87

QUERY(1.1702ms) - 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 ('47','87',0,0,0,'45','3','13','4','4',0,0,0,'13',0,0,0,'248',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='47',`season_id`='87',`articles`=0,`participants`=0,`conferences`=0,`players`='45',`coaches`='3',`subs`='13',`rules`='4',`teams`='4',`games`=0,`groups`=0,`divisions`=0,`seasons`='13',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='248',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

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

QUERY(4.087ms) - 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`='47' && `league_teams`.`season_id`='87') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '47' and `standings`.`season_id` = '87' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

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

QUERY(0.176ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.4082ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='87' && `ranking`='1'

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

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

QUERY(0.2902ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='87' && `ranking`='2'

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

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

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

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

QUERY(0.2549ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='87' && `ranking`='6'

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

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

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

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

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

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

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

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

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

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

QUERY(0.185ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='47' && (`season_id`='80' || `season_id`=0)

QUERY(0.2089ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='47' && (`season_id`='80' || `season_id`=0)

QUERY(0.1969ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=47 && `season_id`=0) || `season_id`='80'

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

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

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

QUERY(0.2489ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='47' || `season_id`='80' ORDER BY `season_id` DESC

QUERY(0.1559ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='47' && `season_id`='80'

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

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

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

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

QUERY(0.2179ms) - SELECT `game_id` FROM `games` WHERE `league_id`=47&&`season_id`=80&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.217ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='47' && `season_id`='80'

QUERY(0.221ms) - 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`='47' && `league_seasons`.`season_id`='80'

QUERY(0.165ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=47 && `season_id`=80 LIMIT 0,1

QUERY(0.1431ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=47 && `season_id`=80

QUERY(1.528ms) - 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 ('47','80','4',0,0,'44',0,'9','4','4',0,0,0,'13',0,0,0,'248',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='47',`season_id`='80',`articles`='4',`participants`=0,`conferences`=0,`players`='44',`coaches`=0,`subs`='9',`rules`='4',`teams`='4',`games`=0,`groups`=0,`divisions`=0,`seasons`='13',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='248',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

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

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

QUERY(0.1781ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.3042ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='80' && `ranking`='1'

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

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

QUERY(0.2751ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='80' && `ranking`='2'

QUERY(2.5249ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='80' && `finish_rank`=2 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`='1'

QUERY(0.253ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='80' && `ranking`='3'

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

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

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

QUERY(0.257ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='47' && `season_id`='80' && `ranking`='5'

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

QUERY(0.195ms) - 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`='47' && `season_id`='80' && `ranking`='6'

QUERY(0.6368ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='80' && `finish_rank`=6 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.253ms) - 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