set @n = 0;
SELECT
servers.id,
servers.game,
servers.votes,
@n := @n + 1 AS rank
FROM servers
ORDER BY servers.votes DESC
SELECT *
from (SELECT servers.id,
servers.game,
servers.votes,
@n := @n + 1 AS rank
FROM servers, (SELECT @n := 0) r
ORDER BY servers.votes DESC) a
where id = 3