0.0020 |
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` = '85832'
AND c.comment_id IN (2170254,2157341,2156768,2156725,2156624,2156620,2156603,2156581,2156573,2156572,2156571,2156537,2156520,2156512,2156481)
GROUP BY c.comment_id
|
0.0025 | 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 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 = 'os-gusta-nuevo-diseno-pagina-acute-acute-resultados-futbol' AND n.content_type = 2 |
0.0021 | SELECT id, new_id, title, votes FROM `poll_options` WHERE `new_id`=85832 ORDER BY `votes` DESC |
0.0023 | SELECT id FROM `rel_votes` WHERE userId = '0' AND contentId = '85832' AND contentType = '5' AND remote = '59847766' AND datetime > '2024-04-19 17:08:18' |
0.0018 | SELECT user_name FROM `fa_user` WHERE id = 7963 |
0.0018 | SELECT * FROM rel_news WHERE id_new = 85832 ORDER BY (type = 5) DESC,(type = 4) DESC, (type = 3) DESC,(type = 1) DESC |
0.0018 | SELECT title as name,alias FROM topics WHERE id =1 |
0.0018 | SELECT user_name FROM fa_user WHERE id =462082 |
0.0018 | SELECT u.user_name,u.id FROM rel_votes v INNER JOIN fa_user u ON v.userId = u.id WHERE v.contentId = 85832 AND v.contentType = 4 ORDER BY v.datetime ASC |
0.0019 | SELECT alias
FROM `news` as p WHERE author_id = 462082 AND id < 85832 ORDER by p.id DESC LIMIT 1 |
0.0020 | SELECT alias
FROM `news` as p WHERE author_id = 462082 AND id > 85832 ORDER BY p.id ASC LIMIT 1 |
0.0025 |
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` = '85832'
ORDER BY c.last_update DESC, c.creation_date DESC
LIMIT 0,15
|
0.0019 |
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 = '2170254'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0019 |
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 = '2157341'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0020 |
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 = '2156768'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0020 |
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 = '2156725'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0018 |
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 = '2156624'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0018 |
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 = '2156620'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0021 |
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 = '2156603'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0019 |
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 = '2156581'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0020 |
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 = '2156573'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0019 |
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 = '2156572'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0019 |
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 = '2156571'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0019 |
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 = '2156537'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0022 |
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 = '2156520'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0019 |
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 = '2156512'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0018 |
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 = '2156481'
AND c.lang = '1'
ORDER BY creation_date DESC
LIMIT 20
|
0.0020 | SELECT * FROM topics ORDER BY priority ASC |