Database Error
Server Address: localhost
Server Username: hl1148
Error Diagnostic:
Bad query.
Server Error: (1267) Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_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(0 = 0, 1, 0) * 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='css'
AND hlstats_Players.clan=959
AND (hidden <>'1' OR hidden IS NULL)
AND hlstats_Roles.game = 'css'
GROUP BY
hlstats_Events_ChangeRole.role
ORDER BY
rolecount desc,
name desc
|