ddstats/sql/teamraces/get_teamraces_by_map.sql

6 lines
142 B
MySQL
Raw Permalink Normal View History

SELECT players, map, time, timestamp
FROM record_teamrace_array
WHERE map = $1
OFFSET (($2 - 1) * $3)
FETCH NEXT $3 ROWS ONLY