0.0009 |
SELECT
c.comment_id, COUNT(DISTINCT c.`id`) AS num
FROM comments AS c
WHERE c.`active` = 1 AND c.device = 'web' AND c.to_review=0
AND c.comment_id!=0
AND c.lang = '1'
AND c.`new_content_id` = '64406'
AND c.comment_id IN (1657382,1656063,1653872,1652444,1651269,1650731,1648295,1646588,1647067,1647086,1647041,1646620,1646692,1646685,1646674)
GROUP BY c.comment_id
|
0.0109 | SELECT n.*,rn.*,u.user_name,u.user_name as media_username,p.title as ptitle,p.width,p.height,v.code,v.title as vtitle,p.id as pid,v.id as vid,p.author_id as pauthor_id,v.author_id as vauthor_id, v.url as video_url, v.type AS vtype FROM `news` n INNER JOIN fa_user u ON u.id = n.author_id INNER JOIN `rel_news` as rn ON n.id = rn.id_new LEFT JOIN `pictures` as p ON n.picture_content_id = p.id AND p.banned=0 LEFT JOIN `videos` as v ON n.video_content_id = v.id WHERE n.alias = 'futbol-sala-manager-ya-disponible' AND n.content_type != 2 |
0.0106 | SELECT * FROM rel_news WHERE id_new = 64406 ORDER BY (type = 5) DESC,(type = 4) DESC, (type = 3) DESC,(type = 1) DESC |
0.0104 | SELECT title as name,alias FROM topics WHERE id =28 |
0.0105 | SELECT user_name FROM fa_user WHERE id =6 |
0.0105 | SELECT u.user_name,u.id FROM rel_votes v INNER JOIN fa_user u ON v.userId = u.id WHERE v.contentId = 64406 AND v.contentType = 4 ORDER BY v.datetime ASC |
0.0106 | SELECT alias
FROM `news` as p WHERE author_id = 6 AND id < 64406 ORDER by p.id DESC LIMIT 1 |
0.0105 | SELECT alias
FROM `news` as p WHERE author_id = 6 AND id > 64406 ORDER BY p.id ASC LIMIT 1 |
0.0115 |
SELECT
c.comment,c.id,c.author_id,c.author_name,c.last_update,c.creation_date,c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, c.template,
NOW() AS difference_time, fau.changeA AS changeA
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active` = 1 AND c.device = 'web' AND c.to_review=0
AND c.comment_id=0
AND c.lang = '1'
AND c.language = 'es'
AND c.`new_content_id` = '64406'
ORDER BY c.last_update DESC, c.creation_date DESC
LIMIT 0,15
|
0.0110 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1657382'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0109 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1656063'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0113 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1653872'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0113 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1652444'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0110 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1651269'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0108 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1650731'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0108 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1648295'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0107 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1646588'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0107 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1647067'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0106 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1647086'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0106 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1647041'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0107 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1646620'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0106 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1646692'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0106 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1646685'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0107 |
SELECT
c.id, c.author_name, c.comment, c.comment_id, c.author_id, c.creation_date, c.votes_up, c.device,
fau.user_name, fau.adm AS user_adm, fau.role AS user_role, fau.adm_type AS user_adm_type, template,
NOW() AS difference_time
FROM comments AS c LEFT JOIN fa_user_mini AS fau
ON fau.id = c.author_id
WHERE c.`active`=1 AND c.to_review=0 AND c.device = 'web'
AND c.comment_id = '1646674'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0105 | SELECT id_content FROM rel_news WHERE id_new = '64406' AND type = '5' |
0.0107 | SELECT l.id,c.`name` as name,l.group_code,l.total_group,c.CountryCode,c.`alias` as alias FROM leagues l INNER JOIN categories c ON c.id = l.categoryId WHERE l.status = 1 AND l.links = 2 AND l.year = 2024 AND c.listed = 1 AND l.tables = 1 AND l.group_code > 0 AND c.troncal = 1 AND l.game = 1 AND c.class < 5 ORDER BY c.coefficient DESC, c.name ASC ,l.group_code ASC |
0.0106 | SELECT * FROM topics ORDER BY priority ASC |