Database Error
Server Address: localhost
Server Username: alex_hlx100
Error Diagnostic:
Bad query.
Server Error: (1267) Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='
Last SQL Query:
SELECT
IFNULL(hlstats_Roles.name, hlstats_Events_ChangeRole.role) AS name,
IFNULL(hlstats_Roles.code, hlstats_Events_ChangeRole.role) AS code,
COUNT(hlstats_Events_ChangeRole.id) AS rolecount,
ROUND(COUNT(hlstats_Events_ChangeRole.id) / IF(22 = 0, 1, 22) * 100, 2) AS percent,
killsTotal,
deathsTotal,
ROUND(killsTotal/if(deathsTotal=0,1,deathsTotal), 2) AS kpd
FROM
hlstats_Events_ChangeRole
LEFT JOIN
hlstats_Roles
ON
hlstats_Events_ChangeRole.role = hlstats_Roles.code
LEFT JOIN
hlstats_Servers
ON
hlstats_Servers.serverId = hlstats_Events_ChangeRole.serverId
LEFT JOIN
hlstats_Frags_as_res
ON
hlstats_Frags_as_res.role = hlstats_Events_ChangeRole.role
LEFT JOIN
hlstats_Players
ON
hlstats_Players.playerId = hlstats_Events_ChangeRole.playerId
WHERE
hlstats_Servers.game='l4d2'
AND hlstats_Players.clan=2865
AND (hidden <>'1' OR hidden IS NULL)
AND hlstats_Roles.game = 'l4d2'
GROUP BY
hlstats_Events_ChangeRole.role
ORDER BY
rolecount desc,
name desc
|