Website CGI to display Race CTS leaderboards of a Xonotic server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
246 B

select Cts_ranks.mapid, max(trank), min(tvalue), alias
from Cts_ranks, Cts_times, Id2alias
where Cts_ranks.mapid = Cts_times.mapid
and tvalue != 0
and cryptokey = idvalue
and idrank = 1
group by Cts_ranks.mapid
order by max(trank);