0.0124 | SELECT type FROM routes WHERE alias = 'copa_sudamericana2017' |
0.0254 | SELECT c.*, l.*, '' as namec FROM leagues_webci l INNER JOIN categories_webci c ON l.categoryId = c.id WHERE c.alias = 'copa_sudamericana' AND (l.group_code = 6 OR l.group_code = 1 OR l.group_code = 0) AND l.year = 2017 ORDER BY l.year=c.active_year DESC,l.year DESC, l.group_code=6 DESC LIMIT 1 |
0.0125 | SELECT total FROM bs_rel_resume_items WHERE ln = 'es' AND itemId=304 AND type_rel = 3 |
0.0178 | SELECT rel.newId FROM bs_news_rel rel WHERE rel.type_rel = 3 AND rel.typeId = 304 AND rel.ln = 'es' AND rel.status=1 ORDER BY rel.creation_date desc,rel.cover_points DESC LIMIT 5 |
0.0141 | SELECT /*53 bs_news_model*/ n.id, n.author_id, n.headline, n.external_headline, n.live_headline, n.creation_date, n.update_date, n.pub_date, n.alias, n.subheadline, n.teaser, n.media, n.tags, n.views, n.screens, n.clicks, n.relations, n.comments, n.power_cover, n.cover_points, u.name as user_name FROM bs_news n INNER JOIN bs_editors u ON u.id = n.author_id AND u.ln = 'es' WHERE n.status = 1 AND n.ln = 'es' AND n.id IN (1312650,1312479,1312173,1310613,1310334) ORDER BY n.cover_points DESC, update_date DESC |
0.0132 | 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 = 37834 ORDER BY dt.relations DESC, dt.nameShow ASC LIMIT 50 |
0.0135 | 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='2017' WHERE c.parentId=304 GROUP BY c.id ORDER BY c.order_id ASC |
0.0125 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=1 AND last_update > '2024-04-29 01:36:23' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0125 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=2 AND last_update > '2024-04-29 01:36:23' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0158 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=4 AND last_update > '2024-04-29 01:36:23' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0125 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=3 AND last_update > '2024-04-29 01:36:23' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0131 | SELECT c.*, l.*, '' as namec FROM leagues_webci l INNER JOIN categories_webci c ON l.categoryId = c.id WHERE c.alias = 'copa_sudamericana' AND (l.group_code = 0 OR l.group_code = 1 OR l.group_code = 0) AND l.year = 2017 ORDER BY l.year=c.active_year DESC,l.year DESC, l.group_code=0 DESC LIMIT 1 |
0.0127 | 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=37834 AND rel.round=6 |
0.0126 | 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 = 37834 AND esl.points > 0 ORDER BY esl.points DESC LIMIT 3 |
0.0125 | 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 = 37834 AND esl.points > 0 |
0.0125 | 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-03-30" AND c.`active`= 1 and c.comment_id is null and c.lang = 1 AND l.`id` = 37834 ORDER BY creation_date DESC LIMIT 0, 10 |
0.0128 | 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-03-30" AND c.`active`= 1 and comment_id is null and c.lang = 1 AND l.`id` = 37834 |
0.0130 | 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 `calendars2017` 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` = 37834 AND c.`round` = 6 ORDER BY c.type ASC,((c.team1*c.team1)+(c.team2*c.team2)) ASC,shedule ASC LIMIT 200 |
0.0138 | 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 events2017 ev INNER JOIN events e ON e.id = ev.action INNER JOIN calendars2017 c ON c.id = ev.match_id INNER JOIN rel_players rel ON rel.player_id = ev.player_id AND rel.league_id = 37834 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 (505039,505040) AND ev.action in (1,2,3,4,6,11,12,13,15) ORDER BY ev.minute ASC |
0.0127 | 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 `events2017` e INNER JOIN calendars2017 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 = 6 AND e.real_date IS NOT NULL AND e.league_id = 37834 ORDER BY total DESC LIMIT 40 |
0.0126 | SELECT distinct(shedule), round FROM `calendars2017` as c WHERE c.`league_id` = 37834 AND shedule >= '2017/12/01' AND shedule < '2018/01/01' ORDER BY shedule ASC |
0.0124 | 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-04-29 00:00:00' AND c.`shedule` < '2024-05-03 23:59:59' AND l.id = 37834 ORDER BY c.shedule ASC, fcoef DESC LIMIT 5 |
0.0127 | SELECT data1, data2 FROM services_tags WHERE categoryId=304 |
0.0127 | SELECT group_code, extraName from `leagues` WHERE categoryId=304 AND year=2017 |