0.0146 | SELECT type FROM routes WHERE alias = 'portugal1987' |
0.0293 | SELECT c.*, l.*, '' as namec FROM leagues_webci l INNER JOIN categories_webci c ON l.categoryId = c.id WHERE c.alias = 'portugal' AND (l.group_code = 1 OR l.group_code = 1 OR l.group_code = 0) AND l.year = 1987 ORDER BY l.year=c.active_year DESC,l.year DESC, l.group_code=1 DESC LIMIT 1 |
0.0149 | SELECT dt.nameShow,dt.basealias,t.id,t.teamId FROM teams t INNER JOIN datateams dt ON t.teamId = dt.id WHERE t.league_id = 5754 ORDER BY dt.relations DESC, dt.nameShow ASC LIMIT 50 |
0.0147 | SELECT c.id, c.name, c.alias, c.stepParent, l.year FROM categories AS c INNER JOIN leagues AS l ON c.id=l.categoryId AND l.year='1987' WHERE c.parentId=19 GROUP BY c.id ORDER BY c.order_id ASC |
0.0145 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=1 AND last_update > '2024-05-10 07:39:02' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0145 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=2 AND last_update > '2024-05-10 07:39:02' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0146 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=4 AND last_update > '2024-05-10 07:39:02' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0147 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=3 AND last_update > '2024-05-10 07:39:02' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0162 | SELECT c.*, l.*, '' as namec FROM leagues_webci l INNER JOIN categories_webci c ON l.categoryId = c.id WHERE c.alias = 'portugal' AND (l.group_code = 0 OR l.group_code = 1 OR l.group_code = 0) AND l.year = 1987 ORDER BY l.year=c.active_year DESC,l.year DESC, l.group_code=0 DESC LIMIT 1 |
0.0299 | SELECT e.action, count(e.action) as total, e.player_id FROM events1987 e WHERE e.league_id IN (5754) AND (e.action IN (1,2,11,12,13) ) GROUP BY e.player_id ORDER BY total DESC, e.player_id ASC LIMIT 20 |
0.0168 | SELECT dp.name, dp.last_name, dp.nick,dp.CountryCode,dp.alias,rp.team_id,dt.nameShow,dt.short_name,dt.basealias,rp.player_id,rp.teamId,dp.role FROM dataplayers AS dp INNER JOIN rel_players AS rp ON rp.player_id=dp.id AND rp.league_id IN (5754) INNER JOIN datateams AS dt ON rp.teamId=dt.id WHERE dp.id IN (515610,330293,421356,257207,516273,355300,387474,482781,382622,501559,252492,449437,370212,421355,266069,370198,370230,410526,421421,502076) ORDER BY rp.in_squad = 1 DESC |
0.0292 | SELECT e.action, count(e.action) as total, e.player_id FROM events1987 e WHERE e.league_id IN (5754) AND (e.action IN (4,5) ) GROUP BY e.player_id ORDER BY total DESC, e.player_id ASC LIMIT 20 |
0.0158 | SELECT dp.name, dp.last_name, dp.nick,dp.CountryCode,dp.alias,rp.team_id,dt.nameShow,dt.short_name,dt.basealias,rp.player_id,rp.teamId,dp.role FROM dataplayers AS dp INNER JOIN rel_players AS rp ON rp.player_id=dp.id AND rp.league_id IN (5754) INNER JOIN datateams AS dt ON rp.teamId=dt.id WHERE dp.id IN (421422,482387,502560,482781,501411,501565,516684,779680,957286,957551,957584,421344,482794,500823,501559,501975,502125,502561,503329,516188) ORDER BY rp.in_squad = 1 DESC |
0.0184 | SELECT e.action, count(e.action) as total, e.player_id FROM events1987 e WHERE e.league_id IN (5754) AND (e.action IN (3,4) ) GROUP BY e.player_id ORDER BY total DESC, e.player_id ASC LIMIT 20 |
0.0153 | SELECT dp.name, dp.last_name, dp.nick,dp.CountryCode,dp.alias,rp.team_id,dt.nameShow,dt.short_name,dt.basealias,rp.player_id,rp.teamId,dp.role FROM dataplayers AS dp INNER JOIN rel_players AS rp ON rp.player_id=dp.id AND rp.league_id IN (5754) INNER JOIN datateams AS dt ON rp.teamId=dt.id WHERE dp.id IN (482892,515684,534594,957349,256124,261416,262950,330288,370221,387481,387508,387510,421422,438312,482387,500696,502132,516210,516514,563216) ORDER BY rp.in_squad = 1 DESC |
0.0166 | SELECT e.action, count(e.action) as total, e.player_id FROM events1987 e WHERE e.league_id IN (5754) AND (e.action IN (22) ) GROUP BY e.player_id ORDER BY total DESC, e.player_id ASC LIMIT 20 |
0.0150 | SELECT dp.name, dp.last_name, dp.nick,dp.CountryCode,dp.alias,rp.team_id,dt.nameShow,dt.short_name,dt.basealias,rp.player_id,rp.teamId,dp.role FROM dataplayers AS dp INNER JOIN rel_players AS rp ON rp.player_id=dp.id AND rp.league_id IN (5754) INNER JOIN datateams AS dt ON rp.teamId=dt.id WHERE dp.id IN () ORDER BY rp.in_squad = 1 DESC |
0.0147 | SELECT rp.lineup as total,p.name, p.last_name, p.nick,p.CountryCode,p.alias,rp.team_id,dt.nameShow,dt.short_name,dt.basealias,rp.player_id,rp.teamId,p.role FROM `rel_players` rp INNER JOIN dataplayers p ON p.id = rp.player_id INNER JOIN datateams dt ON dt.id = rp.teamId WHERE rp.league_id = 5754 AND rp.lineup > 0 ORDER BY rp.lineup DESC,p.pod DESC LIMIT 20 |
0.0146 | SELECT rp.events as total,p.name, p.last_name, p.nick,p.CountryCode,p.alias,rp.team_id,dt.nameShow,dt.short_name,dt.basealias,rp.player_id,rp.teamId,p.role FROM `rel_players` rp INNER JOIN dataplayers p ON p.id = rp.player_id INNER JOIN datateams dt ON dt.id = rp.teamId WHERE rp.league_id = 5754 AND rp.events > 0 ORDER BY rp.events DESC,p.pod DESC LIMIT 20 |
0.0145 | SELECT rel.media_id, rel.team1, rel.team2, m.name, m.type, m.lang, m.location, rel.id AS rel_id, m.url FROM rel_media_match AS rel INNER JOIN media AS m ON m.id=rel.media_id WHERE (m.lang='es' OR m.language='spanish') AND rel.active=1 AND rel.league_id=5754 AND rel.round=19 |
0.0145 | SELECT u.id,u.user_name, esl.points,up.name,up.surname,up.nick,u.changeA FROM editor_stats_leagues esl INNER JOIN fa_user u ON u.id = esl.user_id INNER JOIN fa_user_profile up ON up.id = esl.user_id WHERE esl.league_id = 5754 AND esl.points > 0 ORDER BY esl.points DESC LIMIT 3 |
0.0146 | SELECT count(esl.user_id) as cuenta FROM editor_stats_leagues esl INNER JOIN fa_user u ON u.id = esl.user_id INNER JOIN fa_user_profile up ON up.id = esl.user_id WHERE esl.league_id = 5754 AND esl.points > 0 |
0.0151 | SELECT fau.user_name, c.*, NOW() as difference_time,creation_date FROM (leagues as l)
INNER JOIN comments as c ON c.league_id = l.id LEFT JOIN fa_user fau ON fau.id = c.author_id WHERE c.creation_date > "2024-04-10" AND c.`active`= 1 and c.comment_id is null and c.lang = 1 AND l.`id` = 5754 ORDER BY creation_date DESC LIMIT 0, 10 |
0.0152 | SELECT count(c.id) as cuenta FROM (leagues as l)
INNER JOIN comments as c ON c.league_id = l.id WHERE c.creation_date > "2024-04-10" AND c.`active`= 1 and comment_id is null and c.lang = 1 AND l.`id` = 5754 |
0.0187 | SELECT c.isVideo, c.id,c.team1, c.team2,c.extra,c.datateam1,c.datateam2,c.type, c.shedule, c.r1, c.r2, c.round, c.comments as total_comentarios, dt1.nameShow as team1_name, dt2.nameShow as team2_name, dt1.basealias as basealias1, dt2.basealias as basealias2,c.betId,c.betId_wh,c.betId_bwin,c.betId_marca,c.betId_888, c.betId_sportium, c.betId_marathon, c.finished, c.penaltis1, c.penaltis2, c.prorroga, c.status, c.minute, dt1.stadium as stadium_name FROM `calendars1987` as c INNER JOIN teams t1 ON t1.id = c.team1 AND t1.league_id = c.league_id INNER JOIN teams t2 ON t2.id = c.team2 AND t2.league_id = c.league_id INNER JOIN datateams as dt1 ON dt1.id = t1.teamId INNER JOIN datateams as dt2 ON dt2.id = t2.teamId WHERE c.`league_id` = 5754 AND c.`round` = 19 ORDER BY shedule ASC LIMIT 200 |
0.0147 | SELECT ev.match_id,dp.alias,ev.minute,ev.action,ev.player_id,e.name,e.classf,dp.nick,rel.squadNumber,rel.player_id as playerId,rel.team_id,rel.teamId FROM events1987 ev INNER JOIN events e ON e.id = ev.action INNER JOIN calendars1987 c ON c.id = ev.match_id INNER JOIN rel_players rel ON rel.player_id = ev.player_id AND rel.league_id = 5754 AND (ev.team1id=rel.team_id OR ev.team2id=rel.team_id) INNER JOIN dataplayers dp ON dp.id = rel.player_id WHERE ev.match_id IN (1948,1949,1950,1951,1952,1953,1954,1955) AND ev.action in (1,2,3,4,6,11,12,13,15) ORDER BY ev.minute ASC |
0.0155 | SELECT (dt1.qod+dt2.qod+dt1.relations+dt2.relations) as total,c.r1,c.r2,e.action,ev.showName as eventName,ev.largeName,ev.main_action,ev.keyname,ev.classf,e.real_date,e.minute, dp.nick,dp.CountryCode,dp.alias,c.datateam1,c.datateam2,dt1.nameShow as nameShow1,dt2.nameShow as nameShow2,dt1.basealias as basealias1,dt2.basealias as basealias2,e.player_id,e.match_id FROM `events1987` e INNER JOIN calendars1987 c ON c.id = e.match_id INNER JOIN events ev ON ev.id = e.action INNER JOIN dataplayers dp ON dp.id = e.player_id INNER JOIN datateams dt1 ON dt1.id = c.datateam1 INNER JOIN datateams dt2 ON dt2.id = c.datateam2 WHERE ev.main_action = 1 AND c.round = 19 AND e.real_date IS NOT NULL AND e.league_id = 5754 ORDER BY total DESC LIMIT 40 |
0.0160 | SELECT c.r1,c.r2,e.action,ev.showName as eventName,ev.largeName,ev.main_action,ev.keyname,ev.classf,e.real_date,e.minute, dp.nick,dp.CountryCode,dp.alias,c.datateam1,c.datateam2,dt1.nameShow as nameShow1,dt2.nameShow as nameShow2,dt1.basealias as basealias1,dt2.basealias as basealias2,e.player_id,e.match_id FROM `events1987` e INNER JOIN calendars1987 c ON c.id = e.match_id INNER JOIN events ev ON ev.id = e.action INNER JOIN dataplayers dp ON dp.id = e.player_id INNER JOIN datateams dt1 ON dt1.id = c.datateam1 INNER JOIN datateams dt2 ON dt2.id = c.datateam2 WHERE ev.show_on = 1 AND e.real_date IS NOT NULL AND e.league_id = 5754 AND e.real_date > NOW() - INTERVAL 1 MONTH ORDER BY e.real_date DESC LIMIT 30 |
0.0150 | SELECT t.*,dt.nameShow,dt.basealias,dt.id as teamId,(cast(t.gf as signed) - cast(t.ga as signed) + 100) as diff,team.teamId FROM `tables1987` as t
INNER JOIN teams as team ON team.id = t.team
INNER JOIN datateams as dt ON team.teamId = dt.id
WHERE t.league_id = 5754
AND t.round = 18 ORDER BY team.conference ASC,t.points DESC,t.priority DESC, diff DESC, t.gf DESC, dt.nameShow ASC |
0.0147 | SELECT *,(cast(t.gf as signed) - cast(t.ga as signed) + 100) as diff,team.teamId FROM `tables1987` as t
INNER JOIN teams as team ON team.id = t.team
INNER JOIN datateams as dt ON team.teamId = dt.id
WHERE t.league_id = 5754
AND t.round = 19 ORDER BY team.conference ASC,t.points DESC,t.priority DESC, diff DESC, t.gf DESC, dt.nameShow ASC |
0.0144 | SELECT distinct(shedule), round FROM `calendars1987` as c WHERE c.`league_id` = 5754 AND shedule >= '1987/01/01' AND shedule < '1987/02/01' ORDER BY shedule ASC |
0.0148 | SELECT c.id, 2024 AS year, IF(l.tables = 1 AND t1.points>0,((t1.points / (l.current_round * 3)) + (t2.points / (l.current_round * 3)))/2 * ct.coefficient,0.7 * ct.coefficient) as fcoef FROM `calendars2024` AS c INNER JOIN `leagues` AS l
ON c.`league_id` = l.`id` INNER JOIN `categories` AS ct ON ct.`id` = l.`categoryId` LEFT JOIN tables2024 AS t1 ON t1.team = c.team1 AND t1.round = l.current_round LEFT JOIN tables2024 AS t2 ON t2.team = c.team2 AND t2.round = l.current_round WHERE c.`shedule` > '2024-05-10 00:00:00' AND c.`shedule` < '2024-05-14 23:59:59' AND l.id = 5754 ORDER BY c.shedule ASC, fcoef DESC LIMIT 5 |
0.0148 | SELECT data1, data2 FROM services_tags WHERE categoryId=19 |
0.0148 | SELECT l.year,l.group_code FROM leagues_besoccer l WHERE l.categoryId = 19 AND l.year = 1987 ORDER BY l.group_code ASC |
0.0148 | SELECT group_code, extraName from `leagues` WHERE categoryId=19 AND year=1987 |