0.0019 | SELECT total FROM bs_rel_resume_items WHERE ln = 'es' AND itemId=12 AND type_rel = 3 |
0.0058 | SELECT rel.newId FROM bs_news_rel rel WHERE rel.type_rel = 3 AND rel.typeId = 12 AND rel.ln = 'es' AND rel.status=1 ORDER BY rel.creation_date desc,rel.cover_points DESC LIMIT 5 |
0.0033 | 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 (1313252,1310960,1309110,1308231,1302154) ORDER BY n.cover_points DESC, update_date DESC |
0.0033 | 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='1960' WHERE c.parentId=12 GROUP BY c.id ORDER BY c.order_id ASC |
0.0022 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=1 AND last_update > '2024-05-01 01:22:46' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0022 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=2 AND last_update > '2024-05-01 01:22:46' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0023 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=4 AND last_update > '2024-05-01 01:22:46' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0027 | SELECT url,page_views,page_title FROM rf_statcounter_popular_pages_hourly WHERE type=3 AND last_update > '2024-05-01 01:22:46' GROUP BY url ORDER BY page_views DESC LIMIT 5 |
0.0032 | 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=25446 AND rel.round=1 |
0.0026 | 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 = 25446 AND esl.points > 0 ORDER BY esl.points DESC LIMIT 3 |
0.0024 | 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 = 25446 AND esl.points > 0 |
0.0020 | 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-01" AND c.`active`= 1 and c.comment_id is null and c.lang = 1 AND l.`id` = 25446 ORDER BY creation_date DESC LIMIT 0, 10 |
0.0144 | 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-01" AND c.`active`= 1 and comment_id is null and c.lang = 1 AND l.`id` = 25446 |
0.0070 | 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 `calendars1960` 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` = 25446 AND c.`round` = 1 ORDER BY shedule ASC LIMIT 200 |
0.0021 | 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 events1960 ev INNER JOIN events e ON e.id = ev.action INNER JOIN calendars1960 c ON c.id = ev.match_id INNER JOIN rel_players rel ON rel.player_id = ev.player_id AND rel.league_id = 25446 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 (7975,7976,7982,8111,7993,8136,8012,8155,8041,8091,8074,8054,8095,7983,8110,7992,8135,8010,8130,8153,8027,8090,8075,8053,8094,7985,8109,7991,8134,8007,8129,8150,8026,8089,8080,8065,8099,7990,8108,7995,8133,8006,8127,8149,8025,8088,8079,8064,8100,7989,8107,7996,8138,8005,8124,8148,8023,8085,8040,8063,8102,8052,8112,7998,8139,8004,8123,8147,8020,8084,8039,8061,8106,8113,8003,8141,8008,8122,8146,8019,8083,8038,8059,8105,8051,8115,8002,8145,8009,8121,8151,8018,8082,8036,8058,8078,8050,8119,7988,8011,8120,8152,8017,8081,8033,8057,8077,8048,8118,7987,8016,8125,8154,8021,8086,8032,8056,8076,8046,8104,7986,8015,8126,8158,8022,8087,8031,8055,8072,8045,8103,7984,8001,8128,8144,8024,8093,8030,8060,8071,8044,8101,7981,8000,8132,8143,8029,8092,8034,8062,8070,8043,8098,7980,7999,8131,8142,8028,8035,8067,8069,7977,8097,7979,7997,8117,8140,8014,8157,8037,8066,8068,8047,7978,8114,7994,8116,8137,8013,8156,8042,8073,8049,8096) AND ev.action in (1,2,3,4,6,11,12,13,15) ORDER BY ev.minute ASC |
0.0021 | 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 `events1960` e INNER JOIN calendars1960 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 = 1 AND e.real_date IS NOT NULL AND e.league_id = 25446 ORDER BY total DESC LIMIT 40 |
0.0021 | 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 `events1960` e INNER JOIN calendars1960 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 = 25446 AND e.real_date > NOW() - INTERVAL 1 MONTH ORDER BY e.real_date DESC LIMIT 30 |
0.0051 | 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 `tables1960` 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 = 25446
AND t.round = 0 ORDER BY team.conference ASC,t.points DESC,t.priority DESC, diff DESC, t.gf DESC, dt.nameShow ASC |
0.0024 | SELECT *,(cast(t.gf as signed) - cast(t.ga as signed) + 100) as diff,team.teamId FROM `tables1960` 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 = 25446
AND t.round = 1 ORDER BY team.conference ASC,t.points DESC,t.priority DESC, diff DESC, t.gf DESC, dt.nameShow ASC |
0.0023 | SELECT distinct(shedule), round FROM `calendars1960` as c WHERE c.`league_id` = 25446 AND shedule >= '1959/09/01' AND shedule < '1959/10/01' ORDER BY shedule ASC |
0.0019 | 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-01 00:00:00' AND c.`shedule` < '2024-05-05 23:59:59' AND l.id = 25446 ORDER BY c.shedule ASC, fcoef DESC LIMIT 5 |
0.0023 | SELECT data1, data2 FROM services_tags WHERE categoryId=12 |
0.0023 | SELECT group_code, extraName from `leagues` WHERE categoryId=12 AND year=1960 |