ddstats/sql/teamraces/get_teamraces_by_player.sql

6 lines
151 B
MySQL
Raw Normal View History

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