pour info, la derniere requete utilisée est la suivante :
SELECT
hlstats_Players.playerId,
hlstats_Players.connection_time,
hlstats_Players.lastName,
hlstats_Players.flag,
hlstats_Players.country,
hlstats_Players.skill,
hlstats_Players.kills,
hlstats_Players.deaths,
hlstats_Players.last_skill_change,
hlstats_Players.kills/(IF(hlstats_Players.deaths=0, 1, hlstats_Players.deaths)) AS kpd,
hlstats_Players.headshots,
IFNULL(hlstats_Players.headshots/hlstats_Players.kills, '-') AS hpk,
IFNULL(ROUND((hlstats_Players.hits / hlstats_Players.shots * 100), 1), 0.0) AS acc,
IF(7776000 > (UNIX_TIMESTAMP() - hlstats_Players.last_event), ((100/7776000) * (7776000 - (UNIX_TIMESTAMP() - hlstats_Players.last_event))), -1) as activity
FROM
hlstats_Players
WHERE
hlstats_Players.game='css2'
AND hlstats_Players.hideranking=0
AND hlstats_Players.kills >= 1
AND hideranking=0
AND kills >= 1
HAVING activity >= 0
ORDER BY
skill desc,
kpd desc,
hlstats_Players.lastName ASC
LIMIT 0,50
UNIX_TIMESTAMP() pourrait etre incriminé ?