National Hockey League nhl

Seasons
1917-18–2026-27
from nhl reads
nhl.skaters
Tables
12 tables
Positions
C Centre · L Left wing · R Right wing · D Defence · G Goalie

nhl.skaters Skater seasons

One row per skater per season since 1917-18 — scoring, time on ice, possession, faceoffs, penalties and shot types, from the league's sixteen reports.

from nhl.skaters
select player, team, position, games, goals, assists, points, toi_per_game
order by points desc
limit 100
One row is
one player's season (player-season)
Built from
one table, read straight
Reads
nhl_skater_seasons NHL, nhlscraper
Shows by default
player team position games goals assists points toi_per_game
Ordered by
points desc
Rows
100 by default, 5000 at most
Ranks within
season
Careers counted in
seasons
Biggest row
points

Applied unless you say otherwise

  • Limited to the regular season — add where season_type = POST for the playoffs.

Before you trust the numbers

  • A row exists for any skater who dressed, so filter by position or a games threshold before ranking a rate.
  • Hits, blocks, giveaways and takeaways are counted from 2005-06; time on ice and faceoffs from 1997-98; shot attempts and zone starts from 2009-10. Earlier seasons are null, not zero.
  • Stat definitions are the league's own, from its stats API.
  • A season split across clubs has no team — teams lists them and clubs counts them; nhl.skater_games has the split itself.
  • Rates are rebuilt from the totals, not averaged over seasons, so a ten-game season cannot swing a career shooting percentage.
Dimensions 5
NameBound to
league always nhl
team the team column
player the player column
position the position column
season the season column
Columns 142
NameHeadingTypeWhat it is
season completes season Season season
dimension

The season, by the year it started — 2024 is 2024-25.

What it takes
  • folds: min(season) max(season) count(season) distinct(season) only(season) latest(season) top(season) mode(season)
  • can be a benchmark
NHL · nhlscraper
season_type completes season_type Type string
dimension

REG for the regular season, POST for the playoffs.

REG or POST

What it takes
  • folds: count(season_type) distinct(season_type) only(season_type) latest(season_type) top(season_type) mode(season_type)
NHL · nhlscraper
player completes player Player string
dimension

The player, by the name the league's registry lists him under.

What it takes
  • folds: count(player) distinct(player) only(player) latest(player) top(player) mode(player)
NHL · nhlscraper
team completes team Team string
dimension

The club, by the code it wore that season.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) top(team) mode(team)
NHL · nhlscraper
franchise completes franchise Franchise string
dimension

The club's franchise, by the code it wears today — the thread through relocations.

The franchise's current code — every Coyotes and Mammoth season is under UTA

What it takes
  • folds: count(franchise) distinct(franchise) only(franchise) latest(franchise) top(franchise) mode(franchise)
NHL · nhlscraper
teams Clubs string
dimension

Every club he played for that season, in order, when there was more than one.

Every club he played for that season, in order

What it takes
  • folds: count(teams) distinct(teams) only(teams) latest(teams) top(teams) mode(teams)
NHL · nhlscraper
clubs #Clubs integer
measure

How many clubs he played for that season.

What it takes
  • folds: sum(clubs) avg(clubs) min(clubs) max(clubs) count(clubs) distinct(clubs) only(clubs) latest(clubs) top(clubs) mean(clubs) median(clubs) mode(clubs)
  • ranks: clubs_percentile
  • accumulates: as_of(clubs)
  • can be a benchmark
NHL · nhlscraper
position completes position Pos string
dimension

C, L, R or D for a skater; G for a goalie. NHL.com

C, L, R, D or G

What it takes
  • folds: count(position) distinct(position) only(position) latest(position) top(position) mode(position)
NHL · nhlscraper
shoots Shoots string
dimension

Which way he shoots — L or R.

What it takes
  • folds: count(shoots) distinct(shoots) only(shoots) latest(shoots) top(shoots) mode(shoots)
NHL · nhlscraper
age Age integer
measure

His age on February 1st of the season.

Age on February 1st of the season

What it takes
  • folds: sum(age) avg(age) min(age) max(age) count(age) distinct(age) only(age) latest(age) top(age) mean(age) median(age) mode(age)
  • ranks: age_percentile
  • accumulates: as_of(age)
  • can be a benchmark
NHL · nhlscraper
nationality completes nationality Nat string
dimension

His nationality, as a three-letter country code.

Three-letter country code

What it takes
  • folds: count(nationality) distinct(nationality) only(nationality) latest(nationality) top(nationality) mode(nationality)
NHL · nhlscraper
games GP integer
measure

Games played. NHL.com

What it takes
  • folds: sum(games) avg(games) min(games) max(games) count(games) distinct(games) only(games) latest(games) top(games) mean(games) median(games) mode(games)
  • ranks: games_percentile
  • accumulates: as_of(games)
  • can be a benchmark
NHL · nhlscraper
goals G integer
measure

Goals scored. NHL.com

What it takes
  • folds: sum(goals) avg(goals) min(goals) max(goals) count(goals) distinct(goals) only(goals) latest(goals) top(goals) mean(goals) median(goals) mode(goals)
  • ranks: goals_percentile
  • accumulates: as_of(goals)
  • can be a benchmark
NHL · nhlscraper
assists A integer
measure

Assists. NHL.com

What it takes
  • folds: sum(assists) avg(assists) min(assists) max(assists) count(assists) distinct(assists) only(assists) latest(assists) top(assists) mean(assists) median(assists) mode(assists)
  • ranks: assists_percentile
  • accumulates: as_of(assists)
  • can be a benchmark
NHL · nhlscraper
points P integer
measure

Goals plus assists for a player; standings points for a club. NHL.com

What it takes
  • folds: sum(points) avg(points) min(points) max(points) count(points) distinct(points) only(points) latest(points) top(points) mean(points) median(points) mode(points)
  • ranks: points_percentile
  • accumulates: as_of(points)
  • can be a benchmark
NHL · nhlscraper
plus_minus +/- integer
measure

Even-strength and short-handed goals for while on the ice, less those against. NHL.com

What it takes
  • folds: sum(plus_minus) avg(plus_minus) min(plus_minus) max(plus_minus) count(plus_minus) distinct(plus_minus) only(plus_minus) latest(plus_minus) top(plus_minus) mean(plus_minus) median(plus_minus) mode(plus_minus)
  • ranks: plus_minus_percentile
  • accumulates: as_of(plus_minus)
  • can be a benchmark
NHL · nhlscraper
pim lower is better PIM integer
measure

Penalty minutes. NHL.com

What it takes
  • folds: sum(pim) avg(pim) min(pim) max(pim) count(pim) distinct(pim) only(pim) latest(pim) top(pim) mean(pim) median(pim) mode(pim)
  • ranks: pim_percentile
  • accumulates: as_of(pim)
  • can be a benchmark
NHL · nhlscraper
shots SOG integer
measure

Shots on goal. NHL.com

What it takes
  • folds: sum(shots) avg(shots) min(shots) max(shots) count(shots) distinct(shots) only(shots) latest(shots) top(shots) mean(shots) median(shots) mode(shots)
  • ranks: shots_percentile
  • accumulates: as_of(shots)
  • can be a benchmark
NHL · nhlscraper
shooting_pct S% number
measure

Goals as a share of shots on goal. NHL.com

What it takes
  • folds: sum(shooting_pct) avg(shooting_pct) min(shooting_pct) max(shooting_pct) count(shooting_pct) distinct(shooting_pct) only(shooting_pct) latest(shooting_pct) top(shooting_pct) mean(shooting_pct) median(shooting_pct) mode(shooting_pct)
  • ranks: shooting_pct_percentile
  • accumulates: as_of(shooting_pct)
  • can be a benchmark
NHL · nhlscraper
ev_goals EVG integer
measure

Goals at even strength. NHL.com

What it takes
  • folds: sum(ev_goals) avg(ev_goals) min(ev_goals) max(ev_goals) count(ev_goals) distinct(ev_goals) only(ev_goals) latest(ev_goals) top(ev_goals) mean(ev_goals) median(ev_goals) mode(ev_goals)
  • ranks: ev_goals_percentile
  • accumulates: as_of(ev_goals)
  • can be a benchmark
NHL · nhlscraper
ev_points EVP integer
measure

Points at even strength. NHL.com

What it takes
  • folds: sum(ev_points) avg(ev_points) min(ev_points) max(ev_points) count(ev_points) distinct(ev_points) only(ev_points) latest(ev_points) top(ev_points) mean(ev_points) median(ev_points) mode(ev_points)
  • ranks: ev_points_percentile
  • accumulates: as_of(ev_points)
  • can be a benchmark
NHL · nhlscraper
pp_goals PPG integer
measure

Goals on the power play. NHL.com

What it takes
  • folds: sum(pp_goals) avg(pp_goals) min(pp_goals) max(pp_goals) count(pp_goals) distinct(pp_goals) only(pp_goals) latest(pp_goals) top(pp_goals) mean(pp_goals) median(pp_goals) mode(pp_goals)
  • ranks: pp_goals_percentile
  • accumulates: as_of(pp_goals)
  • can be a benchmark
NHL · nhlscraper
pp_points PPP integer
measure

Points on the power play. NHL.com

What it takes
  • folds: sum(pp_points) avg(pp_points) min(pp_points) max(pp_points) count(pp_points) distinct(pp_points) only(pp_points) latest(pp_points) top(pp_points) mean(pp_points) median(pp_points) mode(pp_points)
  • ranks: pp_points_percentile
  • accumulates: as_of(pp_points)
  • can be a benchmark
NHL · nhlscraper
sh_goals SHG integer
measure

Goals while short-handed. NHL.com

What it takes
  • folds: sum(sh_goals) avg(sh_goals) min(sh_goals) max(sh_goals) count(sh_goals) distinct(sh_goals) only(sh_goals) latest(sh_goals) top(sh_goals) mean(sh_goals) median(sh_goals) mode(sh_goals)
  • ranks: sh_goals_percentile
  • accumulates: as_of(sh_goals)
  • can be a benchmark
NHL · nhlscraper
sh_points SHP integer
measure

Points while short-handed. NHL.com

What it takes
  • folds: sum(sh_points) avg(sh_points) min(sh_points) max(sh_points) count(sh_points) distinct(sh_points) only(sh_points) latest(sh_points) top(sh_points) mean(sh_points) median(sh_points) mode(sh_points)
  • ranks: sh_points_percentile
  • accumulates: as_of(sh_points)
  • can be a benchmark
NHL · nhlscraper
ot_goals OTG integer
measure

Goals in overtime. NHL.com

What it takes
  • folds: sum(ot_goals) avg(ot_goals) min(ot_goals) max(ot_goals) count(ot_goals) distinct(ot_goals) only(ot_goals) latest(ot_goals) top(ot_goals) mean(ot_goals) median(ot_goals) mode(ot_goals)
  • ranks: ot_goals_percentile
  • accumulates: as_of(ot_goals)
  • can be a benchmark
NHL · nhlscraper
gwg GWG integer
measure

Game-winning goals — the goal that put his club one past the loser's total. NHL.com

What it takes
  • folds: sum(gwg) avg(gwg) min(gwg) max(gwg) count(gwg) distinct(gwg) only(gwg) latest(gwg) top(gwg) mean(gwg) median(gwg) mode(gwg)
  • ranks: gwg_percentile
  • accumulates: as_of(gwg)
  • can be a benchmark
NHL · nhlscraper
first_goals 1stG integer
measure

Goals that opened the scoring.

1stG starts in 2005

What it takes
  • folds: sum(first_goals) avg(first_goals) min(first_goals) max(first_goals) count(first_goals) distinct(first_goals) only(first_goals) latest(first_goals) top(first_goals) mean(first_goals) median(first_goals) mode(first_goals)
  • ranks: first_goals_percentile
  • accumulates: as_of(first_goals)
  • can be a benchmark
NHL · nhlscraper
en_goals ENG integer
measure

Goals into an empty net.

ENG starts in 2005

What it takes
  • folds: sum(en_goals) avg(en_goals) min(en_goals) max(en_goals) count(en_goals) distinct(en_goals) only(en_goals) latest(en_goals) top(en_goals) mean(en_goals) median(en_goals) mode(en_goals)
  • ranks: en_goals_percentile
  • accumulates: as_of(en_goals)
  • can be a benchmark
NHL · nhlscraper
en_points ENP integer
measure

Points on empty-net goals.

ENP starts in 2005

What it takes
  • folds: sum(en_points) avg(en_points) min(en_points) max(en_points) count(en_points) distinct(en_points) only(en_points) latest(en_points) top(en_points) mean(en_points) median(en_points) mode(en_points)
  • ranks: en_points_percentile
  • accumulates: as_of(en_points)
  • can be a benchmark
NHL · nhlscraper
primary_assists A1 integer
measure

First assists — the last pass before the goal.

What it takes
  • folds: sum(primary_assists) avg(primary_assists) min(primary_assists) max(primary_assists) count(primary_assists) distinct(primary_assists) only(primary_assists) latest(primary_assists) top(primary_assists) mean(primary_assists) median(primary_assists) mode(primary_assists)
  • ranks: primary_assists_percentile
  • accumulates: as_of(primary_assists)
  • can be a benchmark
NHL · nhlscraper
secondary_assists A2 integer
measure

Second assists.

What it takes
  • folds: sum(secondary_assists) avg(secondary_assists) min(secondary_assists) max(secondary_assists) count(secondary_assists) distinct(secondary_assists) only(secondary_assists) latest(secondary_assists) top(secondary_assists) mean(secondary_assists) median(secondary_assists) mode(secondary_assists)
  • ranks: secondary_assists_percentile
  • accumulates: as_of(secondary_assists)
  • can be a benchmark
NHL · nhlscraper
ppg P/GP number
measure

Points per game played.

What it takes
  • folds: sum(ppg) avg(ppg) min(ppg) max(ppg) count(ppg) distinct(ppg) only(ppg) latest(ppg) top(ppg) mean(ppg) median(ppg) mode(ppg)
  • ranks: ppg_percentile
  • accumulates: as_of(ppg)
  • can be a benchmark
NHL · nhlscraper
toi TOI number
measure

Minutes on ice. NHL.com

Minutes on ice

TOI starts in 1997

What it takes
  • folds: sum(toi) avg(toi) min(toi) max(toi) count(toi) distinct(toi) only(toi) latest(toi) top(toi) mean(toi) median(toi) mode(toi)
  • ranks: toi_percentile
  • accumulates: as_of(toi)
  • can be a benchmark
NHL · nhlscraper
ev_toi EV TOI number
measure

Minutes at even strength.

EV TOI starts in 1997

What it takes
  • folds: sum(ev_toi) avg(ev_toi) min(ev_toi) max(ev_toi) count(ev_toi) distinct(ev_toi) only(ev_toi) latest(ev_toi) top(ev_toi) mean(ev_toi) median(ev_toi) mode(ev_toi)
  • ranks: ev_toi_percentile
  • accumulates: as_of(ev_toi)
  • can be a benchmark
NHL · nhlscraper
pp_toi PP TOI number
measure

Minutes on the power play.

PP TOI starts in 1997

What it takes
  • folds: sum(pp_toi) avg(pp_toi) min(pp_toi) max(pp_toi) count(pp_toi) distinct(pp_toi) only(pp_toi) latest(pp_toi) top(pp_toi) mean(pp_toi) median(pp_toi) mode(pp_toi)
  • ranks: pp_toi_percentile
  • accumulates: as_of(pp_toi)
  • can be a benchmark
NHL · nhlscraper
sh_toi SH TOI number
measure

Minutes killing penalties.

SH TOI starts in 1997

What it takes
  • folds: sum(sh_toi) avg(sh_toi) min(sh_toi) max(sh_toi) count(sh_toi) distinct(sh_toi) only(sh_toi) latest(sh_toi) top(sh_toi) mean(sh_toi) median(sh_toi) mode(sh_toi)
  • ranks: sh_toi_percentile
  • accumulates: as_of(sh_toi)
  • can be a benchmark
NHL · nhlscraper
ot_toi OT TOI number
measure

Minutes in overtime.

OT TOI starts in 1997

What it takes
  • folds: sum(ot_toi) avg(ot_toi) min(ot_toi) max(ot_toi) count(ot_toi) distinct(ot_toi) only(ot_toi) latest(ot_toi) top(ot_toi) mean(ot_toi) median(ot_toi) mode(ot_toi)
  • ranks: ot_toi_percentile
  • accumulates: as_of(ot_toi)
  • can be a benchmark
NHL · nhlscraper
shifts Shifts integer
measure

Shifts taken.

Shifts starts in 1997

What it takes
  • folds: sum(shifts) avg(shifts) min(shifts) max(shifts) count(shifts) distinct(shifts) only(shifts) latest(shifts) top(shifts) mean(shifts) median(shifts) mode(shifts)
  • ranks: shifts_percentile
  • accumulates: as_of(shifts)
  • can be a benchmark
NHL · nhlscraper
toi_per_shift Sec/Shift number
measure

Seconds per shift.

Seconds per shift

Sec/Shift starts in 1997

What it takes
  • folds: sum(toi_per_shift) avg(toi_per_shift) min(toi_per_shift) max(toi_per_shift) count(toi_per_shift) distinct(toi_per_shift) only(toi_per_shift) latest(toi_per_shift) top(toi_per_shift) mean(toi_per_shift) median(toi_per_shift) mode(toi_per_shift)
  • ranks: toi_per_shift_percentile
  • accumulates: as_of(toi_per_shift)
  • can be a benchmark
NHL · nhlscraper
points_per_60 P/60 number
measure

Points per sixty minutes of ice time, all situations.

Points per sixty minutes of ice time, all situations

P/60 starts in 1997

What it takes
  • folds: sum(points_per_60) avg(points_per_60) min(points_per_60) max(points_per_60) count(points_per_60) distinct(points_per_60) only(points_per_60) latest(points_per_60) top(points_per_60) mean(points_per_60) median(points_per_60) mode(points_per_60)
  • ranks: points_per_60_percentile
  • accumulates: as_of(points_per_60)
  • can be a benchmark
NHL · nhlscraper
goals_per_60 G/60 number
measure

Goals per sixty minutes of ice time, all situations.

G/60 starts in 1997

What it takes
  • folds: sum(goals_per_60) avg(goals_per_60) min(goals_per_60) max(goals_per_60) count(goals_per_60) distinct(goals_per_60) only(goals_per_60) latest(goals_per_60) top(goals_per_60) mean(goals_per_60) median(goals_per_60) mode(goals_per_60)
  • ranks: goals_per_60_percentile
  • accumulates: as_of(goals_per_60)
  • can be a benchmark
NHL · nhlscraper
toi_per_game TOI/GP number
measure

Minutes on ice per game. NHL.com

Minutes per game

TOI/GP starts in 1997

What it takes
  • folds: sum(toi_per_game) avg(toi_per_game) min(toi_per_game) max(toi_per_game) count(toi_per_game) distinct(toi_per_game) only(toi_per_game) latest(toi_per_game) top(toi_per_game) mean(toi_per_game) median(toi_per_game) mode(toi_per_game)
  • ranks: toi_per_game_percentile
  • accumulates: as_of(toi_per_game)
  • can be a benchmark
NHL · nhlscraper
pp_toi_per_game PP/GP number
measure

Power-play minutes per game.

PP/GP starts in 1997

What it takes
  • folds: sum(pp_toi_per_game) avg(pp_toi_per_game) min(pp_toi_per_game) max(pp_toi_per_game) count(pp_toi_per_game) distinct(pp_toi_per_game) only(pp_toi_per_game) latest(pp_toi_per_game) top(pp_toi_per_game) mean(pp_toi_per_game) median(pp_toi_per_game) mode(pp_toi_per_game)
  • ranks: pp_toi_per_game_percentile
  • accumulates: as_of(pp_toi_per_game)
  • can be a benchmark
NHL · nhlscraper
sh_toi_per_game SH/GP number
measure

Penalty-kill minutes per game.

SH/GP starts in 1997

What it takes
  • folds: sum(sh_toi_per_game) avg(sh_toi_per_game) min(sh_toi_per_game) max(sh_toi_per_game) count(sh_toi_per_game) distinct(sh_toi_per_game) only(sh_toi_per_game) latest(sh_toi_per_game) top(sh_toi_per_game) mean(sh_toi_per_game) median(sh_toi_per_game) mode(sh_toi_per_game)
  • ranks: sh_toi_per_game_percentile
  • accumulates: as_of(sh_toi_per_game)
  • can be a benchmark
NHL · nhlscraper
hits Hits integer
measure

Hits delivered. NHL.com

Hits starts in 2005

What it takes
  • folds: sum(hits) avg(hits) min(hits) max(hits) count(hits) distinct(hits) only(hits) latest(hits) top(hits) mean(hits) median(hits) mode(hits)
  • ranks: hits_percentile
  • accumulates: as_of(hits)
  • can be a benchmark
NHL · nhlscraper
blocks BkS integer
measure

Shots blocked. NHL.com

BkS starts in 2005

What it takes
  • folds: sum(blocks) avg(blocks) min(blocks) max(blocks) count(blocks) distinct(blocks) only(blocks) latest(blocks) top(blocks) mean(blocks) median(blocks) mode(blocks)
  • ranks: blocks_percentile
  • accumulates: as_of(blocks)
  • can be a benchmark
NHL · nhlscraper
giveaways lower is better GvA integer
measure

Times he gave the puck away. NHL.com

GvA starts in 2005

What it takes
  • folds: sum(giveaways) avg(giveaways) min(giveaways) max(giveaways) count(giveaways) distinct(giveaways) only(giveaways) latest(giveaways) top(giveaways) mean(giveaways) median(giveaways) mode(giveaways)
  • ranks: giveaways_percentile
  • accumulates: as_of(giveaways)
  • can be a benchmark
NHL · nhlscraper
takeaways TkA integer
measure

Times he took the puck away. NHL.com

TkA starts in 2005

What it takes
  • folds: sum(takeaways) avg(takeaways) min(takeaways) max(takeaways) count(takeaways) distinct(takeaways) only(takeaways) latest(takeaways) top(takeaways) mean(takeaways) median(takeaways) mode(takeaways)
  • ranks: takeaways_percentile
  • accumulates: as_of(takeaways)
  • can be a benchmark
NHL · nhlscraper
missed_shots Miss integer
measure

Shots that missed the net.

Miss starts in 2005

What it takes
  • folds: sum(missed_shots) avg(missed_shots) min(missed_shots) max(missed_shots) count(missed_shots) distinct(missed_shots) only(missed_shots) latest(missed_shots) top(missed_shots) mean(missed_shots) median(missed_shots) mode(missed_shots)
  • ranks: missed_shots_percentile
  • accumulates: as_of(missed_shots)
  • can be a benchmark
NHL · nhlscraper
attempts_blocked Blkd integer
measure

His own attempts that an opponent blocked.

His own attempts that were blocked

Blkd starts in 2005

What it takes
  • folds: sum(attempts_blocked) avg(attempts_blocked) min(attempts_blocked) max(attempts_blocked) count(attempts_blocked) distinct(attempts_blocked) only(attempts_blocked) latest(attempts_blocked) top(attempts_blocked) mean(attempts_blocked) median(attempts_blocked) mode(attempts_blocked)
  • ranks: attempts_blocked_percentile
  • accumulates: as_of(attempts_blocked)
  • can be a benchmark
NHL · nhlscraper
attempts Att integer
measure

Every shot attempt: on goal, missed or blocked.

Every attempt: on goal, missed or blocked

Att starts in 2005

What it takes
  • folds: sum(attempts) avg(attempts) min(attempts) max(attempts) count(attempts) distinct(attempts) only(attempts) latest(attempts) top(attempts) mean(attempts) median(attempts) mode(attempts)
  • ranks: attempts_percentile
  • accumulates: as_of(attempts)
  • can be a benchmark
NHL · nhlscraper
hits_per_60 Hits/60 number
measure

Hits per sixty minutes.

Hits/60 starts in 2005

What it takes
  • folds: sum(hits_per_60) avg(hits_per_60) min(hits_per_60) max(hits_per_60) count(hits_per_60) distinct(hits_per_60) only(hits_per_60) latest(hits_per_60) top(hits_per_60) mean(hits_per_60) median(hits_per_60) mode(hits_per_60)
  • ranks: hits_per_60_percentile
  • accumulates: as_of(hits_per_60)
  • can be a benchmark
NHL · nhlscraper
blocks_per_60 BkS/60 number
measure

Blocked shots per sixty minutes.

BkS/60 starts in 2005

What it takes
  • folds: sum(blocks_per_60) avg(blocks_per_60) min(blocks_per_60) max(blocks_per_60) count(blocks_per_60) distinct(blocks_per_60) only(blocks_per_60) latest(blocks_per_60) top(blocks_per_60) mean(blocks_per_60) median(blocks_per_60) mode(blocks_per_60)
  • ranks: blocks_per_60_percentile
  • accumulates: as_of(blocks_per_60)
  • can be a benchmark
NHL · nhlscraper
giveaways_per_60 lower is better GvA/60 number
measure

Giveaways per sixty minutes.

GvA/60 starts in 2005

What it takes
  • folds: sum(giveaways_per_60) avg(giveaways_per_60) min(giveaways_per_60) max(giveaways_per_60) count(giveaways_per_60) distinct(giveaways_per_60) only(giveaways_per_60) latest(giveaways_per_60) top(giveaways_per_60) mean(giveaways_per_60) median(giveaways_per_60) mode(giveaways_per_60)
  • ranks: giveaways_per_60_percentile
  • accumulates: as_of(giveaways_per_60)
  • can be a benchmark
NHL · nhlscraper
takeaways_per_60 TkA/60 number
measure

Takeaways per sixty minutes.

TkA/60 starts in 2005

What it takes
  • folds: sum(takeaways_per_60) avg(takeaways_per_60) min(takeaways_per_60) max(takeaways_per_60) count(takeaways_per_60) distinct(takeaways_per_60) only(takeaways_per_60) latest(takeaways_per_60) top(takeaways_per_60) mean(takeaways_per_60) median(takeaways_per_60) mode(takeaways_per_60)
  • ranks: takeaways_per_60_percentile
  • accumulates: as_of(takeaways_per_60)
  • can be a benchmark
NHL · nhlscraper
faceoffs FO integer
measure

Faceoffs taken. NHL.com

FO starts in 1997

What it takes
  • folds: sum(faceoffs) avg(faceoffs) min(faceoffs) max(faceoffs) count(faceoffs) distinct(faceoffs) only(faceoffs) latest(faceoffs) top(faceoffs) mean(faceoffs) median(faceoffs) mode(faceoffs)
  • ranks: faceoffs_percentile
  • accumulates: as_of(faceoffs)
  • can be a benchmark
NHL · nhlscraper
fo_wins FOW integer
measure

Faceoffs won. NHL.com

FOW starts in 1997

What it takes
  • folds: sum(fo_wins) avg(fo_wins) min(fo_wins) max(fo_wins) count(fo_wins) distinct(fo_wins) only(fo_wins) latest(fo_wins) top(fo_wins) mean(fo_wins) median(fo_wins) mode(fo_wins)
  • ranks: fo_wins_percentile
  • accumulates: as_of(fo_wins)
  • can be a benchmark
NHL · nhlscraper
fo_losses lower is better FOL integer
measure

Faceoffs lost. NHL.com

FOL starts in 1997

What it takes
  • folds: sum(fo_losses) avg(fo_losses) min(fo_losses) max(fo_losses) count(fo_losses) distinct(fo_losses) only(fo_losses) latest(fo_losses) top(fo_losses) mean(fo_losses) median(fo_losses) mode(fo_losses)
  • ranks: fo_losses_percentile
  • accumulates: as_of(fo_losses)
  • can be a benchmark
NHL · nhlscraper
fo_pct FO% number
measure

Faceoffs won as a share of faceoffs taken. NHL.com

FO% starts in 1997

What it takes
  • folds: sum(fo_pct) avg(fo_pct) min(fo_pct) max(fo_pct) count(fo_pct) distinct(fo_pct) only(fo_pct) latest(fo_pct) top(fo_pct) mean(fo_pct) median(fo_pct) mode(fo_pct)
  • ranks: fo_pct_percentile
  • accumulates: as_of(fo_pct)
  • can be a benchmark
NHL · nhlscraper
oz_faceoffs OZ FO integer
measure

Faceoffs taken in the offensive zone.

OZ FO starts in 1997

What it takes
  • folds: sum(oz_faceoffs) avg(oz_faceoffs) min(oz_faceoffs) max(oz_faceoffs) count(oz_faceoffs) distinct(oz_faceoffs) only(oz_faceoffs) latest(oz_faceoffs) top(oz_faceoffs) mean(oz_faceoffs) median(oz_faceoffs) mode(oz_faceoffs)
  • ranks: oz_faceoffs_percentile
  • accumulates: as_of(oz_faceoffs)
  • can be a benchmark
NHL · nhlscraper
oz_fo_wins OZ FOW integer
measure

Offensive-zone faceoffs won.

OZ FOW starts in 1997

What it takes
  • folds: sum(oz_fo_wins) avg(oz_fo_wins) min(oz_fo_wins) max(oz_fo_wins) count(oz_fo_wins) distinct(oz_fo_wins) only(oz_fo_wins) latest(oz_fo_wins) top(oz_fo_wins) mean(oz_fo_wins) median(oz_fo_wins) mode(oz_fo_wins)
  • ranks: oz_fo_wins_percentile
  • accumulates: as_of(oz_fo_wins)
  • can be a benchmark
NHL · nhlscraper
dz_faceoffs DZ FO integer
measure

Faceoffs taken in the defensive zone.

DZ FO starts in 1997

What it takes
  • folds: sum(dz_faceoffs) avg(dz_faceoffs) min(dz_faceoffs) max(dz_faceoffs) count(dz_faceoffs) distinct(dz_faceoffs) only(dz_faceoffs) latest(dz_faceoffs) top(dz_faceoffs) mean(dz_faceoffs) median(dz_faceoffs) mode(dz_faceoffs)
  • ranks: dz_faceoffs_percentile
  • accumulates: as_of(dz_faceoffs)
  • can be a benchmark
NHL · nhlscraper
dz_fo_wins DZ FOW integer
measure

Defensive-zone faceoffs won.

DZ FOW starts in 1997

What it takes
  • folds: sum(dz_fo_wins) avg(dz_fo_wins) min(dz_fo_wins) max(dz_fo_wins) count(dz_fo_wins) distinct(dz_fo_wins) only(dz_fo_wins) latest(dz_fo_wins) top(dz_fo_wins) mean(dz_fo_wins) median(dz_fo_wins) mode(dz_fo_wins)
  • ranks: dz_fo_wins_percentile
  • accumulates: as_of(dz_fo_wins)
  • can be a benchmark
NHL · nhlscraper
nz_faceoffs NZ FO integer
measure

Faceoffs taken at centre or the neutral-zone dots.

NZ FO starts in 1997

What it takes
  • folds: sum(nz_faceoffs) avg(nz_faceoffs) min(nz_faceoffs) max(nz_faceoffs) count(nz_faceoffs) distinct(nz_faceoffs) only(nz_faceoffs) latest(nz_faceoffs) top(nz_faceoffs) mean(nz_faceoffs) median(nz_faceoffs) mode(nz_faceoffs)
  • ranks: nz_faceoffs_percentile
  • accumulates: as_of(nz_faceoffs)
  • can be a benchmark
NHL · nhlscraper
nz_fo_wins NZ FOW integer
measure

Neutral-zone faceoffs won.

NZ FOW starts in 1997

What it takes
  • folds: sum(nz_fo_wins) avg(nz_fo_wins) min(nz_fo_wins) max(nz_fo_wins) count(nz_fo_wins) distinct(nz_fo_wins) only(nz_fo_wins) latest(nz_fo_wins) top(nz_fo_wins) mean(nz_fo_wins) median(nz_fo_wins) mode(nz_fo_wins)
  • ranks: nz_fo_wins_percentile
  • accumulates: as_of(nz_fo_wins)
  • can be a benchmark
NHL · nhlscraper
penalties lower is better Pen integer
measure

Penalties taken.

What it takes
  • folds: sum(penalties) avg(penalties) min(penalties) max(penalties) count(penalties) distinct(penalties) only(penalties) latest(penalties) top(penalties) mean(penalties) median(penalties) mode(penalties)
  • ranks: penalties_percentile
  • accumulates: as_of(penalties)
  • can be a benchmark
NHL · nhlscraper
minors lower is better Min integer
measure

Minor penalties.

What it takes
  • folds: sum(minors) avg(minors) min(minors) max(minors) count(minors) distinct(minors) only(minors) latest(minors) top(minors) mean(minors) median(minors) mode(minors)
  • ranks: minors_percentile
  • accumulates: as_of(minors)
  • can be a benchmark
NHL · nhlscraper
majors lower is better Maj integer
measure

Major penalties.

What it takes
  • folds: sum(majors) avg(majors) min(majors) max(majors) count(majors) distinct(majors) only(majors) latest(majors) top(majors) mean(majors) median(majors) mode(majors)
  • ranks: majors_percentile
  • accumulates: as_of(majors)
  • can be a benchmark
NHL · nhlscraper
misconducts lower is better Misc integer
measure

Misconducts.

What it takes
  • folds: sum(misconducts) avg(misconducts) min(misconducts) max(misconducts) count(misconducts) distinct(misconducts) only(misconducts) latest(misconducts) top(misconducts) mean(misconducts) median(misconducts) mode(misconducts)
  • ranks: misconducts_percentile
  • accumulates: as_of(misconducts)
  • can be a benchmark
NHL · nhlscraper
game_misconducts lower is better GM integer
measure

Game misconducts.

What it takes
  • folds: sum(game_misconducts) avg(game_misconducts) min(game_misconducts) max(game_misconducts) count(game_misconducts) distinct(game_misconducts) only(game_misconducts) latest(game_misconducts) top(game_misconducts) mean(game_misconducts) median(game_misconducts) mode(game_misconducts)
  • ranks: game_misconducts_percentile
  • accumulates: as_of(game_misconducts)
  • can be a benchmark
NHL · nhlscraper
match_penalties lower is better Match integer
measure

Match penalties.

What it takes
  • folds: sum(match_penalties) avg(match_penalties) min(match_penalties) max(match_penalties) count(match_penalties) distinct(match_penalties) only(match_penalties) latest(match_penalties) top(match_penalties) mean(match_penalties) median(match_penalties) mode(match_penalties)
  • ranks: match_penalties_percentile
  • accumulates: as_of(match_penalties)
  • can be a benchmark
NHL · nhlscraper
penalties_drawn Drawn integer
measure

Penalties drawn on opponents.

Drawn starts in 2005

What it takes
  • folds: sum(penalties_drawn) avg(penalties_drawn) min(penalties_drawn) max(penalties_drawn) count(penalties_drawn) distinct(penalties_drawn) only(penalties_drawn) latest(penalties_drawn) top(penalties_drawn) mean(penalties_drawn) median(penalties_drawn) mode(penalties_drawn)
  • ranks: penalties_drawn_percentile
  • accumulates: as_of(penalties_drawn)
  • can be a benchmark
NHL · nhlscraper
net_penalties lower is better Net Pen integer
measure

Penalties taken less penalties drawn.

Taken less drawn

Net Pen starts in 2005

What it takes
  • folds: sum(net_penalties) avg(net_penalties) min(net_penalties) max(net_penalties) count(net_penalties) distinct(net_penalties) only(net_penalties) latest(net_penalties) top(net_penalties) mean(net_penalties) median(net_penalties) mode(net_penalties)
  • ranks: net_penalties_percentile
  • accumulates: as_of(net_penalties)
  • can be a benchmark
NHL · nhlscraper
pen_taken_per_60 lower is better Pen/60 number
measure

Penalties taken per sixty minutes.

Pen/60 starts in 2005

What it takes
  • folds: sum(pen_taken_per_60) avg(pen_taken_per_60) min(pen_taken_per_60) max(pen_taken_per_60) count(pen_taken_per_60) distinct(pen_taken_per_60) only(pen_taken_per_60) latest(pen_taken_per_60) top(pen_taken_per_60) mean(pen_taken_per_60) median(pen_taken_per_60) mode(pen_taken_per_60)
  • ranks: pen_taken_per_60_percentile
  • accumulates: as_of(pen_taken_per_60)
  • can be a benchmark
NHL · nhlscraper
pen_drawn_per_60 Drawn/60 number
measure

Penalties drawn per sixty minutes.

Drawn/60 starts in 2005

What it takes
  • folds: sum(pen_drawn_per_60) avg(pen_drawn_per_60) min(pen_drawn_per_60) max(pen_drawn_per_60) count(pen_drawn_per_60) distinct(pen_drawn_per_60) only(pen_drawn_per_60) latest(pen_drawn_per_60) top(pen_drawn_per_60) mean(pen_drawn_per_60) median(pen_drawn_per_60) mode(pen_drawn_per_60)
  • ranks: pen_drawn_per_60_percentile
  • accumulates: as_of(pen_drawn_per_60)
  • can be a benchmark
NHL · nhlscraper
goals_wrist G Wrist integer
measure

Goals on wrist shots.

G Wrist starts in 2009

What it takes
  • folds: sum(goals_wrist) avg(goals_wrist) min(goals_wrist) max(goals_wrist) count(goals_wrist) distinct(goals_wrist) only(goals_wrist) latest(goals_wrist) top(goals_wrist) mean(goals_wrist) median(goals_wrist) mode(goals_wrist)
  • ranks: goals_wrist_percentile
  • accumulates: as_of(goals_wrist)
  • can be a benchmark
NHL · nhlscraper
goals_snap G Snap integer
measure

Goals on snap shots.

G Snap starts in 2009

What it takes
  • folds: sum(goals_snap) avg(goals_snap) min(goals_snap) max(goals_snap) count(goals_snap) distinct(goals_snap) only(goals_snap) latest(goals_snap) top(goals_snap) mean(goals_snap) median(goals_snap) mode(goals_snap)
  • ranks: goals_snap_percentile
  • accumulates: as_of(goals_snap)
  • can be a benchmark
NHL · nhlscraper
goals_slap G Slap integer
measure

Goals on slap shots.

G Slap starts in 2009

What it takes
  • folds: sum(goals_slap) avg(goals_slap) min(goals_slap) max(goals_slap) count(goals_slap) distinct(goals_slap) only(goals_slap) latest(goals_slap) top(goals_slap) mean(goals_slap) median(goals_slap) mode(goals_slap)
  • ranks: goals_slap_percentile
  • accumulates: as_of(goals_slap)
  • can be a benchmark
NHL · nhlscraper
goals_backhand G Back integer
measure

Goals on backhands.

G Back starts in 2009

What it takes
  • folds: sum(goals_backhand) avg(goals_backhand) min(goals_backhand) max(goals_backhand) count(goals_backhand) distinct(goals_backhand) only(goals_backhand) latest(goals_backhand) top(goals_backhand) mean(goals_backhand) median(goals_backhand) mode(goals_backhand)
  • ranks: goals_backhand_percentile
  • accumulates: as_of(goals_backhand)
  • can be a benchmark
NHL · nhlscraper
goals_tip G Tip integer
measure

Goals on tip-ins.

G Tip starts in 2009

What it takes
  • folds: sum(goals_tip) avg(goals_tip) min(goals_tip) max(goals_tip) count(goals_tip) distinct(goals_tip) only(goals_tip) latest(goals_tip) top(goals_tip) mean(goals_tip) median(goals_tip) mode(goals_tip)
  • ranks: goals_tip_percentile
  • accumulates: as_of(goals_tip)
  • can be a benchmark
NHL · nhlscraper
goals_deflected G Defl integer
measure

Goals on deflections.

G Defl starts in 2009

What it takes
  • folds: sum(goals_deflected) avg(goals_deflected) min(goals_deflected) max(goals_deflected) count(goals_deflected) distinct(goals_deflected) only(goals_deflected) latest(goals_deflected) top(goals_deflected) mean(goals_deflected) median(goals_deflected) mode(goals_deflected)
  • ranks: goals_deflected_percentile
  • accumulates: as_of(goals_deflected)
  • can be a benchmark
NHL · nhlscraper
goals_wrap G Wrap integer
measure

Goals on wrap-arounds.

G Wrap starts in 2009

What it takes
  • folds: sum(goals_wrap) avg(goals_wrap) min(goals_wrap) max(goals_wrap) count(goals_wrap) distinct(goals_wrap) only(goals_wrap) latest(goals_wrap) top(goals_wrap) mean(goals_wrap) median(goals_wrap) mode(goals_wrap)
  • ranks: goals_wrap_percentile
  • accumulates: as_of(goals_wrap)
  • can be a benchmark
NHL · nhlscraper
shots_wrist S Wrist integer
measure

Wrist shots on goal.

S Wrist starts in 2009

What it takes
  • folds: sum(shots_wrist) avg(shots_wrist) min(shots_wrist) max(shots_wrist) count(shots_wrist) distinct(shots_wrist) only(shots_wrist) latest(shots_wrist) top(shots_wrist) mean(shots_wrist) median(shots_wrist) mode(shots_wrist)
  • ranks: shots_wrist_percentile
  • accumulates: as_of(shots_wrist)
  • can be a benchmark
NHL · nhlscraper
shots_snap S Snap integer
measure

Snap shots on goal.

S Snap starts in 2009

What it takes
  • folds: sum(shots_snap) avg(shots_snap) min(shots_snap) max(shots_snap) count(shots_snap) distinct(shots_snap) only(shots_snap) latest(shots_snap) top(shots_snap) mean(shots_snap) median(shots_snap) mode(shots_snap)
  • ranks: shots_snap_percentile
  • accumulates: as_of(shots_snap)
  • can be a benchmark
NHL · nhlscraper
shots_slap S Slap integer
measure

Slap shots on goal.

S Slap starts in 2009

What it takes
  • folds: sum(shots_slap) avg(shots_slap) min(shots_slap) max(shots_slap) count(shots_slap) distinct(shots_slap) only(shots_slap) latest(shots_slap) top(shots_slap) mean(shots_slap) median(shots_slap) mode(shots_slap)
  • ranks: shots_slap_percentile
  • accumulates: as_of(shots_slap)
  • can be a benchmark
NHL · nhlscraper
shots_backhand S Back integer
measure

Backhands on goal.

S Back starts in 2009

What it takes
  • folds: sum(shots_backhand) avg(shots_backhand) min(shots_backhand) max(shots_backhand) count(shots_backhand) distinct(shots_backhand) only(shots_backhand) latest(shots_backhand) top(shots_backhand) mean(shots_backhand) median(shots_backhand) mode(shots_backhand)
  • ranks: shots_backhand_percentile
  • accumulates: as_of(shots_backhand)
  • can be a benchmark
NHL · nhlscraper
shots_tip S Tip integer
measure

Tip-ins on goal.

S Tip starts in 2009

What it takes
  • folds: sum(shots_tip) avg(shots_tip) min(shots_tip) max(shots_tip) count(shots_tip) distinct(shots_tip) only(shots_tip) latest(shots_tip) top(shots_tip) mean(shots_tip) median(shots_tip) mode(shots_tip)
  • ranks: shots_tip_percentile
  • accumulates: as_of(shots_tip)
  • can be a benchmark
NHL · nhlscraper
shots_deflected S Defl integer
measure

Deflections on goal.

S Defl starts in 2009

What it takes
  • folds: sum(shots_deflected) avg(shots_deflected) min(shots_deflected) max(shots_deflected) count(shots_deflected) distinct(shots_deflected) only(shots_deflected) latest(shots_deflected) top(shots_deflected) mean(shots_deflected) median(shots_deflected) mode(shots_deflected)
  • ranks: shots_deflected_percentile
  • accumulates: as_of(shots_deflected)
  • can be a benchmark
NHL · nhlscraper
shots_wrap S Wrap integer
measure

Wrap-arounds on goal.

S Wrap starts in 2009

What it takes
  • folds: sum(shots_wrap) avg(shots_wrap) min(shots_wrap) max(shots_wrap) count(shots_wrap) distinct(shots_wrap) only(shots_wrap) latest(shots_wrap) top(shots_wrap) mean(shots_wrap) median(shots_wrap) mode(shots_wrap)
  • ranks: shots_wrap_percentile
  • accumulates: as_of(shots_wrap)
  • can be a benchmark
NHL · nhlscraper
pp_assists PPA integer
measure

Assists on the power play.

What it takes
  • folds: sum(pp_assists) avg(pp_assists) min(pp_assists) max(pp_assists) count(pp_assists) distinct(pp_assists) only(pp_assists) latest(pp_assists) top(pp_assists) mean(pp_assists) median(pp_assists) mode(pp_assists)
  • ranks: pp_assists_percentile
  • accumulates: as_of(pp_assists)
  • can be a benchmark
NHL · nhlscraper
pp_shots PP SOG integer
measure

Shots on goal on the power play.

What it takes
  • folds: sum(pp_shots) avg(pp_shots) min(pp_shots) max(pp_shots) count(pp_shots) distinct(pp_shots) only(pp_shots) latest(pp_shots) top(pp_shots) mean(pp_shots) median(pp_shots) mode(pp_shots)
  • ranks: pp_shots_percentile
  • accumulates: as_of(pp_shots)
  • can be a benchmark
NHL · nhlscraper
pp_goals_per_60 PPG/60 number
measure

Power-play goals per sixty minutes of power-play ice time.

PPG/60 starts in 1997

What it takes
  • folds: sum(pp_goals_per_60) avg(pp_goals_per_60) min(pp_goals_per_60) max(pp_goals_per_60) count(pp_goals_per_60) distinct(pp_goals_per_60) only(pp_goals_per_60) latest(pp_goals_per_60) top(pp_goals_per_60) mean(pp_goals_per_60) median(pp_goals_per_60) mode(pp_goals_per_60)
  • ranks: pp_goals_per_60_percentile
  • accumulates: as_of(pp_goals_per_60)
  • can be a benchmark
NHL · nhlscraper
pp_points_per_60 PPP/60 number
measure

Power-play points per sixty minutes of power-play ice time.

PPP/60 starts in 1997

What it takes
  • folds: sum(pp_points_per_60) avg(pp_points_per_60) min(pp_points_per_60) max(pp_points_per_60) count(pp_points_per_60) distinct(pp_points_per_60) only(pp_points_per_60) latest(pp_points_per_60) top(pp_points_per_60) mean(pp_points_per_60) median(pp_points_per_60) mode(pp_points_per_60)
  • ranks: pp_points_per_60_percentile
  • accumulates: as_of(pp_points_per_60)
  • can be a benchmark
NHL · nhlscraper
pp_toi_share PP TOI% number
measure

Share of his club's power-play time he was on the ice for.

Share of his club's power-play time he was on the ice for

PP TOI% starts in 1997

What it takes
  • folds: sum(pp_toi_share) avg(pp_toi_share) min(pp_toi_share) max(pp_toi_share) count(pp_toi_share) distinct(pp_toi_share) only(pp_toi_share) latest(pp_toi_share) top(pp_toi_share) mean(pp_toi_share) median(pp_toi_share) mode(pp_toi_share)
  • ranks: pp_toi_share_percentile
  • can be a benchmark
NHL · nhlscraper
sh_assists SHA integer
measure

Assists while short-handed.

What it takes
  • folds: sum(sh_assists) avg(sh_assists) min(sh_assists) max(sh_assists) count(sh_assists) distinct(sh_assists) only(sh_assists) latest(sh_assists) top(sh_assists) mean(sh_assists) median(sh_assists) mode(sh_assists)
  • ranks: sh_assists_percentile
  • accumulates: as_of(sh_assists)
  • can be a benchmark
NHL · nhlscraper
sh_shots SH SOG integer
measure

Shots on goal while short-handed.

What it takes
  • folds: sum(sh_shots) avg(sh_shots) min(sh_shots) max(sh_shots) count(sh_shots) distinct(sh_shots) only(sh_shots) latest(sh_shots) top(sh_shots) mean(sh_shots) median(sh_shots) mode(sh_shots)
  • ranks: sh_shots_percentile
  • accumulates: as_of(sh_shots)
  • can be a benchmark
NHL · nhlscraper
sh_points_per_60 SHP/60 number
measure

Short-handed points per sixty minutes killing penalties.

SHP/60 starts in 1997

What it takes
  • folds: sum(sh_points_per_60) avg(sh_points_per_60) min(sh_points_per_60) max(sh_points_per_60) count(sh_points_per_60) distinct(sh_points_per_60) only(sh_points_per_60) latest(sh_points_per_60) top(sh_points_per_60) mean(sh_points_per_60) median(sh_points_per_60) mode(sh_points_per_60)
  • ranks: sh_points_per_60_percentile
  • accumulates: as_of(sh_points_per_60)
  • can be a benchmark
NHL · nhlscraper
sh_toi_share SH TOI% number
measure

Share of his club's penalty-kill time he was on the ice for.

Share of his club's penalty-kill time he was on the ice for

SH TOI% starts in 1997

What it takes
  • folds: sum(sh_toi_share) avg(sh_toi_share) min(sh_toi_share) max(sh_toi_share) count(sh_toi_share) distinct(sh_toi_share) only(sh_toi_share) latest(sh_toi_share) top(sh_toi_share) mean(sh_toi_share) median(sh_toi_share) mode(sh_toi_share)
  • ranks: sh_toi_share_percentile
  • can be a benchmark
NHL · nhlscraper
ev_gf EV GF integer
measure

Even-strength goals his club scored while he was on the ice.

Even-strength goals for while he was on the ice

What it takes
  • folds: sum(ev_gf) avg(ev_gf) min(ev_gf) max(ev_gf) count(ev_gf) distinct(ev_gf) only(ev_gf) latest(ev_gf) top(ev_gf) mean(ev_gf) median(ev_gf) mode(ev_gf)
  • ranks: ev_gf_percentile
  • accumulates: as_of(ev_gf)
  • can be a benchmark
NHL · nhlscraper
ev_ga lower is better EV GA integer
measure

Even-strength goals his club allowed while he was on the ice.

What it takes
  • folds: sum(ev_ga) avg(ev_ga) min(ev_ga) max(ev_ga) count(ev_ga) distinct(ev_ga) only(ev_ga) latest(ev_ga) top(ev_ga) mean(ev_ga) median(ev_ga) mode(ev_ga)
  • ranks: ev_ga_percentile
  • accumulates: as_of(ev_ga)
  • can be a benchmark
NHL · nhlscraper
ev_gd EV GD integer
measure

Even-strength goals for less against while he was on the ice.

What it takes
  • folds: sum(ev_gd) avg(ev_gd) min(ev_gd) max(ev_gd) count(ev_gd) distinct(ev_gd) only(ev_gd) latest(ev_gd) top(ev_gd) mean(ev_gd) median(ev_gd) mode(ev_gd)
  • ranks: ev_gd_percentile
  • accumulates: as_of(ev_gd)
  • can be a benchmark
NHL · nhlscraper
ev_gf_pct EV GF% number
measure

Share of on-ice even-strength goals that were his club's.

What it takes
  • folds: sum(ev_gf_pct) avg(ev_gf_pct) min(ev_gf_pct) max(ev_gf_pct) count(ev_gf_pct) distinct(ev_gf_pct) only(ev_gf_pct) latest(ev_gf_pct) top(ev_gf_pct) mean(ev_gf_pct) median(ev_gf_pct) mode(ev_gf_pct)
  • ranks: ev_gf_pct_percentile
  • accumulates: as_of(ev_gf_pct)
  • can be a benchmark
NHL · nhlscraper
cf CF integer
measure

Shot attempts for while on the ice — Corsi for, which the league calls SAT. NHL.com

Shot attempts for while he was on the ice (Corsi)

CF starts in 2009

What it takes
  • folds: sum(cf) avg(cf) min(cf) max(cf) count(cf) distinct(cf) only(cf) latest(cf) top(cf) mean(cf) median(cf) mode(cf)
  • ranks: cf_percentile
  • accumulates: as_of(cf)
  • can be a benchmark
NHL · nhlscraper
ca lower is better CA integer
measure

Shot attempts against while on the ice. NHL.com

CA starts in 2009

What it takes
  • folds: sum(ca) avg(ca) min(ca) max(ca) count(ca) distinct(ca) only(ca) latest(ca) top(ca) mean(ca) median(ca) mode(ca)
  • ranks: ca_percentile
  • accumulates: as_of(ca)
  • can be a benchmark
NHL · nhlscraper
cf_pct CF% number
measure

Attempts for as a share of attempts for and against while on the ice. NHL.com

Share of on-ice shot attempts that were his club's

CF% starts in 2009

What it takes
  • folds: sum(cf_pct) avg(cf_pct) min(cf_pct) max(cf_pct) count(cf_pct) distinct(cf_pct) only(cf_pct) latest(cf_pct) top(cf_pct) mean(cf_pct) median(cf_pct) mode(cf_pct)
  • ranks: cf_pct_percentile
  • accumulates: as_of(cf_pct)
  • can be a benchmark
NHL · nhlscraper
cf_rel CF% rel number
measure

CF% while on the ice less CF% while off it, in points.

CF% on the ice less CF% off it, in points

CF% rel starts in 2009

What it takes
  • folds: sum(cf_rel) avg(cf_rel) min(cf_rel) max(cf_rel) count(cf_rel) distinct(cf_rel) only(cf_rel) latest(cf_rel) top(cf_rel) mean(cf_rel) median(cf_rel) mode(cf_rel)
  • ranks: cf_rel_percentile
  • accumulates: as_of(cf_rel)
  • can be a benchmark
NHL · nhlscraper
ff FF integer
measure

Unblocked attempts for while on the ice — Fenwick for, which the league calls USAT. NHL.com

Unblocked attempts for (Fenwick)

FF starts in 2009

What it takes
  • folds: sum(ff) avg(ff) min(ff) max(ff) count(ff) distinct(ff) only(ff) latest(ff) top(ff) mean(ff) median(ff) mode(ff)
  • ranks: ff_percentile
  • accumulates: as_of(ff)
  • can be a benchmark
NHL · nhlscraper
fa lower is better FA integer
measure

Unblocked attempts against while on the ice. NHL.com

FA starts in 2009

What it takes
  • folds: sum(fa) avg(fa) min(fa) max(fa) count(fa) distinct(fa) only(fa) latest(fa) top(fa) mean(fa) median(fa) mode(fa)
  • ranks: fa_percentile
  • accumulates: as_of(fa)
  • can be a benchmark
NHL · nhlscraper
ff_pct FF% number
measure

Unblocked attempts for as a share of those for and against. NHL.com

FF% starts in 2009

What it takes
  • folds: sum(ff_pct) avg(ff_pct) min(ff_pct) max(ff_pct) count(ff_pct) distinct(ff_pct) only(ff_pct) latest(ff_pct) top(ff_pct) mean(ff_pct) median(ff_pct) mode(ff_pct)
  • ranks: ff_pct_percentile
  • accumulates: as_of(ff_pct)
  • can be a benchmark
NHL · nhlscraper
ff_rel FF% rel number
measure

FF% while on the ice less FF% while off it, in points.

FF% rel starts in 2009

What it takes
  • folds: sum(ff_rel) avg(ff_rel) min(ff_rel) max(ff_rel) count(ff_rel) distinct(ff_rel) only(ff_rel) latest(ff_rel) top(ff_rel) mean(ff_rel) median(ff_rel) mode(ff_rel)
  • ranks: ff_rel_percentile
  • accumulates: as_of(ff_rel)
  • can be a benchmark
NHL · nhlscraper
cf_pct_close CF% close number
measure

CF% with the score within a goal.

CF% with the score within a goal

CF% close starts in 2009

What it takes
  • folds: sum(cf_pct_close) avg(cf_pct_close) min(cf_pct_close) max(cf_pct_close) count(cf_pct_close) distinct(cf_pct_close) only(cf_pct_close) latest(cf_pct_close) top(cf_pct_close) mean(cf_pct_close) median(cf_pct_close) mode(cf_pct_close)
  • ranks: cf_pct_close_percentile
  • can be a benchmark
NHL · nhlscraper
cf_pct_tied CF% tied number
measure

CF% with the score level.

CF% tied starts in 2009

What it takes
  • folds: sum(cf_pct_tied) avg(cf_pct_tied) min(cf_pct_tied) max(cf_pct_tied) count(cf_pct_tied) distinct(cf_pct_tied) only(cf_pct_tied) latest(cf_pct_tied) top(cf_pct_tied) mean(cf_pct_tied) median(cf_pct_tied) mode(cf_pct_tied)
  • ranks: cf_pct_tied_percentile
  • can be a benchmark
NHL · nhlscraper
cf_pct_ahead CF% ahead number
measure

CF% while leading.

CF% ahead starts in 2009

What it takes
  • folds: sum(cf_pct_ahead) avg(cf_pct_ahead) min(cf_pct_ahead) max(cf_pct_ahead) count(cf_pct_ahead) distinct(cf_pct_ahead) only(cf_pct_ahead) latest(cf_pct_ahead) top(cf_pct_ahead) mean(cf_pct_ahead) median(cf_pct_ahead) mode(cf_pct_ahead)
  • ranks: cf_pct_ahead_percentile
  • can be a benchmark
NHL · nhlscraper
cf_pct_behind CF% behind number
measure

CF% while trailing.

CF% behind starts in 2009

What it takes
  • folds: sum(cf_pct_behind) avg(cf_pct_behind) min(cf_pct_behind) max(cf_pct_behind) count(cf_pct_behind) distinct(cf_pct_behind) only(cf_pct_behind) latest(cf_pct_behind) top(cf_pct_behind) mean(cf_pct_behind) median(cf_pct_behind) mode(cf_pct_behind)
  • ranks: cf_pct_behind_percentile
  • can be a benchmark
NHL · nhlscraper
icf_per_60 iCF/60 number
measure

His own shot attempts per sixty minutes.

His own attempts per 60

iCF/60 starts in 2009

What it takes
  • folds: sum(icf_per_60) avg(icf_per_60) min(icf_per_60) max(icf_per_60) count(icf_per_60) distinct(icf_per_60) only(icf_per_60) latest(icf_per_60) top(icf_per_60) mean(icf_per_60) median(icf_per_60) mode(icf_per_60)
  • ranks: icf_per_60_percentile
  • accumulates: as_of(icf_per_60)
  • can be a benchmark
NHL · nhlscraper
ishots_per_60 iSOG/60 number
measure

His own shots on goal per sixty minutes.

iSOG/60 starts in 2009

What it takes
  • folds: sum(ishots_per_60) avg(ishots_per_60) min(ishots_per_60) max(ishots_per_60) count(ishots_per_60) distinct(ishots_per_60) only(ishots_per_60) latest(ishots_per_60) top(ishots_per_60) mean(ishots_per_60) median(ishots_per_60) mode(ishots_per_60)
  • ranks: ishots_per_60_percentile
  • accumulates: as_of(ishots_per_60)
  • can be a benchmark
NHL · nhlscraper
oish_pct oiSH% number
measure

His club's shooting percentage while he was on the ice.

His club's shooting percentage while he was on the ice

oiSH% starts in 2009

What it takes
  • folds: sum(oish_pct) avg(oish_pct) min(oish_pct) max(oish_pct) count(oish_pct) distinct(oish_pct) only(oish_pct) latest(oish_pct) top(oish_pct) mean(oish_pct) median(oish_pct) mode(oish_pct)
  • ranks: oish_pct_percentile
  • can be a benchmark
NHL · nhlscraper
gf_pct GF% number
measure

Share of on-ice goals that were his club's.

Share of on-ice goals that were his club's

GF% starts in 2009

What it takes
  • folds: sum(gf_pct) avg(gf_pct) min(gf_pct) max(gf_pct) count(gf_pct) distinct(gf_pct) only(gf_pct) latest(gf_pct) top(gf_pct) mean(gf_pct) median(gf_pct) mode(gf_pct)
  • ranks: gf_pct_percentile
  • can be a benchmark
NHL · nhlscraper
oz_start_pct OZS% number
measure

Share of his shifts that began with an offensive-zone faceoff.

Share of his shifts that started in the offensive zone

OZS% starts in 2009

What it takes
  • folds: sum(oz_start_pct) avg(oz_start_pct) min(oz_start_pct) max(oz_start_pct) count(oz_start_pct) distinct(oz_start_pct) only(oz_start_pct) latest(oz_start_pct) top(oz_start_pct) mean(oz_start_pct) median(oz_start_pct) mode(oz_start_pct)
  • ranks: oz_start_pct_percentile
  • can be a benchmark
NHL · nhlscraper
dz_start_pct DZS% number
measure

Share of his shifts that began with a defensive-zone faceoff.

DZS% starts in 2009

What it takes
  • folds: sum(dz_start_pct) avg(dz_start_pct) min(dz_start_pct) max(dz_start_pct) count(dz_start_pct) distinct(dz_start_pct) only(dz_start_pct) latest(dz_start_pct) top(dz_start_pct) mean(dz_start_pct) median(dz_start_pct) mode(dz_start_pct)
  • ranks: dz_start_pct_percentile
  • can be a benchmark
NHL · nhlscraper
nz_start_pct NZS% number
measure

Share of his shifts that began at a neutral-zone faceoff.

NZS% starts in 2009

What it takes
  • folds: sum(nz_start_pct) avg(nz_start_pct) min(nz_start_pct) max(nz_start_pct) count(nz_start_pct) distinct(nz_start_pct) only(nz_start_pct) latest(nz_start_pct) top(nz_start_pct) mean(nz_start_pct) median(nz_start_pct) mode(nz_start_pct)
  • ranks: nz_start_pct_percentile
  • can be a benchmark
NHL · nhlscraper
sh_pct_5v5 S% 5v5 number
measure

His own shooting percentage at five on five.

S% 5v5 starts in 2009

What it takes
  • folds: sum(sh_pct_5v5) avg(sh_pct_5v5) min(sh_pct_5v5) max(sh_pct_5v5) count(sh_pct_5v5) distinct(sh_pct_5v5) only(sh_pct_5v5) latest(sh_pct_5v5) top(sh_pct_5v5) mean(sh_pct_5v5) median(sh_pct_5v5) mode(sh_pct_5v5)
  • ranks: sh_pct_5v5_percentile
  • can be a benchmark
NHL · nhlscraper
sv_pct_5v5 oiSV% 5v5 number
measure

His goalies' save percentage while he was on the ice at five on five.

His goalies' save percentage while he was on the ice at 5v5

oiSV% 5v5 starts in 2009

What it takes
  • folds: sum(sv_pct_5v5) avg(sv_pct_5v5) min(sv_pct_5v5) max(sv_pct_5v5) count(sv_pct_5v5) distinct(sv_pct_5v5) only(sv_pct_5v5) latest(sv_pct_5v5) top(sv_pct_5v5) mean(sv_pct_5v5) median(sv_pct_5v5) mode(sv_pct_5v5)
  • ranks: sv_pct_5v5_percentile
  • can be a benchmark
NHL · nhlscraper
pdo_5v5 PDO number
measure

On-ice shooting plus save percentage at five on five. 100 is average, and it regresses.

On-ice shooting plus save percentage at 5v5 — 100 is average, and it regresses

PDO starts in 2009

What it takes
  • folds: sum(pdo_5v5) avg(pdo_5v5) min(pdo_5v5) max(pdo_5v5) count(pdo_5v5) distinct(pdo_5v5) only(pdo_5v5) latest(pdo_5v5) top(pdo_5v5) mean(pdo_5v5) median(pdo_5v5) mode(pdo_5v5)
  • ranks: pdo_5v5_percentile
  • accumulates: as_of(pdo_5v5)
  • can be a benchmark
NHL · nhlscraper
goals_5v5 G 5v5 integer
measure

Goals at five on five.

G 5v5 starts in 2009

What it takes
  • folds: sum(goals_5v5) avg(goals_5v5) min(goals_5v5) max(goals_5v5) count(goals_5v5) distinct(goals_5v5) only(goals_5v5) latest(goals_5v5) top(goals_5v5) mean(goals_5v5) median(goals_5v5) mode(goals_5v5)
  • ranks: goals_5v5_percentile
  • accumulates: as_of(goals_5v5)
  • can be a benchmark
NHL · nhlscraper
assists_5v5 A 5v5 integer
measure

Assists at five on five.

A 5v5 starts in 2009

What it takes
  • folds: sum(assists_5v5) avg(assists_5v5) min(assists_5v5) max(assists_5v5) count(assists_5v5) distinct(assists_5v5) only(assists_5v5) latest(assists_5v5) top(assists_5v5) mean(assists_5v5) median(assists_5v5) mode(assists_5v5)
  • ranks: assists_5v5_percentile
  • accumulates: as_of(assists_5v5)
  • can be a benchmark
NHL · nhlscraper
points_5v5 P 5v5 integer
measure

Points at five on five.

P 5v5 starts in 2009

What it takes
  • folds: sum(points_5v5) avg(points_5v5) min(points_5v5) max(points_5v5) count(points_5v5) distinct(points_5v5) only(points_5v5) latest(points_5v5) top(points_5v5) mean(points_5v5) median(points_5v5) mode(points_5v5)
  • ranks: points_5v5_percentile
  • accumulates: as_of(points_5v5)
  • can be a benchmark
NHL · nhlscraper
a1_5v5 A1 5v5 integer
measure

First assists at five on five.

A1 5v5 starts in 2009

What it takes
  • folds: sum(a1_5v5) avg(a1_5v5) min(a1_5v5) max(a1_5v5) count(a1_5v5) distinct(a1_5v5) only(a1_5v5) latest(a1_5v5) top(a1_5v5) mean(a1_5v5) median(a1_5v5) mode(a1_5v5)
  • ranks: a1_5v5_percentile
  • accumulates: as_of(a1_5v5)
  • can be a benchmark
NHL · nhlscraper
toi_per_game_5v5 5v5/GP number
measure

Minutes per game at five on five.

5v5/GP starts in 2009

What it takes
  • folds: sum(toi_per_game_5v5) avg(toi_per_game_5v5) min(toi_per_game_5v5) max(toi_per_game_5v5) count(toi_per_game_5v5) distinct(toi_per_game_5v5) only(toi_per_game_5v5) latest(toi_per_game_5v5) top(toi_per_game_5v5) mean(toi_per_game_5v5) median(toi_per_game_5v5) mode(toi_per_game_5v5)
  • ranks: toi_per_game_5v5_percentile
  • accumulates: as_of(toi_per_game_5v5)
  • can be a benchmark
NHL · nhlscraper
goals_per_60_5v5 G/60 5v5 number
measure

Goals per sixty minutes at five on five.

G/60 5v5 starts in 2009

What it takes
  • folds: sum(goals_per_60_5v5) avg(goals_per_60_5v5) min(goals_per_60_5v5) max(goals_per_60_5v5) count(goals_per_60_5v5) distinct(goals_per_60_5v5) only(goals_per_60_5v5) latest(goals_per_60_5v5) top(goals_per_60_5v5) mean(goals_per_60_5v5) median(goals_per_60_5v5) mode(goals_per_60_5v5)
  • ranks: goals_per_60_5v5_percentile
  • accumulates: as_of(goals_per_60_5v5)
  • can be a benchmark
NHL · nhlscraper
points_per_60_5v5 P/60 5v5 number
measure

Points per sixty minutes at five on five.

P/60 5v5 starts in 2009

What it takes
  • folds: sum(points_per_60_5v5) avg(points_per_60_5v5) min(points_per_60_5v5) max(points_per_60_5v5) count(points_per_60_5v5) distinct(points_per_60_5v5) only(points_per_60_5v5) latest(points_per_60_5v5) top(points_per_60_5v5) mean(points_per_60_5v5) median(points_per_60_5v5) mode(points_per_60_5v5)
  • ranks: points_per_60_5v5_percentile
  • accumulates: as_of(points_per_60_5v5)
  • can be a benchmark
NHL · nhlscraper
a1_per_60_5v5 A1/60 5v5 number
measure

First assists per sixty minutes at five on five.

A1/60 5v5 starts in 2009

What it takes
  • folds: sum(a1_per_60_5v5) avg(a1_per_60_5v5) min(a1_per_60_5v5) max(a1_per_60_5v5) count(a1_per_60_5v5) distinct(a1_per_60_5v5) only(a1_per_60_5v5) latest(a1_per_60_5v5) top(a1_per_60_5v5) mean(a1_per_60_5v5) median(a1_per_60_5v5) mode(a1_per_60_5v5)
  • ranks: a1_per_60_5v5_percentile
  • accumulates: as_of(a1_per_60_5v5)
  • can be a benchmark
NHL · nhlscraper
cf_rel_5v5 CF% rel 5v5 number
measure

CF% relative at five on five.

CF% rel 5v5 starts in 2009

What it takes
  • folds: sum(cf_rel_5v5) avg(cf_rel_5v5) min(cf_rel_5v5) max(cf_rel_5v5) count(cf_rel_5v5) distinct(cf_rel_5v5) only(cf_rel_5v5) latest(cf_rel_5v5) top(cf_rel_5v5) mean(cf_rel_5v5) median(cf_rel_5v5) mode(cf_rel_5v5)
  • ranks: cf_rel_5v5_percentile
  • can be a benchmark
NHL · nhlscraper
so_shots SO Att integer
measure

Shootout attempts.

SO Att starts in 2005

What it takes
  • folds: sum(so_shots) avg(so_shots) min(so_shots) max(so_shots) count(so_shots) distinct(so_shots) only(so_shots) latest(so_shots) top(so_shots) mean(so_shots) median(so_shots) mode(so_shots)
  • ranks: so_shots_percentile
  • accumulates: as_of(so_shots)
  • can be a benchmark
NHL · nhlscraper
so_goals SO G integer
measure

Shootout goals.

SO G starts in 2005

What it takes
  • folds: sum(so_goals) avg(so_goals) min(so_goals) max(so_goals) count(so_goals) distinct(so_goals) only(so_goals) latest(so_goals) top(so_goals) mean(so_goals) median(so_goals) mode(so_goals)
  • ranks: so_goals_percentile
  • accumulates: as_of(so_goals)
  • can be a benchmark
NHL · nhlscraper
so_gdg SO GDG integer
measure

Shootout goals that decided the game.

Shootout goals that decided the game

SO GDG starts in 2005

What it takes
  • folds: sum(so_gdg) avg(so_gdg) min(so_gdg) max(so_gdg) count(so_gdg) distinct(so_gdg) only(so_gdg) latest(so_gdg) top(so_gdg) mean(so_gdg) median(so_gdg) mode(so_gdg)
  • ranks: so_gdg_percentile
  • accumulates: as_of(so_gdg)
  • can be a benchmark
NHL · nhlscraper
so_pct SO% number
measure

Shootout goals as a share of attempts.

SO% starts in 2005

What it takes
  • folds: sum(so_pct) avg(so_pct) min(so_pct) max(so_pct) count(so_pct) distinct(so_pct) only(so_pct) latest(so_pct) top(so_pct) mean(so_pct) median(so_pct) mode(so_pct)
  • ranks: so_pct_percentile
  • accumulates: as_of(so_pct)
  • can be a benchmark
NHL · nhlscraper
ps_attempts PS Att integer
measure

Penalty shots taken.

What it takes
  • folds: sum(ps_attempts) avg(ps_attempts) min(ps_attempts) max(ps_attempts) count(ps_attempts) distinct(ps_attempts) only(ps_attempts) latest(ps_attempts) top(ps_attempts) mean(ps_attempts) median(ps_attempts) mode(ps_attempts)
  • ranks: ps_attempts_percentile
  • accumulates: as_of(ps_attempts)
  • can be a benchmark
NHL · nhlscraper
ps_goals PS G integer
measure

Penalty shots scored.

What it takes
  • folds: sum(ps_goals) avg(ps_goals) min(ps_goals) max(ps_goals) count(ps_goals) distinct(ps_goals) only(ps_goals) latest(ps_goals) top(ps_goals) mean(ps_goals) median(ps_goals) mode(ps_goals)
  • ranks: ps_goals_percentile
  • accumulates: as_of(ps_goals)
  • can be a benchmark
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Rates this table names 2

goals_per_game G/GP

built from sum(goals) sum(games)

Goals per game played.

from nhl.skaters
select player, goals_per_game
group by player
order by goals_per_game desc
limit 10

shots_per_game SOG/GP

built from sum(shots) sum(games)

Shots on goal per game played.

from nhl.skaters
select player, shots_per_game
group by player
order by shots_per_game desc
limit 10
Operators on this table 38 available, 5 not

from

The one table a query reads

from nhl.skaters
select player, team, position, games, goals, assists, points, toi_per_game
order by points desc
limit 100

select

The columns the answer carries

from nhl.skaters
select player, team, position, games, goals, assists, points, toi_per_game
order by points desc
limit 100

as

Renames a column's heading and nothing else

from nhl.skaters
select player, team, games as GP
order by games desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.skaters
where season = $year
select player, team, position
order by games desc
limit 10

limit

How many rows come back

from nhl.skaters
select player, team, position, games, goals, assists, points, toi_per_game
order by points desc
limit 100

order by

Which end of the answer comes first

from nhl.skaters
select player, team, position, games
order by games desc
limit 10

#

A comment, to the end of the line

# Skater seasons — One row per skater per season since 1917-18 — scoring, time on ice, possession, faceoffs, penalties and shot types, from the league's sixteen reports.
from nhl.skaters
select player, team, position, games, goals, assists, points, toi_per_game
order by points desc
limit 100

where

Chooses the rows the question is about

from nhl.skaters
where season = 2026
select player, games
order by games desc
limit 10

and

Continues whichever filter clause came last

from nhl.skaters
where season = 2026 and games > 0
select player, games
order by games desc
limit 10

having

Filters the groups a fold made

from nhl.skaters
select player, sum(games)
group by player
having sum(games) > 0
order by sum(games) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.skaters
where season = 2026
select player, games, games_percentile
keep games_percentile >= 90
order by games_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.skaters
select player, season, games
highlight season = 2026
order by games desc
limit 10

of

A threshold that is another row rather than a number

from nhl.skaters
where games >= max(games) of position C
select player, games
order by games desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.skaters
select player, count(*), sum(games)
group by player
order by sum(games) desc
limit 10

then

Folds the answer a second time

from nhl.skaters
select player, team, count(*)
group by player, team
having count(*) > 10
then
select player, count(*) as Teams
group by player
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.skaters
select player, team, sum(games)
group by player, team
pivot by team
limit 25

first / last

Only part of each career, before anything else runs

from nhl.skaters
first 3 seasons
select player, sum(games)
group by player
order by sum(games) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.skaters
select player, sum(games)
group by player
order by sum(games) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.skaters
select player, avg(games)
group by player
order by avg(games) desc
limit 10

min(…)

The smallest value in each group

from nhl.skaters
select player, min(games)
group by player
order by min(games) desc
limit 10

max(…)

The largest value in each group

from nhl.skaters
select player, max(games)
group by player
order by max(games) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.skaters
select player, count(games)
group by player
order by count(games) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.skaters
select player, distinct(team)
group by player
order by distinct(team) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.skaters
where season = 2026
select player, only(team)
group by player
order by only(team) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.skaters
select player, latest(player)
group by player
order by count(*) desc
limit 10

top(…)

The value on the group's biggest row

from nhl.skaters
select player, top(player)
group by player
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.skaters
select player, mean(games)
group by player
order by mean(games) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.skaters
select player, median(games)
group by player
order by median(games) desc
limit 10

mode(…)

The commonest value in the group

from nhl.skaters
select player, mode(player)
group by player
order by count(*) desc
limit 10

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.skaters
where season = 2026
select player, games, games_percentile
order by games_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.skaters
select player, sum(games), percentile(sum(games))
group by player
order by sum(games) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.skaters
where season = 2026
select player, games, standing(games)
order by games desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.skaters
where season = 2026
select player, clubs, age, composite(clubs, age)
order by composite(clubs, age) desc
limit 10

ratio(…)

One column divided by another

from nhl.skaters
select player, count(*), ratio(sum(games), count(*))
group by player
order by ratio(sum(games), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.skaters
where season = 2026
select player, clubs, age, calc(standing(clubs) - standing(age))
order by calc(standing(clubs) - standing(age)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.skaters
select player, games, format(games, > 0 -> "on the board", <= 0 -> "nothing yet")
order by games desc
limit 10

pair

Draws two columns of the answer in one

from nhl.skaters
where season = 2026
select player, games, games_percentile
pair games with games_percentile
order by games desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.skaters
where season = 2026
select player, clubs, age, games, composite(clubs, age, games) as Score
hint composite(clubs, age, games) as "#Clubs + Age + GP"
order by composite(clubs, age, games) desc
limit 10

Not on this table

  • year(…) — this table has no date column to read a period off
  • quarter(…) — this table has no date column to read a period off
  • month(…) — this table has no date column to read a period off
  • week(…) — this table has no date column to read a period off
  • as_of(…) — this table has no time axis to accumulate along

nhl.skater_games Skater games

One row per skater per game since 1917-18 — the box score, with time on ice, hits, blocks and faceoffs where the league counted them.

from nhl.skater_games
select game_date, player, team, opponent, goals, assists, points, shots, toi
order by points desc
limit 200
One row is
one player's game (player-game)
Built from
one table, read straight
Reads
nhl_skater_games NHL, nhlscraper
Shows by default
game_date player team opponent goals assists points shots toi
Ordered by
points desc
Rows
200 by default, 20000 at most
Ranks within
season
Careers counted in
seasons game_dates games
Newest row
game_date
Biggest row
points

Applied unless you say otherwise

  • Limited to the regular season — add where season_type = POST for the playoffs.

Before you trust the numbers

  • A row exists for any skater who dressed, so filter by position or a games threshold before ranking a rate.
  • Hits, blocks, giveaways and takeaways are counted from 2005-06; time on ice and faceoffs from 1997-98; shot attempts and zone starts from 2009-10. Earlier seasons are null, not zero.
  • Stat definitions are the league's own, from its stats API.
Dimensions 5
NameBound to
league always nhl
team the team column
player the player column
position the position column
season the season column
Columns 53
NameHeadingTypeWhat it is
season completes season Season season
dimension

The season, by the year it started — 2024 is 2024-25.

What it takes
  • folds: min(season) max(season) count(season) distinct(season) only(season) latest(season) top(season) mode(season)
  • can be a benchmark
NHL · nhlscraper
season_type completes season_type Type string
dimension

REG for the regular season, POST for the playoffs.

REG or POST

What it takes
  • folds: count(season_type) distinct(season_type) only(season_type) latest(season_type) top(season_type) mode(season_type)
NHL · nhlscraper
game_date Date date
dimension

The date the game was played.

What it takes
  • folds: min(game_date) max(game_date) count(game_date) distinct(game_date) only(game_date) latest(game_date) top(game_date) mode(game_date)
  • periods: year(game_date) quarter(game_date) month(game_date) week(game_date)
  • can be a benchmark
NHL · nhlscraper
player completes player Player string
dimension

The player, by the name the league's registry lists him under.

What it takes
  • folds: count(player) distinct(player) only(player) latest(player) top(player) mode(player)
NHL · nhlscraper
team completes team Team string
dimension

The club, by the code it wore that season.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) top(team) mode(team)
NHL · nhlscraper
franchise completes franchise Franchise string
dimension

The club's franchise, by the code it wears today — the thread through relocations.

The franchise's current code — every Coyotes and Mammoth season is under UTA

What it takes
  • folds: count(franchise) distinct(franchise) only(franchise) latest(franchise) top(franchise) mode(franchise)
NHL · nhlscraper
opponent completes team Opp string
dimension

The other club.

What it takes
  • folds: count(opponent) distinct(opponent) only(opponent) latest(opponent) top(opponent) mode(opponent)
NHL · nhlscraper
home H/A boolean
dimension

Whether this club was at home.

What it takes
  • folds: count(home) distinct(home) only(home) latest(home) top(home) mode(home)
NHL · nhlscraper
position completes position Pos string
dimension

C, L, R or D for a skater; G for a goalie. NHL.com

C, L, R, D or G

What it takes
  • folds: count(position) distinct(position) only(position) latest(position) top(position) mode(position)
NHL · nhlscraper
goals G integer
measure

Goals scored. NHL.com

What it takes
  • folds: sum(goals) avg(goals) min(goals) max(goals) count(goals) distinct(goals) only(goals) latest(goals) top(goals) mean(goals) median(goals) mode(goals)
  • ranks: goals_percentile
  • accumulates: as_of(goals)
  • can be a benchmark
NHL · nhlscraper
assists A integer
measure

Assists. NHL.com

What it takes
  • folds: sum(assists) avg(assists) min(assists) max(assists) count(assists) distinct(assists) only(assists) latest(assists) top(assists) mean(assists) median(assists) mode(assists)
  • ranks: assists_percentile
  • accumulates: as_of(assists)
  • can be a benchmark
NHL · nhlscraper
points P integer
measure

Goals plus assists for a player; standings points for a club. NHL.com

What it takes
  • folds: sum(points) avg(points) min(points) max(points) count(points) distinct(points) only(points) latest(points) top(points) mean(points) median(points) mode(points)
  • ranks: points_percentile
  • accumulates: as_of(points)
  • can be a benchmark
NHL · nhlscraper
plus_minus +/- integer
measure

Even-strength and short-handed goals for while on the ice, less those against. NHL.com

What it takes
  • folds: sum(plus_minus) avg(plus_minus) min(plus_minus) max(plus_minus) count(plus_minus) distinct(plus_minus) only(plus_minus) latest(plus_minus) top(plus_minus) mean(plus_minus) median(plus_minus) mode(plus_minus)
  • ranks: plus_minus_percentile
  • accumulates: as_of(plus_minus)
  • can be a benchmark
NHL · nhlscraper
pim lower is better PIM integer
measure

Penalty minutes. NHL.com

What it takes
  • folds: sum(pim) avg(pim) min(pim) max(pim) count(pim) distinct(pim) only(pim) latest(pim) top(pim) mean(pim) median(pim) mode(pim)
  • ranks: pim_percentile
  • accumulates: as_of(pim)
  • can be a benchmark
NHL · nhlscraper
shots SOG integer
measure

Shots on goal. NHL.com

What it takes
  • folds: sum(shots) avg(shots) min(shots) max(shots) count(shots) distinct(shots) only(shots) latest(shots) top(shots) mean(shots) median(shots) mode(shots)
  • ranks: shots_percentile
  • accumulates: as_of(shots)
  • can be a benchmark
NHL · nhlscraper
shooting_pct S% number
measure

Goals as a share of shots on goal. NHL.com

What it takes
  • folds: sum(shooting_pct) avg(shooting_pct) min(shooting_pct) max(shooting_pct) count(shooting_pct) distinct(shooting_pct) only(shooting_pct) latest(shooting_pct) top(shooting_pct) mean(shooting_pct) median(shooting_pct) mode(shooting_pct)
  • ranks: shooting_pct_percentile
  • accumulates: as_of(shooting_pct)
  • can be a benchmark
NHL · nhlscraper
ev_goals EVG integer
measure

Goals at even strength. NHL.com

What it takes
  • folds: sum(ev_goals) avg(ev_goals) min(ev_goals) max(ev_goals) count(ev_goals) distinct(ev_goals) only(ev_goals) latest(ev_goals) top(ev_goals) mean(ev_goals) median(ev_goals) mode(ev_goals)
  • ranks: ev_goals_percentile
  • accumulates: as_of(ev_goals)
  • can be a benchmark
NHL · nhlscraper
ev_points EVP integer
measure

Points at even strength. NHL.com

What it takes
  • folds: sum(ev_points) avg(ev_points) min(ev_points) max(ev_points) count(ev_points) distinct(ev_points) only(ev_points) latest(ev_points) top(ev_points) mean(ev_points) median(ev_points) mode(ev_points)
  • ranks: ev_points_percentile
  • accumulates: as_of(ev_points)
  • can be a benchmark
NHL · nhlscraper
pp_goals PPG integer
measure

Goals on the power play. NHL.com

What it takes
  • folds: sum(pp_goals) avg(pp_goals) min(pp_goals) max(pp_goals) count(pp_goals) distinct(pp_goals) only(pp_goals) latest(pp_goals) top(pp_goals) mean(pp_goals) median(pp_goals) mode(pp_goals)
  • ranks: pp_goals_percentile
  • accumulates: as_of(pp_goals)
  • can be a benchmark
NHL · nhlscraper
pp_points PPP integer
measure

Points on the power play. NHL.com

What it takes
  • folds: sum(pp_points) avg(pp_points) min(pp_points) max(pp_points) count(pp_points) distinct(pp_points) only(pp_points) latest(pp_points) top(pp_points) mean(pp_points) median(pp_points) mode(pp_points)
  • ranks: pp_points_percentile
  • accumulates: as_of(pp_points)
  • can be a benchmark
NHL · nhlscraper
sh_goals SHG integer
measure

Goals while short-handed. NHL.com

What it takes
  • folds: sum(sh_goals) avg(sh_goals) min(sh_goals) max(sh_goals) count(sh_goals) distinct(sh_goals) only(sh_goals) latest(sh_goals) top(sh_goals) mean(sh_goals) median(sh_goals) mode(sh_goals)
  • ranks: sh_goals_percentile
  • accumulates: as_of(sh_goals)
  • can be a benchmark
NHL · nhlscraper
sh_points SHP integer
measure

Points while short-handed. NHL.com

What it takes
  • folds: sum(sh_points) avg(sh_points) min(sh_points) max(sh_points) count(sh_points) distinct(sh_points) only(sh_points) latest(sh_points) top(sh_points) mean(sh_points) median(sh_points) mode(sh_points)
  • ranks: sh_points_percentile
  • accumulates: as_of(sh_points)
  • can be a benchmark
NHL · nhlscraper
ot_goals OTG integer
measure

Goals in overtime. NHL.com

What it takes
  • folds: sum(ot_goals) avg(ot_goals) min(ot_goals) max(ot_goals) count(ot_goals) distinct(ot_goals) only(ot_goals) latest(ot_goals) top(ot_goals) mean(ot_goals) median(ot_goals) mode(ot_goals)
  • ranks: ot_goals_percentile
  • accumulates: as_of(ot_goals)
  • can be a benchmark
NHL · nhlscraper
gwg GWG integer
measure

Game-winning goals — the goal that put his club one past the loser's total. NHL.com

What it takes
  • folds: sum(gwg) avg(gwg) min(gwg) max(gwg) count(gwg) distinct(gwg) only(gwg) latest(gwg) top(gwg) mean(gwg) median(gwg) mode(gwg)
  • ranks: gwg_percentile
  • accumulates: as_of(gwg)
  • can be a benchmark
NHL · nhlscraper
first_goals 1stG integer
measure

Goals that opened the scoring.

1stG starts in 2005

What it takes
  • folds: sum(first_goals) avg(first_goals) min(first_goals) max(first_goals) count(first_goals) distinct(first_goals) only(first_goals) latest(first_goals) top(first_goals) mean(first_goals) median(first_goals) mode(first_goals)
  • ranks: first_goals_percentile
  • accumulates: as_of(first_goals)
  • can be a benchmark
NHL · nhlscraper
en_goals ENG integer
measure

Goals into an empty net.

ENG starts in 2005

What it takes
  • folds: sum(en_goals) avg(en_goals) min(en_goals) max(en_goals) count(en_goals) distinct(en_goals) only(en_goals) latest(en_goals) top(en_goals) mean(en_goals) median(en_goals) mode(en_goals)
  • ranks: en_goals_percentile
  • accumulates: as_of(en_goals)
  • can be a benchmark
NHL · nhlscraper
en_points ENP integer
measure

Points on empty-net goals.

ENP starts in 2005

What it takes
  • folds: sum(en_points) avg(en_points) min(en_points) max(en_points) count(en_points) distinct(en_points) only(en_points) latest(en_points) top(en_points) mean(en_points) median(en_points) mode(en_points)
  • ranks: en_points_percentile
  • accumulates: as_of(en_points)
  • can be a benchmark
NHL · nhlscraper
toi TOI number
measure

Minutes on ice. NHL.com

Minutes on ice

TOI starts in 1997

What it takes
  • folds: sum(toi) avg(toi) min(toi) max(toi) count(toi) distinct(toi) only(toi) latest(toi) top(toi) mean(toi) median(toi) mode(toi)
  • ranks: toi_percentile
  • accumulates: as_of(toi)
  • can be a benchmark
NHL · nhlscraper
ev_toi EV TOI number
measure

Minutes at even strength.

EV TOI starts in 1997

What it takes
  • folds: sum(ev_toi) avg(ev_toi) min(ev_toi) max(ev_toi) count(ev_toi) distinct(ev_toi) only(ev_toi) latest(ev_toi) top(ev_toi) mean(ev_toi) median(ev_toi) mode(ev_toi)
  • ranks: ev_toi_percentile
  • accumulates: as_of(ev_toi)
  • can be a benchmark
NHL · nhlscraper
pp_toi PP TOI number
measure

Minutes on the power play.

PP TOI starts in 1997

What it takes
  • folds: sum(pp_toi) avg(pp_toi) min(pp_toi) max(pp_toi) count(pp_toi) distinct(pp_toi) only(pp_toi) latest(pp_toi) top(pp_toi) mean(pp_toi) median(pp_toi) mode(pp_toi)
  • ranks: pp_toi_percentile
  • accumulates: as_of(pp_toi)
  • can be a benchmark
NHL · nhlscraper
sh_toi SH TOI number
measure

Minutes killing penalties.

SH TOI starts in 1997

What it takes
  • folds: sum(sh_toi) avg(sh_toi) min(sh_toi) max(sh_toi) count(sh_toi) distinct(sh_toi) only(sh_toi) latest(sh_toi) top(sh_toi) mean(sh_toi) median(sh_toi) mode(sh_toi)
  • ranks: sh_toi_percentile
  • accumulates: as_of(sh_toi)
  • can be a benchmark
NHL · nhlscraper
ot_toi OT TOI number
measure

Minutes in overtime.

OT TOI starts in 1997

What it takes
  • folds: sum(ot_toi) avg(ot_toi) min(ot_toi) max(ot_toi) count(ot_toi) distinct(ot_toi) only(ot_toi) latest(ot_toi) top(ot_toi) mean(ot_toi) median(ot_toi) mode(ot_toi)
  • ranks: ot_toi_percentile
  • accumulates: as_of(ot_toi)
  • can be a benchmark
NHL · nhlscraper
shifts Shifts integer
measure

Shifts taken.

Shifts starts in 1997

What it takes
  • folds: sum(shifts) avg(shifts) min(shifts) max(shifts) count(shifts) distinct(shifts) only(shifts) latest(shifts) top(shifts) mean(shifts) median(shifts) mode(shifts)
  • ranks: shifts_percentile
  • accumulates: as_of(shifts)
  • can be a benchmark
NHL · nhlscraper
toi_per_shift Sec/Shift number
measure

Seconds per shift.

Seconds per shift

Sec/Shift starts in 1997

What it takes
  • folds: sum(toi_per_shift) avg(toi_per_shift) min(toi_per_shift) max(toi_per_shift) count(toi_per_shift) distinct(toi_per_shift) only(toi_per_shift) latest(toi_per_shift) top(toi_per_shift) mean(toi_per_shift) median(toi_per_shift) mode(toi_per_shift)
  • ranks: toi_per_shift_percentile
  • accumulates: as_of(toi_per_shift)
  • can be a benchmark
NHL · nhlscraper
hits Hits integer
measure

Hits delivered. NHL.com

Hits starts in 2005

What it takes
  • folds: sum(hits) avg(hits) min(hits) max(hits) count(hits) distinct(hits) only(hits) latest(hits) top(hits) mean(hits) median(hits) mode(hits)
  • ranks: hits_percentile
  • accumulates: as_of(hits)
  • can be a benchmark
NHL · nhlscraper
blocks BkS integer
measure

Shots blocked. NHL.com

BkS starts in 2005

What it takes
  • folds: sum(blocks) avg(blocks) min(blocks) max(blocks) count(blocks) distinct(blocks) only(blocks) latest(blocks) top(blocks) mean(blocks) median(blocks) mode(blocks)
  • ranks: blocks_percentile
  • accumulates: as_of(blocks)
  • can be a benchmark
NHL · nhlscraper
giveaways lower is better GvA integer
measure

Times he gave the puck away. NHL.com

GvA starts in 2005

What it takes
  • folds: sum(giveaways) avg(giveaways) min(giveaways) max(giveaways) count(giveaways) distinct(giveaways) only(giveaways) latest(giveaways) top(giveaways) mean(giveaways) median(giveaways) mode(giveaways)
  • ranks: giveaways_percentile
  • accumulates: as_of(giveaways)
  • can be a benchmark
NHL · nhlscraper
takeaways TkA integer
measure

Times he took the puck away. NHL.com

TkA starts in 2005

What it takes
  • folds: sum(takeaways) avg(takeaways) min(takeaways) max(takeaways) count(takeaways) distinct(takeaways) only(takeaways) latest(takeaways) top(takeaways) mean(takeaways) median(takeaways) mode(takeaways)
  • ranks: takeaways_percentile
  • accumulates: as_of(takeaways)
  • can be a benchmark
NHL · nhlscraper
missed_shots Miss integer
measure

Shots that missed the net.

Miss starts in 2005

What it takes
  • folds: sum(missed_shots) avg(missed_shots) min(missed_shots) max(missed_shots) count(missed_shots) distinct(missed_shots) only(missed_shots) latest(missed_shots) top(missed_shots) mean(missed_shots) median(missed_shots) mode(missed_shots)
  • ranks: missed_shots_percentile
  • accumulates: as_of(missed_shots)
  • can be a benchmark
NHL · nhlscraper
attempts_blocked Blkd integer
measure

His own attempts that an opponent blocked.

His own attempts that were blocked

Blkd starts in 2005

What it takes
  • folds: sum(attempts_blocked) avg(attempts_blocked) min(attempts_blocked) max(attempts_blocked) count(attempts_blocked) distinct(attempts_blocked) only(attempts_blocked) latest(attempts_blocked) top(attempts_blocked) mean(attempts_blocked) median(attempts_blocked) mode(attempts_blocked)
  • ranks: attempts_blocked_percentile
  • accumulates: as_of(attempts_blocked)
  • can be a benchmark
NHL · nhlscraper
attempts Att integer
measure

Every shot attempt: on goal, missed or blocked.

Every attempt: on goal, missed or blocked

Att starts in 2005

What it takes
  • folds: sum(attempts) avg(attempts) min(attempts) max(attempts) count(attempts) distinct(attempts) only(attempts) latest(attempts) top(attempts) mean(attempts) median(attempts) mode(attempts)
  • ranks: attempts_percentile
  • accumulates: as_of(attempts)
  • can be a benchmark
NHL · nhlscraper
faceoffs FO integer
measure

Faceoffs taken. NHL.com

FO starts in 1997

What it takes
  • folds: sum(faceoffs) avg(faceoffs) min(faceoffs) max(faceoffs) count(faceoffs) distinct(faceoffs) only(faceoffs) latest(faceoffs) top(faceoffs) mean(faceoffs) median(faceoffs) mode(faceoffs)
  • ranks: faceoffs_percentile
  • accumulates: as_of(faceoffs)
  • can be a benchmark
NHL · nhlscraper
fo_wins FOW integer
measure

Faceoffs won. NHL.com

FOW starts in 1997

What it takes
  • folds: sum(fo_wins) avg(fo_wins) min(fo_wins) max(fo_wins) count(fo_wins) distinct(fo_wins) only(fo_wins) latest(fo_wins) top(fo_wins) mean(fo_wins) median(fo_wins) mode(fo_wins)
  • ranks: fo_wins_percentile
  • accumulates: as_of(fo_wins)
  • can be a benchmark
NHL · nhlscraper
fo_losses lower is better FOL integer
measure

Faceoffs lost. NHL.com

FOL starts in 1997

What it takes
  • folds: sum(fo_losses) avg(fo_losses) min(fo_losses) max(fo_losses) count(fo_losses) distinct(fo_losses) only(fo_losses) latest(fo_losses) top(fo_losses) mean(fo_losses) median(fo_losses) mode(fo_losses)
  • ranks: fo_losses_percentile
  • accumulates: as_of(fo_losses)
  • can be a benchmark
NHL · nhlscraper
fo_pct FO% number
measure

Faceoffs won as a share of faceoffs taken. NHL.com

FO% starts in 1997

What it takes
  • folds: sum(fo_pct) avg(fo_pct) min(fo_pct) max(fo_pct) count(fo_pct) distinct(fo_pct) only(fo_pct) latest(fo_pct) top(fo_pct) mean(fo_pct) median(fo_pct) mode(fo_pct)
  • ranks: fo_pct_percentile
  • accumulates: as_of(fo_pct)
  • can be a benchmark
NHL · nhlscraper
oz_faceoffs OZ FO integer
measure

Faceoffs taken in the offensive zone.

OZ FO starts in 1997

What it takes
  • folds: sum(oz_faceoffs) avg(oz_faceoffs) min(oz_faceoffs) max(oz_faceoffs) count(oz_faceoffs) distinct(oz_faceoffs) only(oz_faceoffs) latest(oz_faceoffs) top(oz_faceoffs) mean(oz_faceoffs) median(oz_faceoffs) mode(oz_faceoffs)
  • ranks: oz_faceoffs_percentile
  • accumulates: as_of(oz_faceoffs)
  • can be a benchmark
NHL · nhlscraper
oz_fo_wins OZ FOW integer
measure

Offensive-zone faceoffs won.

OZ FOW starts in 1997

What it takes
  • folds: sum(oz_fo_wins) avg(oz_fo_wins) min(oz_fo_wins) max(oz_fo_wins) count(oz_fo_wins) distinct(oz_fo_wins) only(oz_fo_wins) latest(oz_fo_wins) top(oz_fo_wins) mean(oz_fo_wins) median(oz_fo_wins) mode(oz_fo_wins)
  • ranks: oz_fo_wins_percentile
  • accumulates: as_of(oz_fo_wins)
  • can be a benchmark
NHL · nhlscraper
dz_faceoffs DZ FO integer
measure

Faceoffs taken in the defensive zone.

DZ FO starts in 1997

What it takes
  • folds: sum(dz_faceoffs) avg(dz_faceoffs) min(dz_faceoffs) max(dz_faceoffs) count(dz_faceoffs) distinct(dz_faceoffs) only(dz_faceoffs) latest(dz_faceoffs) top(dz_faceoffs) mean(dz_faceoffs) median(dz_faceoffs) mode(dz_faceoffs)
  • ranks: dz_faceoffs_percentile
  • accumulates: as_of(dz_faceoffs)
  • can be a benchmark
NHL · nhlscraper
dz_fo_wins DZ FOW integer
measure

Defensive-zone faceoffs won.

DZ FOW starts in 1997

What it takes
  • folds: sum(dz_fo_wins) avg(dz_fo_wins) min(dz_fo_wins) max(dz_fo_wins) count(dz_fo_wins) distinct(dz_fo_wins) only(dz_fo_wins) latest(dz_fo_wins) top(dz_fo_wins) mean(dz_fo_wins) median(dz_fo_wins) mode(dz_fo_wins)
  • ranks: dz_fo_wins_percentile
  • accumulates: as_of(dz_fo_wins)
  • can be a benchmark
NHL · nhlscraper
nz_faceoffs NZ FO integer
measure

Faceoffs taken at centre or the neutral-zone dots.

NZ FO starts in 1997

What it takes
  • folds: sum(nz_faceoffs) avg(nz_faceoffs) min(nz_faceoffs) max(nz_faceoffs) count(nz_faceoffs) distinct(nz_faceoffs) only(nz_faceoffs) latest(nz_faceoffs) top(nz_faceoffs) mean(nz_faceoffs) median(nz_faceoffs) mode(nz_faceoffs)
  • ranks: nz_faceoffs_percentile
  • accumulates: as_of(nz_faceoffs)
  • can be a benchmark
NHL · nhlscraper
nz_fo_wins NZ FOW integer
measure

Neutral-zone faceoffs won.

NZ FOW starts in 1997

What it takes
  • folds: sum(nz_fo_wins) avg(nz_fo_wins) min(nz_fo_wins) max(nz_fo_wins) count(nz_fo_wins) distinct(nz_fo_wins) only(nz_fo_wins) latest(nz_fo_wins) top(nz_fo_wins) mean(nz_fo_wins) median(nz_fo_wins) mode(nz_fo_wins)
  • ranks: nz_fo_wins_percentile
  • accumulates: as_of(nz_fo_wins)
  • can be a benchmark
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Operators on this table 43 available

from

The one table a query reads

from nhl.skater_games
select game_date, player, team, opponent, goals, assists, points, shots, toi
order by points desc
limit 200

select

The columns the answer carries

from nhl.skater_games
select game_date, player, team, opponent, goals, assists, points, shots, toi
order by points desc
limit 200

as

Renames a column's heading and nothing else

from nhl.skater_games
select game_date, player, goals as G
order by goals desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.skater_games
where season = $year
select game_date, player, team
order by goals desc
limit 10

limit

How many rows come back

from nhl.skater_games
select game_date, player, team, opponent, goals, assists, points, shots, toi
order by points desc
limit 200

order by

Which end of the answer comes first

from nhl.skater_games
select game_date, player, team, goals
order by goals desc
limit 10

#

A comment, to the end of the line

# Skater games — One row per skater per game since 1917-18 — the box score, with time on ice, hits, blocks and faceoffs where the league counted them.
from nhl.skater_games
select game_date, player, team, opponent, goals, assists, points, shots, toi
order by points desc
limit 200

where

Chooses the rows the question is about

from nhl.skater_games
where season = 2026
select player, goals
order by goals desc
limit 10

and

Continues whichever filter clause came last

from nhl.skater_games
where season = 2026 and goals > 0
select player, goals
order by goals desc
limit 10

having

Filters the groups a fold made

from nhl.skater_games
select player, sum(goals)
group by player
having sum(goals) > 0
order by sum(goals) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.skater_games
where season = 2026
select player, goals, goals_percentile
keep goals_percentile >= 90
order by goals_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.skater_games
select player, season, goals
highlight season = 2026
order by goals desc
limit 10

of

A threshold that is another row rather than a number

from nhl.skater_games
where goals >= max(goals) of position C
select player, goals
order by goals desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.skater_games
select player, count(*), sum(goals)
group by player
order by sum(goals) desc
limit 10

then

Folds the answer a second time

from nhl.skater_games
select player, team, count(*)
group by player, team
having count(*) > 10
then
select player, count(*) as Teams
group by player
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.skater_games
select player, team, sum(goals)
group by player, team
pivot by team
limit 25

first / last

Only part of each career, before anything else runs

from nhl.skater_games
first 3 seasons
select player, sum(goals)
group by player
order by sum(goals) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.skater_games
select player, sum(goals)
group by player
order by sum(goals) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.skater_games
select player, avg(goals)
group by player
order by avg(goals) desc
limit 10

min(…)

The smallest value in each group

from nhl.skater_games
select player, min(goals)
group by player
order by min(goals) desc
limit 10

max(…)

The largest value in each group

from nhl.skater_games
select player, max(goals)
group by player
order by max(goals) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.skater_games
select player, count(goals)
group by player
order by count(goals) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.skater_games
select player, distinct(game_date)
group by player
order by distinct(game_date) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.skater_games
where season = 2026
select player, only(game_date)
group by player
order by only(game_date) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.skater_games
select player, latest(player)
group by player
order by count(*) desc
limit 10

top(…)

The value on the group's biggest row

from nhl.skater_games
select player, top(player)
group by player
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.skater_games
select player, mean(goals)
group by player
order by mean(goals) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.skater_games
select player, median(goals)
group by player
order by median(goals) desc
limit 10

mode(…)

The commonest value in the group

from nhl.skater_games
select player, mode(player)
group by player
order by count(*) desc
limit 10

year(…)

Reads a date as the year it falls in

from nhl.skater_games
select player, year(game_date), sum(goals)
group by player, year(game_date)
order by year(game_date) asc
limit 20

quarter(…)

Reads a date as the quarter it falls in

from nhl.skater_games
select player, quarter(game_date), sum(goals)
group by player, quarter(game_date)
order by quarter(game_date) asc
limit 20

month(…)

Reads a date as the month it falls in

from nhl.skater_games
select player, month(game_date), sum(goals)
group by player, month(game_date)
order by month(game_date) asc
limit 20

week(…)

Reads a date as the week it falls in

from nhl.skater_games
select player, week(game_date), sum(goals)
group by player, week(game_date)
order by week(game_date) asc
limit 20

as_of(…)

The stat as it stood, season to date

from nhl.skater_games
where season = 2026
select player, month(game_date), as_of(goals)
group by player, month(game_date)
order by month(game_date) asc
limit 25

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.skater_games
where season = 2026
select player, goals, goals_percentile
order by goals_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.skater_games
select player, sum(goals), percentile(sum(goals))
group by player
order by sum(goals) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.skater_games
where season = 2026
select player, goals, standing(goals)
order by goals desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.skater_games
where season = 2026
select player, goals, assists, composite(goals, assists)
order by composite(goals, assists) desc
limit 10

ratio(…)

One column divided by another

from nhl.skater_games
select player, count(*), ratio(sum(goals), count(*))
group by player
order by ratio(sum(goals), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.skater_games
where season = 2026
select player, goals, assists, calc(standing(goals) - standing(assists))
order by calc(standing(goals) - standing(assists)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.skater_games
select player, goals, format(goals, > 0 -> "on the board", <= 0 -> "nothing yet")
order by goals desc
limit 10

pair

Draws two columns of the answer in one

from nhl.skater_games
where season = 2026
select player, goals, goals_percentile
pair goals with goals_percentile
order by goals desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.skater_games
where season = 2026
select player, goals, assists, points, composite(goals, assists, points) as Score
hint composite(goals, assists, points) as "G + A + P"
order by composite(goals, assists, points) desc
limit 10

nhl.goalies Goalie seasons

One row per goalie per season since 1917-18 — the record, saves by strength, quality starts, rest and shootouts.

from nhl.goalies
select player, team, games, wins, losses, ot_losses, gaa, sv_pct, shutouts
order by wins desc
limit 100
One row is
one player's season (player-season)
Built from
one table, read straight
Reads
nhl_goalie_seasons NHL, nhlscraper
Shows by default
player team games wins losses ot_losses gaa sv_pct shutouts
Ordered by
wins desc
Rows
100 by default, 3000 at most
Ranks within
season
Careers counted in
seasons
Biggest row
wins

Applied unless you say otherwise

  • Limited to the regular season — add where season_type = POST for the playoffs.

Before you trust the numbers

  • Saves by strength, quality starts and rest splits are counted from 1997-98; earlier seasons carry the record and the save percentage where the league has it.
  • A power-play shot against is one faced while his club was short-handed — the league labels the split from the shooter's side.
  • A season split across clubs has no team — teams lists them; nhl.goalie_games has the split itself.
  • Save percentage is rebuilt from saves and shots when seasons are folded, not averaged, so a two-game season counts as two games.
Dimensions 5
NameBound to
league always nhl
team the team column
player the player column
position Every row here is a goalie
season the season column
Columns 68
NameHeadingTypeWhat it is
season completes season Season season
dimension

The season, by the year it started — 2024 is 2024-25.

What it takes
  • folds: min(season) max(season) count(season) distinct(season) only(season) latest(season) top(season) mode(season)
  • can be a benchmark
NHL · nhlscraper
season_type completes season_type Type string
dimension

REG for the regular season, POST for the playoffs.

REG or POST

What it takes
  • folds: count(season_type) distinct(season_type) only(season_type) latest(season_type) top(season_type) mode(season_type)
NHL · nhlscraper
player completes player Player string
dimension

The player, by the name the league's registry lists him under.

What it takes
  • folds: count(player) distinct(player) only(player) latest(player) top(player) mode(player)
NHL · nhlscraper
team completes team Team string
dimension

The club, by the code it wore that season.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) top(team) mode(team)
NHL · nhlscraper
franchise completes franchise Franchise string
dimension

The club's franchise, by the code it wears today — the thread through relocations.

The franchise's current code — every Coyotes and Mammoth season is under UTA

What it takes
  • folds: count(franchise) distinct(franchise) only(franchise) latest(franchise) top(franchise) mode(franchise)
NHL · nhlscraper
teams Clubs string
dimension

Every club he played for that season, in order, when there was more than one.

Every club he played for that season, in order

What it takes
  • folds: count(teams) distinct(teams) only(teams) latest(teams) top(teams) mode(teams)
NHL · nhlscraper
clubs #Clubs integer
measure

How many clubs he played for that season.

What it takes
  • folds: sum(clubs) avg(clubs) min(clubs) max(clubs) count(clubs) distinct(clubs) only(clubs) latest(clubs) top(clubs) mean(clubs) median(clubs) mode(clubs)
  • ranks: clubs_percentile
  • accumulates: as_of(clubs)
  • can be a benchmark
NHL · nhlscraper
catches Catches string
dimension

Which hand he catches with — L or R.

What it takes
  • folds: count(catches) distinct(catches) only(catches) latest(catches) top(catches) mode(catches)
NHL · nhlscraper
age Age integer
measure

His age on February 1st of the season.

Age on February 1st of the season

What it takes
  • folds: sum(age) avg(age) min(age) max(age) count(age) distinct(age) only(age) latest(age) top(age) mean(age) median(age) mode(age)
  • ranks: age_percentile
  • accumulates: as_of(age)
  • can be a benchmark
NHL · nhlscraper
nationality completes nationality Nat string
dimension

His nationality, as a three-letter country code.

Three-letter country code

What it takes
  • folds: count(nationality) distinct(nationality) only(nationality) latest(nationality) top(nationality) mode(nationality)
NHL · nhlscraper
games GP integer
measure

Games played. NHL.com

What it takes
  • folds: sum(games) avg(games) min(games) max(games) count(games) distinct(games) only(games) latest(games) top(games) mean(games) median(games) mode(games)
  • ranks: games_percentile
  • accumulates: as_of(games)
  • can be a benchmark
NHL · nhlscraper
starts GS integer
measure

Games he started in net. NHL.com

What it takes
  • folds: sum(starts) avg(starts) min(starts) max(starts) count(starts) distinct(starts) only(starts) latest(starts) top(starts) mean(starts) median(starts) mode(starts)
  • ranks: starts_percentile
  • accumulates: as_of(starts)
  • can be a benchmark
NHL · nhlscraper
wins W integer
measure

Wins. NHL.com

What it takes
  • folds: sum(wins) avg(wins) min(wins) max(wins) count(wins) distinct(wins) only(wins) latest(wins) top(wins) mean(wins) median(wins) mode(wins)
  • ranks: wins_percentile
  • accumulates: as_of(wins)
  • can be a benchmark
NHL · nhlscraper
losses lower is better L integer
measure

Losses in regulation. NHL.com

What it takes
  • folds: sum(losses) avg(losses) min(losses) max(losses) count(losses) distinct(losses) only(losses) latest(losses) top(losses) mean(losses) median(losses) mode(losses)
  • ranks: losses_percentile
  • accumulates: as_of(losses)
  • can be a benchmark
NHL · nhlscraper
ot_losses lower is better OTL integer
measure

Losses in overtime or a shootout, worth a point since 1999-00. NHL.com

What it takes
  • folds: sum(ot_losses) avg(ot_losses) min(ot_losses) max(ot_losses) count(ot_losses) distinct(ot_losses) only(ot_losses) latest(ot_losses) top(ot_losses) mean(ot_losses) median(ot_losses) mode(ot_losses)
  • ranks: ot_losses_percentile
  • accumulates: as_of(ot_losses)
  • can be a benchmark
NHL · nhlscraper
ties T integer
measure

Ties, which existed until 2004-05. NHL.com

What it takes
  • folds: sum(ties) avg(ties) min(ties) max(ties) count(ties) distinct(ties) only(ties) latest(ties) top(ties) mean(ties) median(ties) mode(ties)
  • ranks: ties_percentile
  • accumulates: as_of(ties)
  • can be a benchmark
NHL · nhlscraper
shutouts SO integer
measure

Games with no goals allowed. NHL.com

What it takes
  • folds: sum(shutouts) avg(shutouts) min(shutouts) max(shutouts) count(shutouts) distinct(shutouts) only(shutouts) latest(shutouts) top(shutouts) mean(shutouts) median(shutouts) mode(shutouts)
  • ranks: shutouts_percentile
  • accumulates: as_of(shutouts)
  • can be a benchmark
NHL · nhlscraper
gaa lower is better GAA number
measure

Goals allowed per sixty minutes. NHL.com

What it takes
  • folds: sum(gaa) avg(gaa) min(gaa) max(gaa) count(gaa) distinct(gaa) only(gaa) latest(gaa) top(gaa) mean(gaa) median(gaa) mode(gaa)
  • ranks: gaa_percentile
  • accumulates: as_of(gaa)
  • can be a benchmark
NHL · nhlscraper
shots_against SA integer
measure

Shots on goal faced. NHL.com

What it takes
  • folds: sum(shots_against) avg(shots_against) min(shots_against) max(shots_against) count(shots_against) distinct(shots_against) only(shots_against) latest(shots_against) top(shots_against) mean(shots_against) median(shots_against) mode(shots_against)
  • ranks: shots_against_percentile
  • accumulates: as_of(shots_against)
  • can be a benchmark
NHL · nhlscraper
saves SV integer
measure

Saves. NHL.com

What it takes
  • folds: sum(saves) avg(saves) min(saves) max(saves) count(saves) distinct(saves) only(saves) latest(saves) top(saves) mean(saves) median(saves) mode(saves)
  • ranks: saves_percentile
  • accumulates: as_of(saves)
  • can be a benchmark
NHL · nhlscraper
goals_against lower is better GA integer
measure

Goals allowed. NHL.com

What it takes
  • folds: sum(goals_against) avg(goals_against) min(goals_against) max(goals_against) count(goals_against) distinct(goals_against) only(goals_against) latest(goals_against) top(goals_against) mean(goals_against) median(goals_against) mode(goals_against)
  • ranks: goals_against_percentile
  • accumulates: as_of(goals_against)
  • can be a benchmark
NHL · nhlscraper
sv_pct SV% number
measure

Saves as a share of shots faced. NHL.com

What it takes
  • folds: sum(sv_pct) avg(sv_pct) min(sv_pct) max(sv_pct) count(sv_pct) distinct(sv_pct) only(sv_pct) latest(sv_pct) top(sv_pct) mean(sv_pct) median(sv_pct) mode(sv_pct)
  • ranks: sv_pct_percentile
  • accumulates: as_of(sv_pct)
  • can be a benchmark
NHL · nhlscraper
toi TOI number
measure

Minutes on ice. NHL.com

Minutes played

What it takes
  • folds: sum(toi) avg(toi) min(toi) max(toi) count(toi) distinct(toi) only(toi) latest(toi) top(toi) mean(toi) median(toi) mode(toi)
  • ranks: toi_percentile
  • accumulates: as_of(toi)
  • can be a benchmark
NHL · nhlscraper
ev_shots_against EV SA integer
measure

Shots faced at even strength.

EV SA starts in 1997

What it takes
  • folds: sum(ev_shots_against) avg(ev_shots_against) min(ev_shots_against) max(ev_shots_against) count(ev_shots_against) distinct(ev_shots_against) only(ev_shots_against) latest(ev_shots_against) top(ev_shots_against) mean(ev_shots_against) median(ev_shots_against) mode(ev_shots_against)
  • ranks: ev_shots_against_percentile
  • accumulates: as_of(ev_shots_against)
  • can be a benchmark
NHL · nhlscraper
ev_saves EV SV integer
measure

Saves at even strength.

EV SV starts in 1997

What it takes
  • folds: sum(ev_saves) avg(ev_saves) min(ev_saves) max(ev_saves) count(ev_saves) distinct(ev_saves) only(ev_saves) latest(ev_saves) top(ev_saves) mean(ev_saves) median(ev_saves) mode(ev_saves)
  • ranks: ev_saves_percentile
  • accumulates: as_of(ev_saves)
  • can be a benchmark
NHL · nhlscraper
ev_goals_against lower is better EV GA integer
measure

Goals allowed at even strength.

EV GA starts in 1997

What it takes
  • folds: sum(ev_goals_against) avg(ev_goals_against) min(ev_goals_against) max(ev_goals_against) count(ev_goals_against) distinct(ev_goals_against) only(ev_goals_against) latest(ev_goals_against) top(ev_goals_against) mean(ev_goals_against) median(ev_goals_against) mode(ev_goals_against)
  • ranks: ev_goals_against_percentile
  • accumulates: as_of(ev_goals_against)
  • can be a benchmark
NHL · nhlscraper
ev_sv_pct EV SV% number
measure

Save percentage at even strength.

EV SV% starts in 1997

What it takes
  • folds: sum(ev_sv_pct) avg(ev_sv_pct) min(ev_sv_pct) max(ev_sv_pct) count(ev_sv_pct) distinct(ev_sv_pct) only(ev_sv_pct) latest(ev_sv_pct) top(ev_sv_pct) mean(ev_sv_pct) median(ev_sv_pct) mode(ev_sv_pct)
  • ranks: ev_sv_pct_percentile
  • accumulates: as_of(ev_sv_pct)
  • can be a benchmark
NHL · nhlscraper
pp_shots_against PP SA integer
measure

Shots faced while his club was short-handed.

PP SA starts in 1997

What it takes
  • folds: sum(pp_shots_against) avg(pp_shots_against) min(pp_shots_against) max(pp_shots_against) count(pp_shots_against) distinct(pp_shots_against) only(pp_shots_against) latest(pp_shots_against) top(pp_shots_against) mean(pp_shots_against) median(pp_shots_against) mode(pp_shots_against)
  • ranks: pp_shots_against_percentile
  • accumulates: as_of(pp_shots_against)
  • can be a benchmark
NHL · nhlscraper
pp_saves PP SV integer
measure

Saves while his club was short-handed.

PP SV starts in 1997

What it takes
  • folds: sum(pp_saves) avg(pp_saves) min(pp_saves) max(pp_saves) count(pp_saves) distinct(pp_saves) only(pp_saves) latest(pp_saves) top(pp_saves) mean(pp_saves) median(pp_saves) mode(pp_saves)
  • ranks: pp_saves_percentile
  • accumulates: as_of(pp_saves)
  • can be a benchmark
NHL · nhlscraper
pp_goals_against lower is better PP GA integer
measure

Goals allowed while his club was short-handed.

PP GA starts in 1997

What it takes
  • folds: sum(pp_goals_against) avg(pp_goals_against) min(pp_goals_against) max(pp_goals_against) count(pp_goals_against) distinct(pp_goals_against) only(pp_goals_against) latest(pp_goals_against) top(pp_goals_against) mean(pp_goals_against) median(pp_goals_against) mode(pp_goals_against)
  • ranks: pp_goals_against_percentile
  • accumulates: as_of(pp_goals_against)
  • can be a benchmark
NHL · nhlscraper
pp_sv_pct PP SV% number
measure

Save percentage while his club was short-handed.

PP SV% starts in 1997

What it takes
  • folds: sum(pp_sv_pct) avg(pp_sv_pct) min(pp_sv_pct) max(pp_sv_pct) count(pp_sv_pct) distinct(pp_sv_pct) only(pp_sv_pct) latest(pp_sv_pct) top(pp_sv_pct) mean(pp_sv_pct) median(pp_sv_pct) mode(pp_sv_pct)
  • ranks: pp_sv_pct_percentile
  • accumulates: as_of(pp_sv_pct)
  • can be a benchmark
NHL · nhlscraper
sh_shots_against SH SA integer
measure

Shots faced while his club was on the power play.

SH SA starts in 1997

What it takes
  • folds: sum(sh_shots_against) avg(sh_shots_against) min(sh_shots_against) max(sh_shots_against) count(sh_shots_against) distinct(sh_shots_against) only(sh_shots_against) latest(sh_shots_against) top(sh_shots_against) mean(sh_shots_against) median(sh_shots_against) mode(sh_shots_against)
  • ranks: sh_shots_against_percentile
  • accumulates: as_of(sh_shots_against)
  • can be a benchmark
NHL · nhlscraper
sh_saves SH SV integer
measure

Saves while his club was on the power play.

SH SV starts in 1997

What it takes
  • folds: sum(sh_saves) avg(sh_saves) min(sh_saves) max(sh_saves) count(sh_saves) distinct(sh_saves) only(sh_saves) latest(sh_saves) top(sh_saves) mean(sh_saves) median(sh_saves) mode(sh_saves)
  • ranks: sh_saves_percentile
  • accumulates: as_of(sh_saves)
  • can be a benchmark
NHL · nhlscraper
sh_goals_against lower is better SH GA integer
measure

Goals allowed while his club was on the power play.

SH GA starts in 1997

What it takes
  • folds: sum(sh_goals_against) avg(sh_goals_against) min(sh_goals_against) max(sh_goals_against) count(sh_goals_against) distinct(sh_goals_against) only(sh_goals_against) latest(sh_goals_against) top(sh_goals_against) mean(sh_goals_against) median(sh_goals_against) mode(sh_goals_against)
  • ranks: sh_goals_against_percentile
  • accumulates: as_of(sh_goals_against)
  • can be a benchmark
NHL · nhlscraper
sh_sv_pct SH SV% number
measure

Save percentage while his club was on the power play.

SH SV% starts in 1997

What it takes
  • folds: sum(sh_sv_pct) avg(sh_sv_pct) min(sh_sv_pct) max(sh_sv_pct) count(sh_sv_pct) distinct(sh_sv_pct) only(sh_sv_pct) latest(sh_sv_pct) top(sh_sv_pct) mean(sh_sv_pct) median(sh_sv_pct) mode(sh_sv_pct)
  • ranks: sh_sv_pct_percentile
  • accumulates: as_of(sh_sv_pct)
  • can be a benchmark
NHL · nhlscraper
goals G integer
measure

Goals he scored himself.

What it takes
  • folds: sum(goals) avg(goals) min(goals) max(goals) count(goals) distinct(goals) only(goals) latest(goals) top(goals) mean(goals) median(goals) mode(goals)
  • ranks: goals_percentile
  • accumulates: as_of(goals)
  • can be a benchmark
NHL · nhlscraper
assists A integer
measure

Assists. NHL.com

What it takes
  • folds: sum(assists) avg(assists) min(assists) max(assists) count(assists) distinct(assists) only(assists) latest(assists) top(assists) mean(assists) median(assists) mode(assists)
  • ranks: assists_percentile
  • accumulates: as_of(assists)
  • can be a benchmark
NHL · nhlscraper
points P integer
measure

Goals plus assists he recorded himself.

What it takes
  • folds: sum(points) avg(points) min(points) max(points) count(points) distinct(points) only(points) latest(points) top(points) mean(points) median(points) mode(points)
  • ranks: points_percentile
  • accumulates: as_of(points)
  • can be a benchmark
NHL · nhlscraper
pim lower is better PIM integer
measure

Penalty minutes. NHL.com

What it takes
  • folds: sum(pim) avg(pim) min(pim) max(pim) count(pim) distinct(pim) only(pim) latest(pim) top(pim) mean(pim) median(pim) mode(pim)
  • ranks: pim_percentile
  • accumulates: as_of(pim)
  • can be a benchmark
NHL · nhlscraper
quality_starts QS integer
measure

Starts with a save percentage at or above the league average, or at least .885 with two or fewer goals allowed.

QS starts in 1997

What it takes
  • folds: sum(quality_starts) avg(quality_starts) min(quality_starts) max(quality_starts) count(quality_starts) distinct(quality_starts) only(quality_starts) latest(quality_starts) top(quality_starts) mean(quality_starts) median(quality_starts) mode(quality_starts)
  • ranks: quality_starts_percentile
  • accumulates: as_of(quality_starts)
  • can be a benchmark
NHL · nhlscraper
qs_pct QS% number
measure

Quality starts as a share of starts.

QS% starts in 1997

What it takes
  • folds: sum(qs_pct) avg(qs_pct) min(qs_pct) max(qs_pct) count(qs_pct) distinct(qs_pct) only(qs_pct) latest(qs_pct) top(qs_pct) mean(qs_pct) median(qs_pct) mode(qs_pct)
  • ranks: qs_pct_percentile
  • accumulates: as_of(qs_pct)
  • can be a benchmark
NHL · nhlscraper
complete_games CG integer
measure

Starts he finished.

CG starts in 1997

What it takes
  • folds: sum(complete_games) avg(complete_games) min(complete_games) max(complete_games) count(complete_games) distinct(complete_games) only(complete_games) latest(complete_games) top(complete_games) mean(complete_games) median(complete_games) mode(complete_games)
  • ranks: complete_games_percentile
  • accumulates: as_of(complete_games)
  • can be a benchmark
NHL · nhlscraper
goals_for GF integer
measure

Goals his club scored while he was in net.

Goals his club scored while he was in net

GF starts in 1997

What it takes
  • folds: sum(goals_for) avg(goals_for) min(goals_for) max(goals_for) count(goals_for) distinct(goals_for) only(goals_for) latest(goals_for) top(goals_for) mean(goals_for) median(goals_for) mode(goals_for)
  • ranks: goals_for_percentile
  • accumulates: as_of(goals_for)
  • can be a benchmark
NHL · nhlscraper
gfa GFA number
measure

Goals his club scored per sixty minutes while he was in net.

GFA starts in 1997

What it takes
  • folds: sum(gfa) avg(gfa) min(gfa) max(gfa) count(gfa) distinct(gfa) only(gfa) latest(gfa) top(gfa) mean(gfa) median(gfa) mode(gfa)
  • ranks: gfa_percentile
  • accumulates: as_of(gfa)
  • can be a benchmark
NHL · nhlscraper
sa_per_60 SA/60 number
measure

Shots faced per sixty minutes.

SA/60 starts in 1997

What it takes
  • folds: sum(sa_per_60) avg(sa_per_60) min(sa_per_60) max(sa_per_60) count(sa_per_60) distinct(sa_per_60) only(sa_per_60) latest(sa_per_60) top(sa_per_60) mean(sa_per_60) median(sa_per_60) mode(sa_per_60)
  • ranks: sa_per_60_percentile
  • accumulates: as_of(sa_per_60)
  • can be a benchmark
NHL · nhlscraper
relief_appearances Rel integer
measure

Games he came into in relief.

What it takes
  • folds: sum(relief_appearances) avg(relief_appearances) min(relief_appearances) max(relief_appearances) count(relief_appearances) distinct(relief_appearances) only(relief_appearances) latest(relief_appearances) top(relief_appearances) mean(relief_appearances) median(relief_appearances) mode(relief_appearances)
  • ranks: relief_appearances_percentile
  • accumulates: as_of(relief_appearances)
  • can be a benchmark
NHL · nhlscraper
relief_sv_pct Rel SV% number
measure

Save percentage in relief.

What it takes
  • folds: sum(relief_sv_pct) avg(relief_sv_pct) min(relief_sv_pct) max(relief_sv_pct) count(relief_sv_pct) distinct(relief_sv_pct) only(relief_sv_pct) latest(relief_sv_pct) top(relief_sv_pct) mean(relief_sv_pct) median(relief_sv_pct) mode(relief_sv_pct)
  • ranks: relief_sv_pct_percentile
  • can be a benchmark
NHL · nhlscraper
starter_sv_pct Start SV% number
measure

Save percentage in games he started.

What it takes
  • folds: sum(starter_sv_pct) avg(starter_sv_pct) min(starter_sv_pct) max(starter_sv_pct) count(starter_sv_pct) distinct(starter_sv_pct) only(starter_sv_pct) latest(starter_sv_pct) top(starter_sv_pct) mean(starter_sv_pct) median(starter_sv_pct) mode(starter_sv_pct)
  • ranks: starter_sv_pct_percentile
  • can be a benchmark
NHL · nhlscraper
gp_rest_0 GP 0d integer
measure

Games on no days' rest — the second night of a back-to-back.

Games on no days' rest — the second of a back-to-back

What it takes
  • folds: sum(gp_rest_0) avg(gp_rest_0) min(gp_rest_0) max(gp_rest_0) count(gp_rest_0) distinct(gp_rest_0) only(gp_rest_0) latest(gp_rest_0) top(gp_rest_0) mean(gp_rest_0) median(gp_rest_0) mode(gp_rest_0)
  • ranks: gp_rest_0_percentile
  • accumulates: as_of(gp_rest_0)
  • can be a benchmark
NHL · nhlscraper
gp_rest_1 GP 1d integer
measure

Games on one day's rest.

What it takes
  • folds: sum(gp_rest_1) avg(gp_rest_1) min(gp_rest_1) max(gp_rest_1) count(gp_rest_1) distinct(gp_rest_1) only(gp_rest_1) latest(gp_rest_1) top(gp_rest_1) mean(gp_rest_1) median(gp_rest_1) mode(gp_rest_1)
  • ranks: gp_rest_1_percentile
  • accumulates: as_of(gp_rest_1)
  • can be a benchmark
NHL · nhlscraper
gp_rest_2 GP 2d integer
measure

Games on two days' rest.

What it takes
  • folds: sum(gp_rest_2) avg(gp_rest_2) min(gp_rest_2) max(gp_rest_2) count(gp_rest_2) distinct(gp_rest_2) only(gp_rest_2) latest(gp_rest_2) top(gp_rest_2) mean(gp_rest_2) median(gp_rest_2) mode(gp_rest_2)
  • ranks: gp_rest_2_percentile
  • accumulates: as_of(gp_rest_2)
  • can be a benchmark
NHL · nhlscraper
gp_rest_3 GP 3d integer
measure

Games on three days' rest.

What it takes
  • folds: sum(gp_rest_3) avg(gp_rest_3) min(gp_rest_3) max(gp_rest_3) count(gp_rest_3) distinct(gp_rest_3) only(gp_rest_3) latest(gp_rest_3) top(gp_rest_3) mean(gp_rest_3) median(gp_rest_3) mode(gp_rest_3)
  • ranks: gp_rest_3_percentile
  • accumulates: as_of(gp_rest_3)
  • can be a benchmark
NHL · nhlscraper
gp_rest_4 GP 4d+ integer
measure

Games on four or more days' rest.

What it takes
  • folds: sum(gp_rest_4) avg(gp_rest_4) min(gp_rest_4) max(gp_rest_4) count(gp_rest_4) distinct(gp_rest_4) only(gp_rest_4) latest(gp_rest_4) top(gp_rest_4) mean(gp_rest_4) median(gp_rest_4) mode(gp_rest_4)
  • ranks: gp_rest_4_percentile
  • accumulates: as_of(gp_rest_4)
  • can be a benchmark
NHL · nhlscraper
sv_pct_rest_0 SV% 0d number
measure

Save percentage on no days' rest.

What it takes
  • folds: sum(sv_pct_rest_0) avg(sv_pct_rest_0) min(sv_pct_rest_0) max(sv_pct_rest_0) count(sv_pct_rest_0) distinct(sv_pct_rest_0) only(sv_pct_rest_0) latest(sv_pct_rest_0) top(sv_pct_rest_0) mean(sv_pct_rest_0) median(sv_pct_rest_0) mode(sv_pct_rest_0)
  • ranks: sv_pct_rest_0_percentile
  • can be a benchmark
NHL · nhlscraper
sv_pct_rest_1 SV% 1d number
measure

Save percentage on one day's rest.

What it takes
  • folds: sum(sv_pct_rest_1) avg(sv_pct_rest_1) min(sv_pct_rest_1) max(sv_pct_rest_1) count(sv_pct_rest_1) distinct(sv_pct_rest_1) only(sv_pct_rest_1) latest(sv_pct_rest_1) top(sv_pct_rest_1) mean(sv_pct_rest_1) median(sv_pct_rest_1) mode(sv_pct_rest_1)
  • ranks: sv_pct_rest_1_percentile
  • can be a benchmark
NHL · nhlscraper
sv_pct_rest_2 SV% 2d number
measure

Save percentage on two days' rest.

What it takes
  • folds: sum(sv_pct_rest_2) avg(sv_pct_rest_2) min(sv_pct_rest_2) max(sv_pct_rest_2) count(sv_pct_rest_2) distinct(sv_pct_rest_2) only(sv_pct_rest_2) latest(sv_pct_rest_2) top(sv_pct_rest_2) mean(sv_pct_rest_2) median(sv_pct_rest_2) mode(sv_pct_rest_2)
  • ranks: sv_pct_rest_2_percentile
  • can be a benchmark
NHL · nhlscraper
sv_pct_rest_3 SV% 3d number
measure

Save percentage on three days' rest.

What it takes
  • folds: sum(sv_pct_rest_3) avg(sv_pct_rest_3) min(sv_pct_rest_3) max(sv_pct_rest_3) count(sv_pct_rest_3) distinct(sv_pct_rest_3) only(sv_pct_rest_3) latest(sv_pct_rest_3) top(sv_pct_rest_3) mean(sv_pct_rest_3) median(sv_pct_rest_3) mode(sv_pct_rest_3)
  • ranks: sv_pct_rest_3_percentile
  • can be a benchmark
NHL · nhlscraper
sv_pct_rest_4 SV% 4d+ number
measure

Save percentage on four or more days' rest.

What it takes
  • folds: sum(sv_pct_rest_4) avg(sv_pct_rest_4) min(sv_pct_rest_4) max(sv_pct_rest_4) count(sv_pct_rest_4) distinct(sv_pct_rest_4) only(sv_pct_rest_4) latest(sv_pct_rest_4) top(sv_pct_rest_4) mean(sv_pct_rest_4) median(sv_pct_rest_4) mode(sv_pct_rest_4)
  • ranks: sv_pct_rest_4_percentile
  • can be a benchmark
NHL · nhlscraper
so_shots_against SO SA integer
measure

Shootout attempts faced.

SO SA starts in 2005

What it takes
  • folds: sum(so_shots_against) avg(so_shots_against) min(so_shots_against) max(so_shots_against) count(so_shots_against) distinct(so_shots_against) only(so_shots_against) latest(so_shots_against) top(so_shots_against) mean(so_shots_against) median(so_shots_against) mode(so_shots_against)
  • ranks: so_shots_against_percentile
  • accumulates: as_of(so_shots_against)
  • can be a benchmark
NHL · nhlscraper
so_saves SO SV integer
measure

Shootout attempts stopped.

SO SV starts in 2005

What it takes
  • folds: sum(so_saves) avg(so_saves) min(so_saves) max(so_saves) count(so_saves) distinct(so_saves) only(so_saves) latest(so_saves) top(so_saves) mean(so_saves) median(so_saves) mode(so_saves)
  • ranks: so_saves_percentile
  • accumulates: as_of(so_saves)
  • can be a benchmark
NHL · nhlscraper
so_goals_against lower is better SO GA integer
measure

Shootout goals allowed.

SO GA starts in 2005

What it takes
  • folds: sum(so_goals_against) avg(so_goals_against) min(so_goals_against) max(so_goals_against) count(so_goals_against) distinct(so_goals_against) only(so_goals_against) latest(so_goals_against) top(so_goals_against) mean(so_goals_against) median(so_goals_against) mode(so_goals_against)
  • ranks: so_goals_against_percentile
  • accumulates: as_of(so_goals_against)
  • can be a benchmark
NHL · nhlscraper
so_sv_pct SO SV% number
measure

Shootout attempts stopped as a share of those faced.

SO SV% starts in 2005

What it takes
  • folds: sum(so_sv_pct) avg(so_sv_pct) min(so_sv_pct) max(so_sv_pct) count(so_sv_pct) distinct(so_sv_pct) only(so_sv_pct) latest(so_sv_pct) top(so_sv_pct) mean(so_sv_pct) median(so_sv_pct) mode(so_sv_pct)
  • ranks: so_sv_pct_percentile
  • accumulates: as_of(so_sv_pct)
  • can be a benchmark
NHL · nhlscraper
so_wins SO W integer
measure

Wins decided in a shootout. NHL.com

SO W starts in 2005

What it takes
  • folds: sum(so_wins) avg(so_wins) min(so_wins) max(so_wins) count(so_wins) distinct(so_wins) only(so_wins) latest(so_wins) top(so_wins) mean(so_wins) median(so_wins) mode(so_wins)
  • ranks: so_wins_percentile
  • accumulates: as_of(so_wins)
  • can be a benchmark
NHL · nhlscraper
so_losses lower is better SO L integer
measure

Losses decided in a shootout. NHL.com

SO L starts in 2005

What it takes
  • folds: sum(so_losses) avg(so_losses) min(so_losses) max(so_losses) count(so_losses) distinct(so_losses) only(so_losses) latest(so_losses) top(so_losses) mean(so_losses) median(so_losses) mode(so_losses)
  • ranks: so_losses_percentile
  • accumulates: as_of(so_losses)
  • can be a benchmark
NHL · nhlscraper
ps_against PS Ag integer
measure

Penalty shots faced.

What it takes
  • folds: sum(ps_against) avg(ps_against) min(ps_against) max(ps_against) count(ps_against) distinct(ps_against) only(ps_against) latest(ps_against) top(ps_against) mean(ps_against) median(ps_against) mode(ps_against)
  • ranks: ps_against_percentile
  • accumulates: as_of(ps_against)
  • can be a benchmark
NHL · nhlscraper
ps_saves PS SV integer
measure

Penalty shots stopped.

What it takes
  • folds: sum(ps_saves) avg(ps_saves) min(ps_saves) max(ps_saves) count(ps_saves) distinct(ps_saves) only(ps_saves) latest(ps_saves) top(ps_saves) mean(ps_saves) median(ps_saves) mode(ps_saves)
  • ranks: ps_saves_percentile
  • accumulates: as_of(ps_saves)
  • can be a benchmark
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Rates this table names 2

win_pct W%

built from sum(wins) sum(games)

Wins over games played.

from nhl.goalies
select player, win_pct
group by player
order by win_pct desc
limit 10

starts_per_game GS%

built from sum(starts) sum(games)

Starts as a share of appearances.

Share of his appearances that were starts

from nhl.goalies
select player, starts_per_game
group by player
order by starts_per_game desc
limit 10
Operators on this table 38 available, 5 not

from

The one table a query reads

from nhl.goalies
select player, team, games, wins, losses, ot_losses, gaa, sv_pct, shutouts
order by wins desc
limit 100

select

The columns the answer carries

from nhl.goalies
select player, team, games, wins, losses, ot_losses, gaa, sv_pct, shutouts
order by wins desc
limit 100

as

Renames a column's heading and nothing else

from nhl.goalies
select player, team, games as GP
order by games desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.goalies
where season = $year
select player, team, games
order by games desc
limit 10

limit

How many rows come back

from nhl.goalies
select player, team, games, wins, losses, ot_losses, gaa, sv_pct, shutouts
order by wins desc
limit 100

order by

Which end of the answer comes first

from nhl.goalies
select player, team, games
order by games desc
limit 10

#

A comment, to the end of the line

# Goalie seasons — One row per goalie per season since 1917-18 — the record, saves by strength, quality starts, rest and shootouts.
from nhl.goalies
select player, team, games, wins, losses, ot_losses, gaa, sv_pct, shutouts
order by wins desc
limit 100

where

Chooses the rows the question is about

from nhl.goalies
where season = 2026
select player, games
order by games desc
limit 10

and

Continues whichever filter clause came last

from nhl.goalies
where season = 2026 and games > 0
select player, games
order by games desc
limit 10

having

Filters the groups a fold made

from nhl.goalies
select player, sum(games)
group by player
having sum(games) > 0
order by sum(games) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.goalies
where season = 2026
select player, games, games_percentile
keep games_percentile >= 90
order by games_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.goalies
select player, season, games
highlight season = 2026
order by games desc
limit 10

of

A threshold that is another row rather than a number

from nhl.goalies
where games >= max(games) of season 2026
select player, games
order by games desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.goalies
select player, count(*), sum(games)
group by player
order by sum(games) desc
limit 10

then

Folds the answer a second time

from nhl.goalies
select player, team, count(*)
group by player, team
having count(*) > 10
then
select player, count(*) as Teams
group by player
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.goalies
select player, team, sum(games)
group by player, team
pivot by team
limit 25

first / last

Only part of each career, before anything else runs

from nhl.goalies
first 3 seasons
select player, sum(games)
group by player
order by sum(games) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.goalies
select player, sum(games)
group by player
order by sum(games) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.goalies
select player, avg(games)
group by player
order by avg(games) desc
limit 10

min(…)

The smallest value in each group

from nhl.goalies
select player, min(games)
group by player
order by min(games) desc
limit 10

max(…)

The largest value in each group

from nhl.goalies
select player, max(games)
group by player
order by max(games) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.goalies
select player, count(games)
group by player
order by count(games) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.goalies
select player, distinct(team)
group by player
order by distinct(team) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.goalies
where season = 2026
select player, only(team)
group by player
order by only(team) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.goalies
select player, latest(player)
group by player
order by count(*) desc
limit 10

top(…)

The value on the group's biggest row

from nhl.goalies
select player, top(player)
group by player
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.goalies
select player, mean(games)
group by player
order by mean(games) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.goalies
select player, median(games)
group by player
order by median(games) desc
limit 10

mode(…)

The commonest value in the group

from nhl.goalies
select player, mode(player)
group by player
order by count(*) desc
limit 10

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.goalies
where season = 2026
select player, games, games_percentile
order by games_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.goalies
select player, sum(games), percentile(sum(games))
group by player
order by sum(games) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.goalies
where season = 2026
select player, games, standing(games)
order by games desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.goalies
where season = 2026
select player, clubs, age, composite(clubs, age)
order by composite(clubs, age) desc
limit 10

ratio(…)

One column divided by another

from nhl.goalies
select player, count(*), ratio(sum(games), count(*))
group by player
order by ratio(sum(games), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.goalies
where season = 2026
select player, clubs, age, calc(standing(clubs) - standing(age))
order by calc(standing(clubs) - standing(age)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.goalies
select player, games, format(games, > 0 -> "on the board", <= 0 -> "nothing yet")
order by games desc
limit 10

pair

Draws two columns of the answer in one

from nhl.goalies
where season = 2026
select player, games, games_percentile
pair games with games_percentile
order by games desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.goalies
where season = 2026
select player, clubs, age, games, composite(clubs, age, games) as Score
hint composite(clubs, age, games) as "#Clubs + Age + GP"
order by composite(clubs, age, games) desc
limit 10

Not on this table

  • year(…) — this table has no date column to read a period off
  • quarter(…) — this table has no date column to read a period off
  • month(…) — this table has no date column to read a period off
  • week(…) — this table has no date column to read a period off
  • as_of(…) — this table has no time axis to accumulate along

nhl.goalie_games Goalie games

One row per goalie per game since 1917-18 — the decision, the saves, and from 1997-98 the strength splits and whether it was a quality start.

from nhl.goalie_games
select game_date, player, team, opponent, won, shots_against, saves, goals_against, sv_pct
order by saves desc
limit 200
One row is
one player's game (player-game)
Built from
one table, read straight
Reads
nhl_goalie_games NHL, nhlscraper
Shows by default
game_date player team opponent won shots_against saves goals_against sv_pct
Ordered by
saves desc
Rows
200 by default, 20000 at most
Ranks within
season
Careers counted in
seasons game_dates games
Newest row
game_date
Biggest row
saves

Applied unless you say otherwise

  • Limited to the regular season — add where season_type = POST for the playoffs.

Before you trust the numbers

  • Saves by strength, quality starts and rest splits are counted from 1997-98; earlier seasons carry the record and the save percentage where the league has it.
  • A power-play shot against is one faced while his club was short-handed — the league labels the split from the shooter's side.
Dimensions 5
NameBound to
league always nhl
team the team column
player the player column
position Every row here is a goalie
season the season column
Columns 38
NameHeadingTypeWhat it is
season completes season Season season
dimension

The season, by the year it started — 2024 is 2024-25.

What it takes
  • folds: min(season) max(season) count(season) distinct(season) only(season) latest(season) top(season) mode(season)
  • can be a benchmark
NHL · nhlscraper
season_type completes season_type Type string
dimension

REG for the regular season, POST for the playoffs.

REG or POST

What it takes
  • folds: count(season_type) distinct(season_type) only(season_type) latest(season_type) top(season_type) mode(season_type)
NHL · nhlscraper
game_date Date date
dimension

The date the game was played.

What it takes
  • folds: min(game_date) max(game_date) count(game_date) distinct(game_date) only(game_date) latest(game_date) top(game_date) mode(game_date)
  • periods: year(game_date) quarter(game_date) month(game_date) week(game_date)
  • can be a benchmark
NHL · nhlscraper
player completes player Player string
dimension

The player, by the name the league's registry lists him under.

What it takes
  • folds: count(player) distinct(player) only(player) latest(player) top(player) mode(player)
NHL · nhlscraper
team completes team Team string
dimension

The club, by the code it wore that season.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) top(team) mode(team)
NHL · nhlscraper
franchise completes franchise Franchise string
dimension

The club's franchise, by the code it wears today — the thread through relocations.

The franchise's current code — every Coyotes and Mammoth season is under UTA

What it takes
  • folds: count(franchise) distinct(franchise) only(franchise) latest(franchise) top(franchise) mode(franchise)
NHL · nhlscraper
opponent completes team Opp string
dimension

The other club.

What it takes
  • folds: count(opponent) distinct(opponent) only(opponent) latest(opponent) top(opponent) mode(opponent)
NHL · nhlscraper
home H/A boolean
dimension

Whether this club was at home.

What it takes
  • folds: count(home) distinct(home) only(home) latest(home) top(home) mode(home)
NHL · nhlscraper
started GS boolean
dimension

Whether he started.

What it takes
  • folds: count(started) distinct(started) only(started) latest(started) top(started) mode(started)
NHL · nhlscraper
won W boolean
dimension

Whether the club, or the goalie, won.

What it takes
  • folds: count(won) distinct(won) only(won) latest(won) top(won) mode(won)
NHL · nhlscraper
lost L boolean
dimension

Whether the club, or the goalie, lost in regulation.

What it takes
  • folds: count(lost) distinct(lost) only(lost) latest(lost) top(lost) mode(lost)
NHL · nhlscraper
ot_loss OTL boolean
dimension

Whether the club, or the goalie, lost in overtime or a shootout.

What it takes
  • folds: count(ot_loss) distinct(ot_loss) only(ot_loss) latest(ot_loss) top(ot_loss) mode(ot_loss)
NHL · nhlscraper
shutout SO boolean
dimension

Whether he allowed no goals.

What it takes
  • folds: count(shutout) distinct(shutout) only(shutout) latest(shutout) top(shutout) mode(shutout)
NHL · nhlscraper
quality_start QS boolean
dimension

A start with a save percentage at or above the league average, or at least .885 with two or fewer goals allowed.

QS starts in 1997

What it takes
  • folds: count(quality_start) distinct(quality_start) only(quality_start) latest(quality_start) top(quality_start) mode(quality_start)
NHL · nhlscraper
shots_against SA integer
measure

Shots on goal faced. NHL.com

What it takes
  • folds: sum(shots_against) avg(shots_against) min(shots_against) max(shots_against) count(shots_against) distinct(shots_against) only(shots_against) latest(shots_against) top(shots_against) mean(shots_against) median(shots_against) mode(shots_against)
  • ranks: shots_against_percentile
  • accumulates: as_of(shots_against)
  • can be a benchmark
NHL · nhlscraper
saves SV integer
measure

Saves. NHL.com

What it takes
  • folds: sum(saves) avg(saves) min(saves) max(saves) count(saves) distinct(saves) only(saves) latest(saves) top(saves) mean(saves) median(saves) mode(saves)
  • ranks: saves_percentile
  • accumulates: as_of(saves)
  • can be a benchmark
NHL · nhlscraper
goals_against lower is better GA integer
measure

Goals allowed. NHL.com

What it takes
  • folds: sum(goals_against) avg(goals_against) min(goals_against) max(goals_against) count(goals_against) distinct(goals_against) only(goals_against) latest(goals_against) top(goals_against) mean(goals_against) median(goals_against) mode(goals_against)
  • ranks: goals_against_percentile
  • accumulates: as_of(goals_against)
  • can be a benchmark
NHL · nhlscraper
sv_pct SV% number
measure

Saves as a share of shots faced. NHL.com

What it takes
  • folds: sum(sv_pct) avg(sv_pct) min(sv_pct) max(sv_pct) count(sv_pct) distinct(sv_pct) only(sv_pct) latest(sv_pct) top(sv_pct) mean(sv_pct) median(sv_pct) mode(sv_pct)
  • ranks: sv_pct_percentile
  • accumulates: as_of(sv_pct)
  • can be a benchmark
NHL · nhlscraper
toi TOI number
measure

Minutes on ice. NHL.com

Minutes played

What it takes
  • folds: sum(toi) avg(toi) min(toi) max(toi) count(toi) distinct(toi) only(toi) latest(toi) top(toi) mean(toi) median(toi) mode(toi)
  • ranks: toi_percentile
  • accumulates: as_of(toi)
  • can be a benchmark
NHL · nhlscraper
ev_shots_against EV SA integer
measure

Shots faced at even strength.

EV SA starts in 1997

What it takes
  • folds: sum(ev_shots_against) avg(ev_shots_against) min(ev_shots_against) max(ev_shots_against) count(ev_shots_against) distinct(ev_shots_against) only(ev_shots_against) latest(ev_shots_against) top(ev_shots_against) mean(ev_shots_against) median(ev_shots_against) mode(ev_shots_against)
  • ranks: ev_shots_against_percentile
  • accumulates: as_of(ev_shots_against)
  • can be a benchmark
NHL · nhlscraper
ev_saves EV SV integer
measure

Saves at even strength.

EV SV starts in 1997

What it takes
  • folds: sum(ev_saves) avg(ev_saves) min(ev_saves) max(ev_saves) count(ev_saves) distinct(ev_saves) only(ev_saves) latest(ev_saves) top(ev_saves) mean(ev_saves) median(ev_saves) mode(ev_saves)
  • ranks: ev_saves_percentile
  • accumulates: as_of(ev_saves)
  • can be a benchmark
NHL · nhlscraper
ev_goals_against lower is better EV GA integer
measure

Goals allowed at even strength.

EV GA starts in 1997

What it takes
  • folds: sum(ev_goals_against) avg(ev_goals_against) min(ev_goals_against) max(ev_goals_against) count(ev_goals_against) distinct(ev_goals_against) only(ev_goals_against) latest(ev_goals_against) top(ev_goals_against) mean(ev_goals_against) median(ev_goals_against) mode(ev_goals_against)
  • ranks: ev_goals_against_percentile
  • accumulates: as_of(ev_goals_against)
  • can be a benchmark
NHL · nhlscraper
ev_sv_pct EV SV% number
measure

Save percentage at even strength.

EV SV% starts in 1997

What it takes
  • folds: sum(ev_sv_pct) avg(ev_sv_pct) min(ev_sv_pct) max(ev_sv_pct) count(ev_sv_pct) distinct(ev_sv_pct) only(ev_sv_pct) latest(ev_sv_pct) top(ev_sv_pct) mean(ev_sv_pct) median(ev_sv_pct) mode(ev_sv_pct)
  • ranks: ev_sv_pct_percentile
  • accumulates: as_of(ev_sv_pct)
  • can be a benchmark
NHL · nhlscraper
pp_shots_against PP SA integer
measure

Shots faced while his club was short-handed.

PP SA starts in 1997

What it takes
  • folds: sum(pp_shots_against) avg(pp_shots_against) min(pp_shots_against) max(pp_shots_against) count(pp_shots_against) distinct(pp_shots_against) only(pp_shots_against) latest(pp_shots_against) top(pp_shots_against) mean(pp_shots_against) median(pp_shots_against) mode(pp_shots_against)
  • ranks: pp_shots_against_percentile
  • accumulates: as_of(pp_shots_against)
  • can be a benchmark
NHL · nhlscraper
pp_saves PP SV integer
measure

Saves while his club was short-handed.

PP SV starts in 1997

What it takes
  • folds: sum(pp_saves) avg(pp_saves) min(pp_saves) max(pp_saves) count(pp_saves) distinct(pp_saves) only(pp_saves) latest(pp_saves) top(pp_saves) mean(pp_saves) median(pp_saves) mode(pp_saves)
  • ranks: pp_saves_percentile
  • accumulates: as_of(pp_saves)
  • can be a benchmark
NHL · nhlscraper
pp_goals_against lower is better PP GA integer
measure

Goals allowed while his club was short-handed.

PP GA starts in 1997

What it takes
  • folds: sum(pp_goals_against) avg(pp_goals_against) min(pp_goals_against) max(pp_goals_against) count(pp_goals_against) distinct(pp_goals_against) only(pp_goals_against) latest(pp_goals_against) top(pp_goals_against) mean(pp_goals_against) median(pp_goals_against) mode(pp_goals_against)
  • ranks: pp_goals_against_percentile
  • accumulates: as_of(pp_goals_against)
  • can be a benchmark
NHL · nhlscraper
pp_sv_pct PP SV% number
measure

Save percentage while his club was short-handed.

PP SV% starts in 1997

What it takes
  • folds: sum(pp_sv_pct) avg(pp_sv_pct) min(pp_sv_pct) max(pp_sv_pct) count(pp_sv_pct) distinct(pp_sv_pct) only(pp_sv_pct) latest(pp_sv_pct) top(pp_sv_pct) mean(pp_sv_pct) median(pp_sv_pct) mode(pp_sv_pct)
  • ranks: pp_sv_pct_percentile
  • accumulates: as_of(pp_sv_pct)
  • can be a benchmark
NHL · nhlscraper
sh_shots_against SH SA integer
measure

Shots faced while his club was on the power play.

SH SA starts in 1997

What it takes
  • folds: sum(sh_shots_against) avg(sh_shots_against) min(sh_shots_against) max(sh_shots_against) count(sh_shots_against) distinct(sh_shots_against) only(sh_shots_against) latest(sh_shots_against) top(sh_shots_against) mean(sh_shots_against) median(sh_shots_against) mode(sh_shots_against)
  • ranks: sh_shots_against_percentile
  • accumulates: as_of(sh_shots_against)
  • can be a benchmark
NHL · nhlscraper
sh_saves SH SV integer
measure

Saves while his club was on the power play.

SH SV starts in 1997

What it takes
  • folds: sum(sh_saves) avg(sh_saves) min(sh_saves) max(sh_saves) count(sh_saves) distinct(sh_saves) only(sh_saves) latest(sh_saves) top(sh_saves) mean(sh_saves) median(sh_saves) mode(sh_saves)
  • ranks: sh_saves_percentile
  • accumulates: as_of(sh_saves)
  • can be a benchmark
NHL · nhlscraper
sh_goals_against lower is better SH GA integer
measure

Goals allowed while his club was on the power play.

SH GA starts in 1997

What it takes
  • folds: sum(sh_goals_against) avg(sh_goals_against) min(sh_goals_against) max(sh_goals_against) count(sh_goals_against) distinct(sh_goals_against) only(sh_goals_against) latest(sh_goals_against) top(sh_goals_against) mean(sh_goals_against) median(sh_goals_against) mode(sh_goals_against)
  • ranks: sh_goals_against_percentile
  • accumulates: as_of(sh_goals_against)
  • can be a benchmark
NHL · nhlscraper
sh_sv_pct SH SV% number
measure

Save percentage while his club was on the power play.

SH SV% starts in 1997

What it takes
  • folds: sum(sh_sv_pct) avg(sh_sv_pct) min(sh_sv_pct) max(sh_sv_pct) count(sh_sv_pct) distinct(sh_sv_pct) only(sh_sv_pct) latest(sh_sv_pct) top(sh_sv_pct) mean(sh_sv_pct) median(sh_sv_pct) mode(sh_sv_pct)
  • ranks: sh_sv_pct_percentile
  • accumulates: as_of(sh_sv_pct)
  • can be a benchmark
NHL · nhlscraper
goals G integer
measure

Goals he scored himself.

What it takes
  • folds: sum(goals) avg(goals) min(goals) max(goals) count(goals) distinct(goals) only(goals) latest(goals) top(goals) mean(goals) median(goals) mode(goals)
  • ranks: goals_percentile
  • accumulates: as_of(goals)
  • can be a benchmark
NHL · nhlscraper
assists A integer
measure

Assists. NHL.com

What it takes
  • folds: sum(assists) avg(assists) min(assists) max(assists) count(assists) distinct(assists) only(assists) latest(assists) top(assists) mean(assists) median(assists) mode(assists)
  • ranks: assists_percentile
  • accumulates: as_of(assists)
  • can be a benchmark
NHL · nhlscraper
points P integer
measure

Goals plus assists he recorded himself.

What it takes
  • folds: sum(points) avg(points) min(points) max(points) count(points) distinct(points) only(points) latest(points) top(points) mean(points) median(points) mode(points)
  • ranks: points_percentile
  • accumulates: as_of(points)
  • can be a benchmark
NHL · nhlscraper
pim lower is better PIM integer
measure

Penalty minutes. NHL.com

What it takes
  • folds: sum(pim) avg(pim) min(pim) max(pim) count(pim) distinct(pim) only(pim) latest(pim) top(pim) mean(pim) median(pim) mode(pim)
  • ranks: pim_percentile
  • accumulates: as_of(pim)
  • can be a benchmark
NHL · nhlscraper
goals_for GF integer
measure

Goals his club scored while he was in net.

GF starts in 1997

What it takes
  • folds: sum(goals_for) avg(goals_for) min(goals_for) max(goals_for) count(goals_for) distinct(goals_for) only(goals_for) latest(goals_for) top(goals_for) mean(goals_for) median(goals_for) mode(goals_for)
  • ranks: goals_for_percentile
  • accumulates: as_of(goals_for)
  • can be a benchmark
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Operators on this table 43 available

from

The one table a query reads

from nhl.goalie_games
select game_date, player, team, opponent, won, shots_against, saves, goals_against, sv_pct
order by saves desc
limit 200

select

The columns the answer carries

from nhl.goalie_games
select game_date, player, team, opponent, won, shots_against, saves, goals_against, sv_pct
order by saves desc
limit 200

as

Renames a column's heading and nothing else

from nhl.goalie_games
select game_date, player, shots_against as SA
order by shots_against desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.goalie_games
where season = $year
select game_date, player, team
order by shots_against desc
limit 10

limit

How many rows come back

from nhl.goalie_games
select game_date, player, team, opponent, won, shots_against, saves, goals_against, sv_pct
order by saves desc
limit 200

order by

Which end of the answer comes first

from nhl.goalie_games
select game_date, player, team, shots_against
order by shots_against desc
limit 10

#

A comment, to the end of the line

# Goalie games — One row per goalie per game since 1917-18 — the decision, the saves, and from 1997-98 the strength splits and whether it was a quality start.
from nhl.goalie_games
select game_date, player, team, opponent, won, shots_against, saves, goals_against, sv_pct
order by saves desc
limit 200

where

Chooses the rows the question is about

from nhl.goalie_games
where season = 2026
select player, shots_against
order by shots_against desc
limit 10

and

Continues whichever filter clause came last

from nhl.goalie_games
where season = 2026 and shots_against > 0
select player, shots_against
order by shots_against desc
limit 10

having

Filters the groups a fold made

from nhl.goalie_games
select player, sum(shots_against)
group by player
having sum(shots_against) > 0
order by sum(shots_against) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.goalie_games
where season = 2026
select player, shots_against, shots_against_percentile
keep shots_against_percentile >= 90
order by shots_against_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.goalie_games
select player, season, shots_against
highlight season = 2026
order by shots_against desc
limit 10

of

A threshold that is another row rather than a number

from nhl.goalie_games
where shots_against >= max(shots_against) of season 2026
select player, shots_against
order by shots_against desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.goalie_games
select player, count(*), sum(shots_against)
group by player
order by sum(shots_against) desc
limit 10

then

Folds the answer a second time

from nhl.goalie_games
select player, team, count(*)
group by player, team
having count(*) > 10
then
select player, count(*) as Teams
group by player
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.goalie_games
select player, team, sum(shots_against)
group by player, team
pivot by team
limit 25

first / last

Only part of each career, before anything else runs

from nhl.goalie_games
first 3 seasons
select player, sum(shots_against)
group by player
order by sum(shots_against) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.goalie_games
select player, sum(shots_against)
group by player
order by sum(shots_against) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.goalie_games
select player, avg(shots_against)
group by player
order by avg(shots_against) desc
limit 10

min(…)

The smallest value in each group

from nhl.goalie_games
select player, min(shots_against)
group by player
order by min(shots_against) desc
limit 10

max(…)

The largest value in each group

from nhl.goalie_games
select player, max(shots_against)
group by player
order by max(shots_against) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.goalie_games
select player, count(shots_against)
group by player
order by count(shots_against) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.goalie_games
select player, distinct(game_date)
group by player
order by distinct(game_date) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.goalie_games
where season = 2026
select player, only(game_date)
group by player
order by only(game_date) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.goalie_games
select player, latest(player)
group by player
order by count(*) desc
limit 10

top(…)

The value on the group's biggest row

from nhl.goalie_games
select player, top(player)
group by player
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.goalie_games
select player, mean(shots_against)
group by player
order by mean(shots_against) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.goalie_games
select player, median(shots_against)
group by player
order by median(shots_against) desc
limit 10

mode(…)

The commonest value in the group

from nhl.goalie_games
select player, mode(player)
group by player
order by count(*) desc
limit 10

year(…)

Reads a date as the year it falls in

from nhl.goalie_games
select player, year(game_date), sum(shots_against)
group by player, year(game_date)
order by year(game_date) asc
limit 20

quarter(…)

Reads a date as the quarter it falls in

from nhl.goalie_games
select player, quarter(game_date), sum(shots_against)
group by player, quarter(game_date)
order by quarter(game_date) asc
limit 20

month(…)

Reads a date as the month it falls in

from nhl.goalie_games
select player, month(game_date), sum(shots_against)
group by player, month(game_date)
order by month(game_date) asc
limit 20

week(…)

Reads a date as the week it falls in

from nhl.goalie_games
select player, week(game_date), sum(shots_against)
group by player, week(game_date)
order by week(game_date) asc
limit 20

as_of(…)

The stat as it stood, season to date

from nhl.goalie_games
where season = 2026
select player, month(game_date), as_of(shots_against)
group by player, month(game_date)
order by month(game_date) asc
limit 25

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.goalie_games
where season = 2026
select player, shots_against, shots_against_percentile
order by shots_against_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.goalie_games
select player, sum(shots_against), percentile(sum(shots_against))
group by player
order by sum(shots_against) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.goalie_games
where season = 2026
select player, shots_against, standing(shots_against)
order by shots_against desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.goalie_games
where season = 2026
select player, shots_against, saves, composite(shots_against, saves)
order by composite(shots_against, saves) desc
limit 10

ratio(…)

One column divided by another

from nhl.goalie_games
select player, count(*), ratio(sum(shots_against), count(*))
group by player
order by ratio(sum(shots_against), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.goalie_games
where season = 2026
select player, shots_against, saves, calc(standing(shots_against) - standing(saves))
order by calc(standing(shots_against) - standing(saves)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.goalie_games
select player, shots_against, format(shots_against, > 0 -> "on the board", <= 0 -> "nothing yet")
order by shots_against desc
limit 10

pair

Draws two columns of the answer in one

from nhl.goalie_games
where season = 2026
select player, shots_against, shots_against_percentile
pair shots_against with shots_against_percentile
order by shots_against desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.goalie_games
where season = 2026
select player, shots_against, saves, goals_against, composite(shots_against, saves, goals_against) as Score
hint composite(shots_against, saves, goals_against) as "SA + SV + GA"
order by composite(shots_against, saves, goals_against) desc
limit 10

nhl.teams Club seasons

One row per club per season since 1917-18 — the standings line, special teams, possession, every situational split, and where the playoffs ended.

from nhl.teams
select team, season, games, wins, losses, ot_losses, points, goal_diff, playoff_result
order by points desc
limit 100
One row is
one team's season (team-season)
Built from
one table, read straight
Reads
nhl_team_seasons NHL, nhlscraper
Shows by default
team season games wins losses ot_losses points goal_diff playoff_result
Ordered by
points desc
Rows
100 by default, 3000 at most
Ranks within
season
Careers counted in
seasons
Biggest row
points

Applied unless you say otherwise

  • Limited to the regular season — add where season_type = POST for the playoffs.

Before you trust the numbers

  • A postseason row is the club's playoff record; playoff_result is the same on both rows so the finish can be read from either.
  • Points and percentages follow the rules of the season — ties until 2004-05, the overtime-loss point since 1999-00 — so a 1980 record and a 2024 record are not on the same scale.
  • Shot attempts, zone starts and the strength splits are counted from 2009-10; hits and blocks from 2005-06; power-play opportunities from 1977-78.
Dimensions 5
NameBound to
league always nhl
team the team column
player A club season has no player — query nhl.skaters or nhl.goalies
position A club season has no position
season the season column
Columns 143
NameHeadingTypeWhat it is
season completes season Season season
dimension

The season, by the year it started — 2024 is 2024-25.

What it takes
  • folds: min(season) max(season) count(season) distinct(season) only(season) latest(season) top(season) mode(season)
  • can be a benchmark
NHL · nhlscraper
season_type completes season_type Type string
dimension

REG for the regular season, POST for the playoffs.

REG or POST

What it takes
  • folds: count(season_type) distinct(season_type) only(season_type) latest(season_type) top(season_type) mode(season_type)
NHL · nhlscraper
team completes team Team string
dimension

The club, by the code it wore that season.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) top(team) mode(team)
NHL · nhlscraper
franchise completes franchise Franchise string
dimension

The club's franchise, by the code it wears today — the thread through relocations.

The franchise's current code — every Coyotes and Mammoth season is under UTA

What it takes
  • folds: count(franchise) distinct(franchise) only(franchise) latest(franchise) top(franchise) mode(franchise)
NHL · nhlscraper
team_name Club string
dimension

The club's full name.

What it takes
  • folds: count(team_name) distinct(team_name) only(team_name) latest(team_name) top(team_name) mode(team_name)
NHL · nhlscraper
conference completes conference Conf string
dimension

The conference the club played in.

What it takes
  • folds: count(conference) distinct(conference) only(conference) latest(conference) top(conference) mode(conference)
NHL · nhlscraper
division completes division Div string
dimension

The division the club played in.

What it takes
  • folds: count(division) distinct(division) only(division) latest(division) top(division) mode(division)
NHL · nhlscraper
league_rank lower is better Lg# integer
measure

Where the club finished in the overall standings.

Finish in the overall standings

What it takes
  • folds: sum(league_rank) avg(league_rank) min(league_rank) max(league_rank) count(league_rank) distinct(league_rank) only(league_rank) latest(league_rank) top(league_rank) mean(league_rank) median(league_rank) mode(league_rank)
  • ranks: league_rank_percentile
  • accumulates: as_of(league_rank)
  • can be a benchmark
NHL · nhlscraper
conference_rank lower is better Conf# integer
measure

Where the club finished in its conference.

What it takes
  • folds: sum(conference_rank) avg(conference_rank) min(conference_rank) max(conference_rank) count(conference_rank) distinct(conference_rank) only(conference_rank) latest(conference_rank) top(conference_rank) mean(conference_rank) median(conference_rank) mode(conference_rank)
  • ranks: conference_rank_percentile
  • accumulates: as_of(conference_rank)
  • can be a benchmark
NHL · nhlscraper
division_rank lower is better Div# integer
measure

Where the club finished in its division.

What it takes
  • folds: sum(division_rank) avg(division_rank) min(division_rank) max(division_rank) count(division_rank) distinct(division_rank) only(division_rank) latest(division_rank) top(division_rank) mean(division_rank) median(division_rank) mode(division_rank)
  • ranks: division_rank_percentile
  • accumulates: as_of(division_rank)
  • can be a benchmark
NHL · nhlscraper
playoff_result completes playoff_result Playoffs string
dimension

How the club's season ended: missed, the round it lost in, or Won Stanley Cup.

missed, Lost 1st Round … Won Stanley Cup — the same on the REG and POST rows

What it takes
  • folds: count(playoff_result) distinct(playoff_result) only(playoff_result) latest(playoff_result) top(playoff_result) mode(playoff_result)
NHL · nhlscraper
playoff_round Rd integer
measure

The playoff round the club reached, 1 to 4; null if it missed.

The round the club reached, 1 to 4; null when it missed

What it takes
  • folds: sum(playoff_round) avg(playoff_round) min(playoff_round) max(playoff_round) count(playoff_round) distinct(playoff_round) only(playoff_round) latest(playoff_round) top(playoff_round) mean(playoff_round) median(playoff_round) mode(playoff_round)
  • ranks: playoff_round_percentile
  • accumulates: as_of(playoff_round)
  • can be a benchmark
NHL · nhlscraper
games GP integer
measure

Games played. NHL.com

What it takes
  • folds: sum(games) avg(games) min(games) max(games) count(games) distinct(games) only(games) latest(games) top(games) mean(games) median(games) mode(games)
  • ranks: games_percentile
  • accumulates: as_of(games)
  • can be a benchmark
NHL · nhlscraper
wins W integer
measure

Wins. NHL.com

What it takes
  • folds: sum(wins) avg(wins) min(wins) max(wins) count(wins) distinct(wins) only(wins) latest(wins) top(wins) mean(wins) median(wins) mode(wins)
  • ranks: wins_percentile
  • accumulates: as_of(wins)
  • can be a benchmark
NHL · nhlscraper
losses lower is better L integer
measure

Losses in regulation. NHL.com

What it takes
  • folds: sum(losses) avg(losses) min(losses) max(losses) count(losses) distinct(losses) only(losses) latest(losses) top(losses) mean(losses) median(losses) mode(losses)
  • ranks: losses_percentile
  • accumulates: as_of(losses)
  • can be a benchmark
NHL · nhlscraper
ot_losses lower is better OTL integer
measure

Losses in overtime or a shootout, worth a point since 1999-00. NHL.com

What it takes
  • folds: sum(ot_losses) avg(ot_losses) min(ot_losses) max(ot_losses) count(ot_losses) distinct(ot_losses) only(ot_losses) latest(ot_losses) top(ot_losses) mean(ot_losses) median(ot_losses) mode(ot_losses)
  • ranks: ot_losses_percentile
  • accumulates: as_of(ot_losses)
  • can be a benchmark
NHL · nhlscraper
ties T integer
measure

Ties, which existed until 2004-05. NHL.com

What it takes
  • folds: sum(ties) avg(ties) min(ties) max(ties) count(ties) distinct(ties) only(ties) latest(ties) top(ties) mean(ties) median(ties) mode(ties)
  • ranks: ties_percentile
  • accumulates: as_of(ties)
  • can be a benchmark
NHL · nhlscraper
points Pts integer
measure

Standings points.

What it takes
  • folds: sum(points) avg(points) min(points) max(points) count(points) distinct(points) only(points) latest(points) top(points) mean(points) median(points) mode(points)
  • ranks: points_percentile
  • accumulates: as_of(points)
  • can be a benchmark
NHL · nhlscraper
point_pct P% number
measure

Standings points as a share of the points available. NHL.com

What it takes
  • folds: sum(point_pct) avg(point_pct) min(point_pct) max(point_pct) count(point_pct) distinct(point_pct) only(point_pct) latest(point_pct) top(point_pct) mean(point_pct) median(point_pct) mode(point_pct)
  • ranks: point_pct_percentile
  • accumulates: as_of(point_pct)
  • can be a benchmark
NHL · nhlscraper
row ROW integer
measure

Regulation and overtime wins — the standings' first tiebreaker. NHL.com

Regulation and overtime wins — the first tiebreaker

What it takes
  • folds: sum(row) avg(row) min(row) max(row) count(row) distinct(row) only(row) latest(row) top(row) mean(row) median(row) mode(row)
  • ranks: row_percentile
  • accumulates: as_of(row)
  • can be a benchmark
NHL · nhlscraper
rw RW integer
measure

Wins in regulation. NHL.com

What it takes
  • folds: sum(rw) avg(rw) min(rw) max(rw) count(rw) distinct(rw) only(rw) latest(rw) top(rw) mean(rw) median(rw) mode(rw)
  • ranks: rw_percentile
  • accumulates: as_of(rw)
  • can be a benchmark
NHL · nhlscraper
so_wins SOW integer
measure

Wins decided in a shootout.

What it takes
  • folds: sum(so_wins) avg(so_wins) min(so_wins) max(so_wins) count(so_wins) distinct(so_wins) only(so_wins) latest(so_wins) top(so_wins) mean(so_wins) median(so_wins) mode(so_wins)
  • ranks: so_wins_percentile
  • accumulates: as_of(so_wins)
  • can be a benchmark
NHL · nhlscraper
goals_for GF integer
measure

Goals the club scored.

What it takes
  • folds: sum(goals_for) avg(goals_for) min(goals_for) max(goals_for) count(goals_for) distinct(goals_for) only(goals_for) latest(goals_for) top(goals_for) mean(goals_for) median(goals_for) mode(goals_for)
  • ranks: goals_for_percentile
  • accumulates: as_of(goals_for)
  • can be a benchmark
NHL · nhlscraper
goals_against lower is better GA integer
measure

Goals allowed. NHL.com

What it takes
  • folds: sum(goals_against) avg(goals_against) min(goals_against) max(goals_against) count(goals_against) distinct(goals_against) only(goals_against) latest(goals_against) top(goals_against) mean(goals_against) median(goals_against) mode(goals_against)
  • ranks: goals_against_percentile
  • accumulates: as_of(goals_against)
  • can be a benchmark
NHL · nhlscraper
goal_diff Diff integer
measure

Goals for less goals against.

What it takes
  • folds: sum(goal_diff) avg(goal_diff) min(goal_diff) max(goal_diff) count(goal_diff) distinct(goal_diff) only(goal_diff) latest(goal_diff) top(goal_diff) mean(goal_diff) median(goal_diff) mode(goal_diff)
  • ranks: goal_diff_percentile
  • accumulates: as_of(goal_diff)
  • can be a benchmark
NHL · nhlscraper
shots_for SF integer
measure

Shots on goal taken.

What it takes
  • folds: sum(shots_for) avg(shots_for) min(shots_for) max(shots_for) count(shots_for) distinct(shots_for) only(shots_for) latest(shots_for) top(shots_for) mean(shots_for) median(shots_for) mode(shots_for)
  • ranks: shots_for_percentile
  • accumulates: as_of(shots_for)
  • can be a benchmark
NHL · nhlscraper
shots_against lower is better SA integer
measure

Shots on goal faced. NHL.com

What it takes
  • folds: sum(shots_against) avg(shots_against) min(shots_against) max(shots_against) count(shots_against) distinct(shots_against) only(shots_against) latest(shots_against) top(shots_against) mean(shots_against) median(shots_against) mode(shots_against)
  • ranks: shots_against_percentile
  • accumulates: as_of(shots_against)
  • can be a benchmark
NHL · nhlscraper
pp_pct PP% number
measure

Power-play goals as a share of power-play opportunities. NHL.com

What it takes
  • folds: sum(pp_pct) avg(pp_pct) min(pp_pct) max(pp_pct) count(pp_pct) distinct(pp_pct) only(pp_pct) latest(pp_pct) top(pp_pct) mean(pp_pct) median(pp_pct) mode(pp_pct)
  • ranks: pp_pct_percentile
  • accumulates: as_of(pp_pct)
  • can be a benchmark
NHL · nhlscraper
pk_pct PK% number
measure

Penalties killed as a share of times short-handed. NHL.com

What it takes
  • folds: sum(pk_pct) avg(pk_pct) min(pk_pct) max(pk_pct) count(pk_pct) distinct(pk_pct) only(pk_pct) latest(pk_pct) top(pk_pct) mean(pk_pct) median(pk_pct) mode(pk_pct)
  • ranks: pk_pct_percentile
  • accumulates: as_of(pk_pct)
  • can be a benchmark
NHL · nhlscraper
pp_opportunities PPO integer
measure

Power plays. NHL.com

What it takes
  • folds: sum(pp_opportunities) avg(pp_opportunities) min(pp_opportunities) max(pp_opportunities) count(pp_opportunities) distinct(pp_opportunities) only(pp_opportunities) latest(pp_opportunities) top(pp_opportunities) mean(pp_opportunities) median(pp_opportunities) mode(pp_opportunities)
  • ranks: pp_opportunities_percentile
  • accumulates: as_of(pp_opportunities)
  • can be a benchmark
NHL · nhlscraper
pp_goals_for PPG integer
measure

Goals scored on the power play. NHL.com

What it takes
  • folds: sum(pp_goals_for) avg(pp_goals_for) min(pp_goals_for) max(pp_goals_for) count(pp_goals_for) distinct(pp_goals_for) only(pp_goals_for) latest(pp_goals_for) top(pp_goals_for) mean(pp_goals_for) median(pp_goals_for) mode(pp_goals_for)
  • ranks: pp_goals_for_percentile
  • accumulates: as_of(pp_goals_for)
  • can be a benchmark
NHL · nhlscraper
times_shorthanded TSH integer
measure

Times the club was short-handed. NHL.com

What it takes
  • folds: sum(times_shorthanded) avg(times_shorthanded) min(times_shorthanded) max(times_shorthanded) count(times_shorthanded) distinct(times_shorthanded) only(times_shorthanded) latest(times_shorthanded) top(times_shorthanded) mean(times_shorthanded) median(times_shorthanded) mode(times_shorthanded)
  • ranks: times_shorthanded_percentile
  • accumulates: as_of(times_shorthanded)
  • can be a benchmark
NHL · nhlscraper
pp_goals_against lower is better PPGA integer
measure

Goals allowed while his club was short-handed.

What it takes
  • folds: sum(pp_goals_against) avg(pp_goals_against) min(pp_goals_against) max(pp_goals_against) count(pp_goals_against) distinct(pp_goals_against) only(pp_goals_against) latest(pp_goals_against) top(pp_goals_against) mean(pp_goals_against) median(pp_goals_against) mode(pp_goals_against)
  • ranks: pp_goals_against_percentile
  • accumulates: as_of(pp_goals_against)
  • can be a benchmark
NHL · nhlscraper
sh_goals_for SHG integer
measure

Goals scored while short-handed.

What it takes
  • folds: sum(sh_goals_for) avg(sh_goals_for) min(sh_goals_for) max(sh_goals_for) count(sh_goals_for) distinct(sh_goals_for) only(sh_goals_for) latest(sh_goals_for) top(sh_goals_for) mean(sh_goals_for) median(sh_goals_for) mode(sh_goals_for)
  • ranks: sh_goals_for_percentile
  • accumulates: as_of(sh_goals_for)
  • can be a benchmark
NHL · nhlscraper
sh_goals_against lower is better SHGA integer
measure

Goals allowed while his club was on the power play.

What it takes
  • folds: sum(sh_goals_against) avg(sh_goals_against) min(sh_goals_against) max(sh_goals_against) count(sh_goals_against) distinct(sh_goals_against) only(sh_goals_against) latest(sh_goals_against) top(sh_goals_against) mean(sh_goals_against) median(sh_goals_against) mode(sh_goals_against)
  • ranks: sh_goals_against_percentile
  • accumulates: as_of(sh_goals_against)
  • can be a benchmark
NHL · nhlscraper
faceoffs FO integer
measure

Faceoffs taken. NHL.com

FO starts in 1997

What it takes
  • folds: sum(faceoffs) avg(faceoffs) min(faceoffs) max(faceoffs) count(faceoffs) distinct(faceoffs) only(faceoffs) latest(faceoffs) top(faceoffs) mean(faceoffs) median(faceoffs) mode(faceoffs)
  • ranks: faceoffs_percentile
  • accumulates: as_of(faceoffs)
  • can be a benchmark
NHL · nhlscraper
fo_wins FOW integer
measure

Faceoffs won. NHL.com

FOW starts in 1997

What it takes
  • folds: sum(fo_wins) avg(fo_wins) min(fo_wins) max(fo_wins) count(fo_wins) distinct(fo_wins) only(fo_wins) latest(fo_wins) top(fo_wins) mean(fo_wins) median(fo_wins) mode(fo_wins)
  • ranks: fo_wins_percentile
  • accumulates: as_of(fo_wins)
  • can be a benchmark
NHL · nhlscraper
fo_losses lower is better FOL integer
measure

Faceoffs lost. NHL.com

FOL starts in 1997

What it takes
  • folds: sum(fo_losses) avg(fo_losses) min(fo_losses) max(fo_losses) count(fo_losses) distinct(fo_losses) only(fo_losses) latest(fo_losses) top(fo_losses) mean(fo_losses) median(fo_losses) mode(fo_losses)
  • ranks: fo_losses_percentile
  • accumulates: as_of(fo_losses)
  • can be a benchmark
NHL · nhlscraper
fo_pct FO% number
measure

Faceoffs won as a share of faceoffs taken. NHL.com

FO% starts in 1997

What it takes
  • folds: sum(fo_pct) avg(fo_pct) min(fo_pct) max(fo_pct) count(fo_pct) distinct(fo_pct) only(fo_pct) latest(fo_pct) top(fo_pct) mean(fo_pct) median(fo_pct) mode(fo_pct)
  • ranks: fo_pct_percentile
  • accumulates: as_of(fo_pct)
  • can be a benchmark
NHL · nhlscraper
hits Hits integer
measure

Hits delivered. NHL.com

Hits starts in 2005

What it takes
  • folds: sum(hits) avg(hits) min(hits) max(hits) count(hits) distinct(hits) only(hits) latest(hits) top(hits) mean(hits) median(hits) mode(hits)
  • ranks: hits_percentile
  • accumulates: as_of(hits)
  • can be a benchmark
NHL · nhlscraper
blocks BkS integer
measure

Shots blocked. NHL.com

BkS starts in 2005

What it takes
  • folds: sum(blocks) avg(blocks) min(blocks) max(blocks) count(blocks) distinct(blocks) only(blocks) latest(blocks) top(blocks) mean(blocks) median(blocks) mode(blocks)
  • ranks: blocks_percentile
  • accumulates: as_of(blocks)
  • can be a benchmark
NHL · nhlscraper
giveaways lower is better GvA integer
measure

Times he gave the puck away. NHL.com

GvA starts in 2005

What it takes
  • folds: sum(giveaways) avg(giveaways) min(giveaways) max(giveaways) count(giveaways) distinct(giveaways) only(giveaways) latest(giveaways) top(giveaways) mean(giveaways) median(giveaways) mode(giveaways)
  • ranks: giveaways_percentile
  • accumulates: as_of(giveaways)
  • can be a benchmark
NHL · nhlscraper
takeaways TkA integer
measure

Times he took the puck away. NHL.com

TkA starts in 2005

What it takes
  • folds: sum(takeaways) avg(takeaways) min(takeaways) max(takeaways) count(takeaways) distinct(takeaways) only(takeaways) latest(takeaways) top(takeaways) mean(takeaways) median(takeaways) mode(takeaways)
  • ranks: takeaways_percentile
  • accumulates: as_of(takeaways)
  • can be a benchmark
NHL · nhlscraper
missed_shots Miss integer
measure

Shots that missed the net.

Miss starts in 2005

What it takes
  • folds: sum(missed_shots) avg(missed_shots) min(missed_shots) max(missed_shots) count(missed_shots) distinct(missed_shots) only(missed_shots) latest(missed_shots) top(missed_shots) mean(missed_shots) median(missed_shots) mode(missed_shots)
  • ranks: missed_shots_percentile
  • accumulates: as_of(missed_shots)
  • can be a benchmark
NHL · nhlscraper
attempts CF integer
measure

Shot attempts the club took.

Every attempt the club took: on goal, missed or blocked

CF starts in 2005

What it takes
  • folds: sum(attempts) avg(attempts) min(attempts) max(attempts) count(attempts) distinct(attempts) only(attempts) latest(attempts) top(attempts) mean(attempts) median(attempts) mode(attempts)
  • ranks: attempts_percentile
  • accumulates: as_of(attempts)
  • can be a benchmark
NHL · nhlscraper
attempts_blocked Blkd integer
measure

His own attempts that an opponent blocked.

Blkd starts in 2005

What it takes
  • folds: sum(attempts_blocked) avg(attempts_blocked) min(attempts_blocked) max(attempts_blocked) count(attempts_blocked) distinct(attempts_blocked) only(attempts_blocked) latest(attempts_blocked) top(attempts_blocked) mean(attempts_blocked) median(attempts_blocked) mode(attempts_blocked)
  • ranks: attempts_blocked_percentile
  • accumulates: as_of(attempts_blocked)
  • can be a benchmark
NHL · nhlscraper
en_goals ENG integer
measure

Goals into an empty net.

ENG starts in 2005

What it takes
  • folds: sum(en_goals) avg(en_goals) min(en_goals) max(en_goals) count(en_goals) distinct(en_goals) only(en_goals) latest(en_goals) top(en_goals) mean(en_goals) median(en_goals) mode(en_goals)
  • ranks: en_goals_percentile
  • accumulates: as_of(en_goals)
  • can be a benchmark
NHL · nhlscraper
penalties lower is better Pen integer
measure

Penalties taken.

What it takes
  • folds: sum(penalties) avg(penalties) min(penalties) max(penalties) count(penalties) distinct(penalties) only(penalties) latest(penalties) top(penalties) mean(penalties) median(penalties) mode(penalties)
  • ranks: penalties_percentile
  • accumulates: as_of(penalties)
  • can be a benchmark
NHL · nhlscraper
minors lower is better Min integer
measure

Minor penalties.

What it takes
  • folds: sum(minors) avg(minors) min(minors) max(minors) count(minors) distinct(minors) only(minors) latest(minors) top(minors) mean(minors) median(minors) mode(minors)
  • ranks: minors_percentile
  • accumulates: as_of(minors)
  • can be a benchmark
NHL · nhlscraper
majors lower is better Maj integer
measure

Major penalties.

What it takes
  • folds: sum(majors) avg(majors) min(majors) max(majors) count(majors) distinct(majors) only(majors) latest(majors) top(majors) mean(majors) median(majors) mode(majors)
  • ranks: majors_percentile
  • accumulates: as_of(majors)
  • can be a benchmark
NHL · nhlscraper
misconducts lower is better Misc integer
measure

Misconducts.

What it takes
  • folds: sum(misconducts) avg(misconducts) min(misconducts) max(misconducts) count(misconducts) distinct(misconducts) only(misconducts) latest(misconducts) top(misconducts) mean(misconducts) median(misconducts) mode(misconducts)
  • ranks: misconducts_percentile
  • accumulates: as_of(misconducts)
  • can be a benchmark
NHL · nhlscraper
bench_minors lower is better Bench integer
measure

Bench minors — too many men, and the like.

What it takes
  • folds: sum(bench_minors) avg(bench_minors) min(bench_minors) max(bench_minors) count(bench_minors) distinct(bench_minors) only(bench_minors) latest(bench_minors) top(bench_minors) mean(bench_minors) median(bench_minors) mode(bench_minors)
  • ranks: bench_minors_percentile
  • accumulates: as_of(bench_minors)
  • can be a benchmark
NHL · nhlscraper
pim lower is better PIM integer
measure

Penalty minutes. NHL.com

What it takes
  • folds: sum(pim) avg(pim) min(pim) max(pim) count(pim) distinct(pim) only(pim) latest(pim) top(pim) mean(pim) median(pim) mode(pim)
  • ranks: pim_percentile
  • accumulates: as_of(pim)
  • can be a benchmark
NHL · nhlscraper
penalties_drawn Drawn integer
measure

Penalties drawn on opponents.

Drawn starts in 2005

What it takes
  • folds: sum(penalties_drawn) avg(penalties_drawn) min(penalties_drawn) max(penalties_drawn) count(penalties_drawn) distinct(penalties_drawn) only(penalties_drawn) latest(penalties_drawn) top(penalties_drawn) mean(penalties_drawn) median(penalties_drawn) mode(penalties_drawn)
  • ranks: penalties_drawn_percentile
  • accumulates: as_of(penalties_drawn)
  • can be a benchmark
NHL · nhlscraper
net_penalties lower is better Net Pen integer
measure

Penalties taken less penalties drawn.

Net Pen starts in 2005

What it takes
  • folds: sum(net_penalties) avg(net_penalties) min(net_penalties) max(net_penalties) count(net_penalties) distinct(net_penalties) only(net_penalties) latest(net_penalties) top(net_penalties) mean(net_penalties) median(net_penalties) mode(net_penalties)
  • ranks: net_penalties_percentile
  • accumulates: as_of(net_penalties)
  • can be a benchmark
NHL · nhlscraper
gf_per_game GF/GP number
measure

Goals scored per game.

What it takes
  • folds: sum(gf_per_game) avg(gf_per_game) min(gf_per_game) max(gf_per_game) count(gf_per_game) distinct(gf_per_game) only(gf_per_game) latest(gf_per_game) top(gf_per_game) mean(gf_per_game) median(gf_per_game) mode(gf_per_game)
  • ranks: gf_per_game_percentile
  • accumulates: as_of(gf_per_game)
  • can be a benchmark
NHL · nhlscraper
ga_per_game lower is better GA/GP number
measure

Goals allowed per game.

What it takes
  • folds: sum(ga_per_game) avg(ga_per_game) min(ga_per_game) max(ga_per_game) count(ga_per_game) distinct(ga_per_game) only(ga_per_game) latest(ga_per_game) top(ga_per_game) mean(ga_per_game) median(ga_per_game) mode(ga_per_game)
  • ranks: ga_per_game_percentile
  • accumulates: as_of(ga_per_game)
  • can be a benchmark
NHL · nhlscraper
sf_per_game SF/GP number
measure

Shots on goal per game.

What it takes
  • folds: sum(sf_per_game) avg(sf_per_game) min(sf_per_game) max(sf_per_game) count(sf_per_game) distinct(sf_per_game) only(sf_per_game) latest(sf_per_game) top(sf_per_game) mean(sf_per_game) median(sf_per_game) mode(sf_per_game)
  • ranks: sf_per_game_percentile
  • accumulates: as_of(sf_per_game)
  • can be a benchmark
NHL · nhlscraper
sa_per_game lower is better SA/GP number
measure

Shots against per game.

What it takes
  • folds: sum(sa_per_game) avg(sa_per_game) min(sa_per_game) max(sa_per_game) count(sa_per_game) distinct(sa_per_game) only(sa_per_game) latest(sa_per_game) top(sa_per_game) mean(sa_per_game) median(sa_per_game) mode(sa_per_game)
  • ranks: sa_per_game_percentile
  • accumulates: as_of(sa_per_game)
  • can be a benchmark
NHL · nhlscraper
sv_pct SV% number
measure

Saves as a share of shots faced. NHL.com

What it takes
  • folds: sum(sv_pct) avg(sv_pct) min(sv_pct) max(sv_pct) count(sv_pct) distinct(sv_pct) only(sv_pct) latest(sv_pct) top(sv_pct) mean(sv_pct) median(sv_pct) mode(sv_pct)
  • ranks: sv_pct_percentile
  • accumulates: as_of(sv_pct)
  • can be a benchmark
NHL · nhlscraper
shutouts SO integer
measure

Games with no goals allowed. NHL.com

What it takes
  • folds: sum(shutouts) avg(shutouts) min(shutouts) max(shutouts) count(shutouts) distinct(shutouts) only(shutouts) latest(shutouts) top(shutouts) mean(shutouts) median(shutouts) mode(shutouts)
  • ranks: shutouts_percentile
  • accumulates: as_of(shutouts)
  • can be a benchmark
NHL · nhlscraper
pp_net_pct PP net% number
measure

Power-play percentage with short-handed goals allowed subtracted from the goals.

Power-play percentage with short-handed goals against subtracted

What it takes
  • folds: sum(pp_net_pct) avg(pp_net_pct) min(pp_net_pct) max(pp_net_pct) count(pp_net_pct) distinct(pp_net_pct) only(pp_net_pct) latest(pp_net_pct) top(pp_net_pct) mean(pp_net_pct) median(pp_net_pct) mode(pp_net_pct)
  • ranks: pp_net_pct_percentile
  • can be a benchmark
NHL · nhlscraper
pk_net_pct PK net% number
measure

Penalty-kill percentage with short-handed goals scored added to the kills.

What it takes
  • folds: sum(pk_net_pct) avg(pk_net_pct) min(pk_net_pct) max(pk_net_pct) count(pk_net_pct) distinct(pk_net_pct) only(pk_net_pct) latest(pk_net_pct) top(pk_net_pct) mean(pk_net_pct) median(pk_net_pct) mode(pk_net_pct)
  • ranks: pk_net_pct_percentile
  • can be a benchmark
NHL · nhlscraper
pp_toi_per_game PP TOI/GP number
measure

Power-play minutes per game.

PP TOI/GP starts in 1997

What it takes
  • folds: sum(pp_toi_per_game) avg(pp_toi_per_game) min(pp_toi_per_game) max(pp_toi_per_game) count(pp_toi_per_game) distinct(pp_toi_per_game) only(pp_toi_per_game) latest(pp_toi_per_game) top(pp_toi_per_game) mean(pp_toi_per_game) median(pp_toi_per_game) mode(pp_toi_per_game)
  • ranks: pp_toi_per_game_percentile
  • accumulates: as_of(pp_toi_per_game)
  • can be a benchmark
NHL · nhlscraper
pk_toi_per_game PK TOI/GP number
measure

Penalty-kill minutes per game.

PK TOI/GP starts in 1997

What it takes
  • folds: sum(pk_toi_per_game) avg(pk_toi_per_game) min(pk_toi_per_game) max(pk_toi_per_game) count(pk_toi_per_game) distinct(pk_toi_per_game) only(pk_toi_per_game) latest(pk_toi_per_game) top(pk_toi_per_game) mean(pk_toi_per_game) median(pk_toi_per_game) mode(pk_toi_per_game)
  • ranks: pk_toi_per_game_percentile
  • accumulates: as_of(pk_toi_per_game)
  • can be a benchmark
NHL · nhlscraper
cf CF integer
measure

Shot attempts the club took — SAT for.

CF starts in 2009

What it takes
  • folds: sum(cf) avg(cf) min(cf) max(cf) count(cf) distinct(cf) only(cf) latest(cf) top(cf) mean(cf) median(cf) mode(cf)
  • ranks: cf_percentile
  • accumulates: as_of(cf)
  • can be a benchmark
NHL · nhlscraper
ca lower is better CA integer
measure

Shot attempts the club faced.

CA starts in 2009

What it takes
  • folds: sum(ca) avg(ca) min(ca) max(ca) count(ca) distinct(ca) only(ca) latest(ca) top(ca) mean(ca) median(ca) mode(ca)
  • ranks: ca_percentile
  • accumulates: as_of(ca)
  • can be a benchmark
NHL · nhlscraper
cf_pct CF% number
measure

The club's attempts as a share of attempts for and against.

CF% starts in 2009

What it takes
  • folds: sum(cf_pct) avg(cf_pct) min(cf_pct) max(cf_pct) count(cf_pct) distinct(cf_pct) only(cf_pct) latest(cf_pct) top(cf_pct) mean(cf_pct) median(cf_pct) mode(cf_pct)
  • ranks: cf_pct_percentile
  • accumulates: as_of(cf_pct)
  • can be a benchmark
NHL · nhlscraper
cf_pct_close CF% close number
measure

CF% with the score within a goal.

CF% close starts in 2009

What it takes
  • folds: sum(cf_pct_close) avg(cf_pct_close) min(cf_pct_close) max(cf_pct_close) count(cf_pct_close) distinct(cf_pct_close) only(cf_pct_close) latest(cf_pct_close) top(cf_pct_close) mean(cf_pct_close) median(cf_pct_close) mode(cf_pct_close)
  • ranks: cf_pct_close_percentile
  • can be a benchmark
NHL · nhlscraper
cf_pct_tied CF% tied number
measure

CF% with the score level.

CF% tied starts in 2009

What it takes
  • folds: sum(cf_pct_tied) avg(cf_pct_tied) min(cf_pct_tied) max(cf_pct_tied) count(cf_pct_tied) distinct(cf_pct_tied) only(cf_pct_tied) latest(cf_pct_tied) top(cf_pct_tied) mean(cf_pct_tied) median(cf_pct_tied) mode(cf_pct_tied)
  • ranks: cf_pct_tied_percentile
  • can be a benchmark
NHL · nhlscraper
ff FF integer
measure

Unblocked attempts the club took.

FF starts in 2009

What it takes
  • folds: sum(ff) avg(ff) min(ff) max(ff) count(ff) distinct(ff) only(ff) latest(ff) top(ff) mean(ff) median(ff) mode(ff)
  • ranks: ff_percentile
  • accumulates: as_of(ff)
  • can be a benchmark
NHL · nhlscraper
fa lower is better FA integer
measure

Unblocked attempts the club faced.

FA starts in 2009

What it takes
  • folds: sum(fa) avg(fa) min(fa) max(fa) count(fa) distinct(fa) only(fa) latest(fa) top(fa) mean(fa) median(fa) mode(fa)
  • ranks: fa_percentile
  • accumulates: as_of(fa)
  • can be a benchmark
NHL · nhlscraper
ff_pct FF% number
measure

The club's unblocked attempts as a share of those for and against.

FF% starts in 2009

What it takes
  • folds: sum(ff_pct) avg(ff_pct) min(ff_pct) max(ff_pct) count(ff_pct) distinct(ff_pct) only(ff_pct) latest(ff_pct) top(ff_pct) mean(ff_pct) median(ff_pct) mode(ff_pct)
  • ranks: ff_pct_percentile
  • accumulates: as_of(ff_pct)
  • can be a benchmark
NHL · nhlscraper
sh_pct_5v5 S% 5v5 number
measure

The club's shooting percentage at five on five.

S% 5v5 starts in 2009

What it takes
  • folds: sum(sh_pct_5v5) avg(sh_pct_5v5) min(sh_pct_5v5) max(sh_pct_5v5) count(sh_pct_5v5) distinct(sh_pct_5v5) only(sh_pct_5v5) latest(sh_pct_5v5) top(sh_pct_5v5) mean(sh_pct_5v5) median(sh_pct_5v5) mode(sh_pct_5v5)
  • ranks: sh_pct_5v5_percentile
  • can be a benchmark
NHL · nhlscraper
sv_pct_5v5 SV% 5v5 number
measure

The club's save percentage at five on five.

SV% 5v5 starts in 2009

What it takes
  • folds: sum(sv_pct_5v5) avg(sv_pct_5v5) min(sv_pct_5v5) max(sv_pct_5v5) count(sv_pct_5v5) distinct(sv_pct_5v5) only(sv_pct_5v5) latest(sv_pct_5v5) top(sv_pct_5v5) mean(sv_pct_5v5) median(sv_pct_5v5) mode(sv_pct_5v5)
  • ranks: sv_pct_5v5_percentile
  • can be a benchmark
NHL · nhlscraper
pdo_5v5 PDO number
measure

The club's shooting plus save percentage at five on five. 100 is average.

Shooting plus save percentage at 5v5 — 100 is average

PDO starts in 2009

What it takes
  • folds: sum(pdo_5v5) avg(pdo_5v5) min(pdo_5v5) max(pdo_5v5) count(pdo_5v5) distinct(pdo_5v5) only(pdo_5v5) latest(pdo_5v5) top(pdo_5v5) mean(pdo_5v5) median(pdo_5v5) mode(pdo_5v5)
  • ranks: pdo_5v5_percentile
  • accumulates: as_of(pdo_5v5)
  • can be a benchmark
NHL · nhlscraper
oz_start_pct OZS% number
measure

Share of the club's five-on-five shifts that began in the offensive zone.

OZS% starts in 2009

What it takes
  • folds: sum(oz_start_pct) avg(oz_start_pct) min(oz_start_pct) max(oz_start_pct) count(oz_start_pct) distinct(oz_start_pct) only(oz_start_pct) latest(oz_start_pct) top(oz_start_pct) mean(oz_start_pct) median(oz_start_pct) mode(oz_start_pct)
  • ranks: oz_start_pct_percentile
  • can be a benchmark
NHL · nhlscraper
gf_pct GF% number
measure

The club's goals as a share of goals for and against.

GF% starts in 2009

What it takes
  • folds: sum(gf_pct) avg(gf_pct) min(gf_pct) max(gf_pct) count(gf_pct) distinct(gf_pct) only(gf_pct) latest(gf_pct) top(gf_pct) mean(gf_pct) median(gf_pct) mode(gf_pct)
  • ranks: gf_pct_percentile
  • accumulates: as_of(gf_pct)
  • can be a benchmark
NHL · nhlscraper
gf_5v5 GF 5v5 integer
measure

Goals scored at five on five.

GF 5v5 starts in 2009

What it takes
  • folds: sum(gf_5v5) avg(gf_5v5) min(gf_5v5) max(gf_5v5) count(gf_5v5) distinct(gf_5v5) only(gf_5v5) latest(gf_5v5) top(gf_5v5) mean(gf_5v5) median(gf_5v5) mode(gf_5v5)
  • ranks: gf_5v5_percentile
  • accumulates: as_of(gf_5v5)
  • can be a benchmark
NHL · nhlscraper
ga_5v5 lower is better GA 5v5 integer
measure

Goals allowed at five on five.

GA 5v5 starts in 2009

What it takes
  • folds: sum(ga_5v5) avg(ga_5v5) min(ga_5v5) max(ga_5v5) count(ga_5v5) distinct(ga_5v5) only(ga_5v5) latest(ga_5v5) top(ga_5v5) mean(ga_5v5) median(ga_5v5) mode(ga_5v5)
  • ranks: ga_5v5_percentile
  • accumulates: as_of(ga_5v5)
  • can be a benchmark
NHL · nhlscraper
gf_5v4 GF 5v4 integer
measure

Goals scored at five on four.

GF 5v4 starts in 2009

What it takes
  • folds: sum(gf_5v4) avg(gf_5v4) min(gf_5v4) max(gf_5v4) count(gf_5v4) distinct(gf_5v4) only(gf_5v4) latest(gf_5v4) top(gf_5v4) mean(gf_5v4) median(gf_5v4) mode(gf_5v4)
  • ranks: gf_5v4_percentile
  • accumulates: as_of(gf_5v4)
  • can be a benchmark
NHL · nhlscraper
ga_4v5 lower is better GA 4v5 integer
measure

Goals allowed at four on five.

GA 4v5 starts in 2009

What it takes
  • folds: sum(ga_4v5) avg(ga_4v5) min(ga_4v5) max(ga_4v5) count(ga_4v5) distinct(ga_4v5) only(ga_4v5) latest(ga_4v5) top(ga_4v5) mean(ga_4v5) median(ga_4v5) mode(ga_4v5)
  • ranks: ga_4v5_percentile
  • accumulates: as_of(ga_4v5)
  • can be a benchmark
NHL · nhlscraper
gf_4v5 GF 4v5 integer
measure

Goals scored at four on five — short-handed.

GF 4v5 starts in 2009

What it takes
  • folds: sum(gf_4v5) avg(gf_4v5) min(gf_4v5) max(gf_4v5) count(gf_4v5) distinct(gf_4v5) only(gf_4v5) latest(gf_4v5) top(gf_4v5) mean(gf_4v5) median(gf_4v5) mode(gf_4v5)
  • ranks: gf_4v5_percentile
  • accumulates: as_of(gf_4v5)
  • can be a benchmark
NHL · nhlscraper
gf_3v3 GF 3v3 integer
measure

Goals scored at three on three — overtime.

GF 3v3 starts in 2009

What it takes
  • folds: sum(gf_3v3) avg(gf_3v3) min(gf_3v3) max(gf_3v3) count(gf_3v3) distinct(gf_3v3) only(gf_3v3) latest(gf_3v3) top(gf_3v3) mean(gf_3v3) median(gf_3v3) mode(gf_3v3)
  • ranks: gf_3v3_percentile
  • accumulates: as_of(gf_3v3)
  • can be a benchmark
NHL · nhlscraper
ga_3v3 lower is better GA 3v3 integer
measure

Goals allowed at three on three.

GA 3v3 starts in 2009

What it takes
  • folds: sum(ga_3v3) avg(ga_3v3) min(ga_3v3) max(ga_3v3) count(ga_3v3) distinct(ga_3v3) only(ga_3v3) latest(ga_3v3) top(ga_3v3) mean(ga_3v3) median(ga_3v3) mode(ga_3v3)
  • ranks: ga_3v3_percentile
  • accumulates: as_of(ga_3v3)
  • can be a benchmark
NHL · nhlscraper
gf_en GF EN integer
measure

Goals scored into an empty net.

Goals into an empty net

GF EN starts in 2009

What it takes
  • folds: sum(gf_en) avg(gf_en) min(gf_en) max(gf_en) count(gf_en) distinct(gf_en) only(gf_en) latest(gf_en) top(gf_en) mean(gf_en) median(gf_en) mode(gf_en)
  • ranks: gf_en_percentile
  • accumulates: as_of(gf_en)
  • can be a benchmark
NHL · nhlscraper
ga_en lower is better GA EN integer
measure

Goals allowed with the goalie pulled.

Goals allowed with the goalie pulled

GA EN starts in 2009

What it takes
  • folds: sum(ga_en) avg(ga_en) min(ga_en) max(ga_en) count(ga_en) distinct(ga_en) only(ga_en) latest(ga_en) top(ga_en) mean(ga_en) median(ga_en) mode(ga_en)
  • ranks: ga_en_percentile
  • accumulates: as_of(ga_en)
  • can be a benchmark
NHL · nhlscraper
gf_extra_attacker GF 6v5 integer
measure

Goals scored with the goalie pulled for an extra attacker.

GF 6v5 starts in 2009

What it takes
  • folds: sum(gf_extra_attacker) avg(gf_extra_attacker) min(gf_extra_attacker) max(gf_extra_attacker) count(gf_extra_attacker) distinct(gf_extra_attacker) only(gf_extra_attacker) latest(gf_extra_attacker) top(gf_extra_attacker) mean(gf_extra_attacker) median(gf_extra_attacker) mode(gf_extra_attacker)
  • ranks: gf_extra_attacker_percentile
  • accumulates: as_of(gf_extra_attacker)
  • can be a benchmark
NHL · nhlscraper
gf_p1 GF P1 integer
measure

Goals scored in the first period.

What it takes
  • folds: sum(gf_p1) avg(gf_p1) min(gf_p1) max(gf_p1) count(gf_p1) distinct(gf_p1) only(gf_p1) latest(gf_p1) top(gf_p1) mean(gf_p1) median(gf_p1) mode(gf_p1)
  • ranks: gf_p1_percentile
  • accumulates: as_of(gf_p1)
  • can be a benchmark
NHL · nhlscraper
ga_p1 lower is better GA P1 integer
measure

Goals allowed in the first period.

What it takes
  • folds: sum(ga_p1) avg(ga_p1) min(ga_p1) max(ga_p1) count(ga_p1) distinct(ga_p1) only(ga_p1) latest(ga_p1) top(ga_p1) mean(ga_p1) median(ga_p1) mode(ga_p1)
  • ranks: ga_p1_percentile
  • accumulates: as_of(ga_p1)
  • can be a benchmark
NHL · nhlscraper
gf_p2 GF P2 integer
measure

Goals scored in the second period.

What it takes
  • folds: sum(gf_p2) avg(gf_p2) min(gf_p2) max(gf_p2) count(gf_p2) distinct(gf_p2) only(gf_p2) latest(gf_p2) top(gf_p2) mean(gf_p2) median(gf_p2) mode(gf_p2)
  • ranks: gf_p2_percentile
  • accumulates: as_of(gf_p2)
  • can be a benchmark
NHL · nhlscraper
ga_p2 lower is better GA P2 integer
measure

Goals allowed in the second period.

What it takes
  • folds: sum(ga_p2) avg(ga_p2) min(ga_p2) max(ga_p2) count(ga_p2) distinct(ga_p2) only(ga_p2) latest(ga_p2) top(ga_p2) mean(ga_p2) median(ga_p2) mode(ga_p2)
  • ranks: ga_p2_percentile
  • accumulates: as_of(ga_p2)
  • can be a benchmark
NHL · nhlscraper
gf_p3 GF P3 integer
measure

Goals scored in the third period.

What it takes
  • folds: sum(gf_p3) avg(gf_p3) min(gf_p3) max(gf_p3) count(gf_p3) distinct(gf_p3) only(gf_p3) latest(gf_p3) top(gf_p3) mean(gf_p3) median(gf_p3) mode(gf_p3)
  • ranks: gf_p3_percentile
  • accumulates: as_of(gf_p3)
  • can be a benchmark
NHL · nhlscraper
ga_p3 lower is better GA P3 integer
measure

Goals allowed in the third period.

What it takes
  • folds: sum(ga_p3) avg(ga_p3) min(ga_p3) max(ga_p3) count(ga_p3) distinct(ga_p3) only(ga_p3) latest(ga_p3) top(ga_p3) mean(ga_p3) median(ga_p3) mode(ga_p3)
  • ranks: ga_p3_percentile
  • accumulates: as_of(ga_p3)
  • can be a benchmark
NHL · nhlscraper
gf_ot GF OT integer
measure

Goals scored in overtime.

What it takes
  • folds: sum(gf_ot) avg(gf_ot) min(gf_ot) max(gf_ot) count(gf_ot) distinct(gf_ot) only(gf_ot) latest(gf_ot) top(gf_ot) mean(gf_ot) median(gf_ot) mode(gf_ot)
  • ranks: gf_ot_percentile
  • accumulates: as_of(gf_ot)
  • can be a benchmark
NHL · nhlscraper
ga_ot lower is better GA OT integer
measure

Goals allowed in overtime.

What it takes
  • folds: sum(ga_ot) avg(ga_ot) min(ga_ot) max(ga_ot) count(ga_ot) distinct(ga_ot) only(ga_ot) latest(ga_ot) top(ga_ot) mean(ga_ot) median(ga_ot) mode(ga_ot)
  • ranks: ga_ot_percentile
  • accumulates: as_of(ga_ot)
  • can be a benchmark
NHL · nhlscraper
wins_leading_p1 W lead P1 integer
measure

Wins when leading after the first period.

Wins when leading after the first period

What it takes
  • folds: sum(wins_leading_p1) avg(wins_leading_p1) min(wins_leading_p1) max(wins_leading_p1) count(wins_leading_p1) distinct(wins_leading_p1) only(wins_leading_p1) latest(wins_leading_p1) top(wins_leading_p1) mean(wins_leading_p1) median(wins_leading_p1) mode(wins_leading_p1)
  • ranks: wins_leading_p1_percentile
  • accumulates: as_of(wins_leading_p1)
  • can be a benchmark
NHL · nhlscraper
losses_leading_p1 lower is better L lead P1 integer
measure

Losses when leading after the first period.

What it takes
  • folds: sum(losses_leading_p1) avg(losses_leading_p1) min(losses_leading_p1) max(losses_leading_p1) count(losses_leading_p1) distinct(losses_leading_p1) only(losses_leading_p1) latest(losses_leading_p1) top(losses_leading_p1) mean(losses_leading_p1) median(losses_leading_p1) mode(losses_leading_p1)
  • ranks: losses_leading_p1_percentile
  • accumulates: as_of(losses_leading_p1)
  • can be a benchmark
NHL · nhlscraper
wins_trailing_p1 W trail P1 integer
measure

Wins when trailing after the first period.

What it takes
  • folds: sum(wins_trailing_p1) avg(wins_trailing_p1) min(wins_trailing_p1) max(wins_trailing_p1) count(wins_trailing_p1) distinct(wins_trailing_p1) only(wins_trailing_p1) latest(wins_trailing_p1) top(wins_trailing_p1) mean(wins_trailing_p1) median(wins_trailing_p1) mode(wins_trailing_p1)
  • ranks: wins_trailing_p1_percentile
  • accumulates: as_of(wins_trailing_p1)
  • can be a benchmark
NHL · nhlscraper
wins_leading_p2 W lead P2 integer
measure

Wins when leading after two periods.

What it takes
  • folds: sum(wins_leading_p2) avg(wins_leading_p2) min(wins_leading_p2) max(wins_leading_p2) count(wins_leading_p2) distinct(wins_leading_p2) only(wins_leading_p2) latest(wins_leading_p2) top(wins_leading_p2) mean(wins_leading_p2) median(wins_leading_p2) mode(wins_leading_p2)
  • ranks: wins_leading_p2_percentile
  • accumulates: as_of(wins_leading_p2)
  • can be a benchmark
NHL · nhlscraper
losses_leading_p2 lower is better L lead P2 integer
measure

Losses when leading after two periods.

What it takes
  • folds: sum(losses_leading_p2) avg(losses_leading_p2) min(losses_leading_p2) max(losses_leading_p2) count(losses_leading_p2) distinct(losses_leading_p2) only(losses_leading_p2) latest(losses_leading_p2) top(losses_leading_p2) mean(losses_leading_p2) median(losses_leading_p2) mode(losses_leading_p2)
  • ranks: losses_leading_p2_percentile
  • accumulates: as_of(losses_leading_p2)
  • can be a benchmark
NHL · nhlscraper
wins_trailing_p2 W trail P2 integer
measure

Wins when trailing after two periods.

What it takes
  • folds: sum(wins_trailing_p2) avg(wins_trailing_p2) min(wins_trailing_p2) max(wins_trailing_p2) count(wins_trailing_p2) distinct(wins_trailing_p2) only(wins_trailing_p2) latest(wins_trailing_p2) top(wins_trailing_p2) mean(wins_trailing_p2) median(wins_trailing_p2) mode(wins_trailing_p2)
  • ranks: wins_trailing_p2_percentile
  • accumulates: as_of(wins_trailing_p2)
  • can be a benchmark
NHL · nhlscraper
win_pct_leading_p2 W% lead P2 number
measure

Win percentage when leading after two periods.

What it takes
  • folds: sum(win_pct_leading_p2) avg(win_pct_leading_p2) min(win_pct_leading_p2) max(win_pct_leading_p2) count(win_pct_leading_p2) distinct(win_pct_leading_p2) only(win_pct_leading_p2) latest(win_pct_leading_p2) top(win_pct_leading_p2) mean(win_pct_leading_p2) median(win_pct_leading_p2) mode(win_pct_leading_p2)
  • ranks: win_pct_leading_p2_percentile
  • accumulates: as_of(win_pct_leading_p2)
  • can be a benchmark
NHL · nhlscraper
win_pct_trailing_p2 W% trail P2 number
measure

Win percentage when trailing after two periods.

What it takes
  • folds: sum(win_pct_trailing_p2) avg(win_pct_trailing_p2) min(win_pct_trailing_p2) max(win_pct_trailing_p2) count(win_pct_trailing_p2) distinct(win_pct_trailing_p2) only(win_pct_trailing_p2) latest(win_pct_trailing_p2) top(win_pct_trailing_p2) mean(win_pct_trailing_p2) median(win_pct_trailing_p2) mode(win_pct_trailing_p2)
  • ranks: win_pct_trailing_p2_percentile
  • accumulates: as_of(win_pct_trailing_p2)
  • can be a benchmark
NHL · nhlscraper
wins_scoring_first W 1st integer
measure

Wins when scoring first.

What it takes
  • folds: sum(wins_scoring_first) avg(wins_scoring_first) min(wins_scoring_first) max(wins_scoring_first) count(wins_scoring_first) distinct(wins_scoring_first) only(wins_scoring_first) latest(wins_scoring_first) top(wins_scoring_first) mean(wins_scoring_first) median(wins_scoring_first) mode(wins_scoring_first)
  • ranks: wins_scoring_first_percentile
  • accumulates: as_of(wins_scoring_first)
  • can be a benchmark
NHL · nhlscraper
losses_scoring_first lower is better L 1st integer
measure

Losses when scoring first.

What it takes
  • folds: sum(losses_scoring_first) avg(losses_scoring_first) min(losses_scoring_first) max(losses_scoring_first) count(losses_scoring_first) distinct(losses_scoring_first) only(losses_scoring_first) latest(losses_scoring_first) top(losses_scoring_first) mean(losses_scoring_first) median(losses_scoring_first) mode(losses_scoring_first)
  • ranks: losses_scoring_first_percentile
  • accumulates: as_of(losses_scoring_first)
  • can be a benchmark
NHL · nhlscraper
wins_trailing_first W trail 1st integer
measure

Wins when the other club scored first.

What it takes
  • folds: sum(wins_trailing_first) avg(wins_trailing_first) min(wins_trailing_first) max(wins_trailing_first) count(wins_trailing_first) distinct(wins_trailing_first) only(wins_trailing_first) latest(wins_trailing_first) top(wins_trailing_first) mean(wins_trailing_first) median(wins_trailing_first) mode(wins_trailing_first)
  • ranks: wins_trailing_first_percentile
  • accumulates: as_of(wins_trailing_first)
  • can be a benchmark
NHL · nhlscraper
win_pct_scoring_first W% 1st number
measure

Win percentage when scoring first.

What it takes
  • folds: sum(win_pct_scoring_first) avg(win_pct_scoring_first) min(win_pct_scoring_first) max(win_pct_scoring_first) count(win_pct_scoring_first) distinct(win_pct_scoring_first) only(win_pct_scoring_first) latest(win_pct_scoring_first) top(win_pct_scoring_first) mean(win_pct_scoring_first) median(win_pct_scoring_first) mode(win_pct_scoring_first)
  • ranks: win_pct_scoring_first_percentile
  • accumulates: as_of(win_pct_scoring_first)
  • can be a benchmark
NHL · nhlscraper
win_pct_trailing_first W% trail 1st number
measure

Win percentage when the other club scored first.

What it takes
  • folds: sum(win_pct_trailing_first) avg(win_pct_trailing_first) min(win_pct_trailing_first) max(win_pct_trailing_first) count(win_pct_trailing_first) distinct(win_pct_trailing_first) only(win_pct_trailing_first) latest(win_pct_trailing_first) top(win_pct_trailing_first) mean(win_pct_trailing_first) median(win_pct_trailing_first) mode(win_pct_trailing_first)
  • ranks: win_pct_trailing_first_percentile
  • accumulates: as_of(win_pct_trailing_first)
  • can be a benchmark
NHL · nhlscraper
wins_outshooting W outshoot integer
measure

Wins when outshooting the opponent.

W outshoot starts in 1959

What it takes
  • folds: sum(wins_outshooting) avg(wins_outshooting) min(wins_outshooting) max(wins_outshooting) count(wins_outshooting) distinct(wins_outshooting) only(wins_outshooting) latest(wins_outshooting) top(wins_outshooting) mean(wins_outshooting) median(wins_outshooting) mode(wins_outshooting)
  • ranks: wins_outshooting_percentile
  • accumulates: as_of(wins_outshooting)
  • can be a benchmark
NHL · nhlscraper
wins_outshot W outshot integer
measure

Wins when outshot.

W outshot starts in 1959

What it takes
  • folds: sum(wins_outshot) avg(wins_outshot) min(wins_outshot) max(wins_outshot) count(wins_outshot) distinct(wins_outshot) only(wins_outshot) latest(wins_outshot) top(wins_outshot) mean(wins_outshot) median(wins_outshot) mode(wins_outshot)
  • ranks: wins_outshot_percentile
  • accumulates: as_of(wins_outshot)
  • can be a benchmark
NHL · nhlscraper
losses_outshooting lower is better L outshoot integer
measure

Losses when outshooting the opponent.

L outshoot starts in 1959

What it takes
  • folds: sum(losses_outshooting) avg(losses_outshooting) min(losses_outshooting) max(losses_outshooting) count(losses_outshooting) distinct(losses_outshooting) only(losses_outshooting) latest(losses_outshooting) top(losses_outshooting) mean(losses_outshooting) median(losses_outshooting) mode(losses_outshooting)
  • ranks: losses_outshooting_percentile
  • accumulates: as_of(losses_outshooting)
  • can be a benchmark
NHL · nhlscraper
one_goal_wins 1G W integer
measure

Wins by one goal.

What it takes
  • folds: sum(one_goal_wins) avg(one_goal_wins) min(one_goal_wins) max(one_goal_wins) count(one_goal_wins) distinct(one_goal_wins) only(one_goal_wins) latest(one_goal_wins) top(one_goal_wins) mean(one_goal_wins) median(one_goal_wins) mode(one_goal_wins)
  • ranks: one_goal_wins_percentile
  • accumulates: as_of(one_goal_wins)
  • can be a benchmark
NHL · nhlscraper
one_goal_losses lower is better 1G L integer
measure

Losses by one goal.

What it takes
  • folds: sum(one_goal_losses) avg(one_goal_losses) min(one_goal_losses) max(one_goal_losses) count(one_goal_losses) distinct(one_goal_losses) only(one_goal_losses) latest(one_goal_losses) top(one_goal_losses) mean(one_goal_losses) median(one_goal_losses) mode(one_goal_losses)
  • ranks: one_goal_losses_percentile
  • accumulates: as_of(one_goal_losses)
  • can be a benchmark
NHL · nhlscraper
one_goal_ot_losses lower is better 1G OTL integer
measure

Overtime and shootout losses — which are one-goal games by definition.

What it takes
  • folds: sum(one_goal_ot_losses) avg(one_goal_ot_losses) min(one_goal_ot_losses) max(one_goal_ot_losses) count(one_goal_ot_losses) distinct(one_goal_ot_losses) only(one_goal_ot_losses) latest(one_goal_ot_losses) top(one_goal_ot_losses) mean(one_goal_ot_losses) median(one_goal_ot_losses) mode(one_goal_ot_losses)
  • ranks: one_goal_ot_losses_percentile
  • accumulates: as_of(one_goal_ot_losses)
  • can be a benchmark
NHL · nhlscraper
one_goal_win_pct 1G W% number
measure

Win percentage in one-goal games.

What it takes
  • folds: sum(one_goal_win_pct) avg(one_goal_win_pct) min(one_goal_win_pct) max(one_goal_win_pct) count(one_goal_win_pct) distinct(one_goal_win_pct) only(one_goal_win_pct) latest(one_goal_win_pct) top(one_goal_win_pct) mean(one_goal_win_pct) median(one_goal_win_pct) mode(one_goal_win_pct)
  • ranks: one_goal_win_pct_percentile
  • accumulates: as_of(one_goal_win_pct)
  • can be a benchmark
NHL · nhlscraper
two_goal_wins 2G W integer
measure

Wins by two goals.

What it takes
  • folds: sum(two_goal_wins) avg(two_goal_wins) min(two_goal_wins) max(two_goal_wins) count(two_goal_wins) distinct(two_goal_wins) only(two_goal_wins) latest(two_goal_wins) top(two_goal_wins) mean(two_goal_wins) median(two_goal_wins) mode(two_goal_wins)
  • ranks: two_goal_wins_percentile
  • accumulates: as_of(two_goal_wins)
  • can be a benchmark
NHL · nhlscraper
three_goal_wins 3G+ W integer
measure

Wins by three or more.

What it takes
  • folds: sum(three_goal_wins) avg(three_goal_wins) min(three_goal_wins) max(three_goal_wins) count(three_goal_wins) distinct(three_goal_wins) only(three_goal_wins) latest(three_goal_wins) top(three_goal_wins) mean(three_goal_wins) median(three_goal_wins) mode(three_goal_wins)
  • ranks: three_goal_wins_percentile
  • accumulates: as_of(three_goal_wins)
  • can be a benchmark
NHL · nhlscraper
three_goal_losses lower is better 3G+ L integer
measure

Losses by three or more.

What it takes
  • folds: sum(three_goal_losses) avg(three_goal_losses) min(three_goal_losses) max(three_goal_losses) count(three_goal_losses) distinct(three_goal_losses) only(three_goal_losses) latest(three_goal_losses) top(three_goal_losses) mean(three_goal_losses) median(three_goal_losses) mode(three_goal_losses)
  • ranks: three_goal_losses_percentile
  • accumulates: as_of(three_goal_losses)
  • can be a benchmark
NHL · nhlscraper
goals_wrist G Wrist integer
measure

Goals on wrist shots.

G Wrist starts in 2009

What it takes
  • folds: sum(goals_wrist) avg(goals_wrist) min(goals_wrist) max(goals_wrist) count(goals_wrist) distinct(goals_wrist) only(goals_wrist) latest(goals_wrist) top(goals_wrist) mean(goals_wrist) median(goals_wrist) mode(goals_wrist)
  • ranks: goals_wrist_percentile
  • accumulates: as_of(goals_wrist)
  • can be a benchmark
NHL · nhlscraper
goals_snap G Snap integer
measure

Goals on snap shots.

G Snap starts in 2009

What it takes
  • folds: sum(goals_snap) avg(goals_snap) min(goals_snap) max(goals_snap) count(goals_snap) distinct(goals_snap) only(goals_snap) latest(goals_snap) top(goals_snap) mean(goals_snap) median(goals_snap) mode(goals_snap)
  • ranks: goals_snap_percentile
  • accumulates: as_of(goals_snap)
  • can be a benchmark
NHL · nhlscraper
goals_slap G Slap integer
measure

Goals on slap shots.

G Slap starts in 2009

What it takes
  • folds: sum(goals_slap) avg(goals_slap) min(goals_slap) max(goals_slap) count(goals_slap) distinct(goals_slap) only(goals_slap) latest(goals_slap) top(goals_slap) mean(goals_slap) median(goals_slap) mode(goals_slap)
  • ranks: goals_slap_percentile
  • accumulates: as_of(goals_slap)
  • can be a benchmark
NHL · nhlscraper
goals_backhand G Back integer
measure

Goals on backhands.

G Back starts in 2009

What it takes
  • folds: sum(goals_backhand) avg(goals_backhand) min(goals_backhand) max(goals_backhand) count(goals_backhand) distinct(goals_backhand) only(goals_backhand) latest(goals_backhand) top(goals_backhand) mean(goals_backhand) median(goals_backhand) mode(goals_backhand)
  • ranks: goals_backhand_percentile
  • accumulates: as_of(goals_backhand)
  • can be a benchmark
NHL · nhlscraper
goals_tip G Tip integer
measure

Goals on tip-ins.

G Tip starts in 2009

What it takes
  • folds: sum(goals_tip) avg(goals_tip) min(goals_tip) max(goals_tip) count(goals_tip) distinct(goals_tip) only(goals_tip) latest(goals_tip) top(goals_tip) mean(goals_tip) median(goals_tip) mode(goals_tip)
  • ranks: goals_tip_percentile
  • accumulates: as_of(goals_tip)
  • can be a benchmark
NHL · nhlscraper
goals_deflected G Defl integer
measure

Goals on deflections.

G Defl starts in 2009

What it takes
  • folds: sum(goals_deflected) avg(goals_deflected) min(goals_deflected) max(goals_deflected) count(goals_deflected) distinct(goals_deflected) only(goals_deflected) latest(goals_deflected) top(goals_deflected) mean(goals_deflected) median(goals_deflected) mode(goals_deflected)
  • ranks: goals_deflected_percentile
  • accumulates: as_of(goals_deflected)
  • can be a benchmark
NHL · nhlscraper
shooting_pct S% number
measure

The club's goals as a share of its shots on goal.

S% starts in 2009

What it takes
  • folds: sum(shooting_pct) avg(shooting_pct) min(shooting_pct) max(shooting_pct) count(shooting_pct) distinct(shooting_pct) only(shooting_pct) latest(shooting_pct) top(shooting_pct) mean(shooting_pct) median(shooting_pct) mode(shooting_pct)
  • ranks: shooting_pct_percentile
  • accumulates: as_of(shooting_pct)
  • can be a benchmark
NHL · nhlscraper
so_games SO GP integer
measure

Games that went to a shootout.

SO GP starts in 2005

What it takes
  • folds: sum(so_games) avg(so_games) min(so_games) max(so_games) count(so_games) distinct(so_games) only(so_games) latest(so_games) top(so_games) mean(so_games) median(so_games) mode(so_games)
  • ranks: so_games_percentile
  • accumulates: as_of(so_games)
  • can be a benchmark
NHL · nhlscraper
so_losses lower is better SO L integer
measure

Losses decided in a shootout. NHL.com

SO L starts in 2005

What it takes
  • folds: sum(so_losses) avg(so_losses) min(so_losses) max(so_losses) count(so_losses) distinct(so_losses) only(so_losses) latest(so_losses) top(so_losses) mean(so_losses) median(so_losses) mode(so_losses)
  • ranks: so_losses_percentile
  • accumulates: as_of(so_losses)
  • can be a benchmark
NHL · nhlscraper
so_shooting_pct SO S% number
measure

Shootout goals as a share of attempts.

SO S% starts in 2005

What it takes
  • folds: sum(so_shooting_pct) avg(so_shooting_pct) min(so_shooting_pct) max(so_shooting_pct) count(so_shooting_pct) distinct(so_shooting_pct) only(so_shooting_pct) latest(so_shooting_pct) top(so_shooting_pct) mean(so_shooting_pct) median(so_shooting_pct) mode(so_shooting_pct)
  • ranks: so_shooting_pct_percentile
  • accumulates: as_of(so_shooting_pct)
  • can be a benchmark
NHL · nhlscraper
so_sv_pct SO SV% number
measure

Shootout attempts stopped as a share of those faced.

SO SV% starts in 2005

What it takes
  • folds: sum(so_sv_pct) avg(so_sv_pct) min(so_sv_pct) max(so_sv_pct) count(so_sv_pct) distinct(so_sv_pct) only(so_sv_pct) latest(so_sv_pct) top(so_sv_pct) mean(so_sv_pct) median(so_sv_pct) mode(so_sv_pct)
  • ranks: so_sv_pct_percentile
  • can be a benchmark
NHL · nhlscraper
goals_5v4 PPG 5v4 integer
measure

Power-play goals at five on four.

PPG 5v4 starts in 2009

What it takes
  • folds: sum(goals_5v4) avg(goals_5v4) min(goals_5v4) max(goals_5v4) count(goals_5v4) distinct(goals_5v4) only(goals_5v4) latest(goals_5v4) top(goals_5v4) mean(goals_5v4) median(goals_5v4) mode(goals_5v4)
  • ranks: goals_5v4_percentile
  • accumulates: as_of(goals_5v4)
  • can be a benchmark
NHL · nhlscraper
opportunities_5v4 PPO 5v4 integer
measure

Power plays at five on four.

PPO 5v4 starts in 2009

What it takes
  • folds: sum(opportunities_5v4) avg(opportunities_5v4) min(opportunities_5v4) max(opportunities_5v4) count(opportunities_5v4) distinct(opportunities_5v4) only(opportunities_5v4) latest(opportunities_5v4) top(opportunities_5v4) mean(opportunities_5v4) median(opportunities_5v4) mode(opportunities_5v4)
  • ranks: opportunities_5v4_percentile
  • accumulates: as_of(opportunities_5v4)
  • can be a benchmark
NHL · nhlscraper
pp_pct_5v4 PP% 5v4 number
measure

Power-play percentage at five on four.

PP% 5v4 starts in 2009

What it takes
  • folds: sum(pp_pct_5v4) avg(pp_pct_5v4) min(pp_pct_5v4) max(pp_pct_5v4) count(pp_pct_5v4) distinct(pp_pct_5v4) only(pp_pct_5v4) latest(pp_pct_5v4) top(pp_pct_5v4) mean(pp_pct_5v4) median(pp_pct_5v4) mode(pp_pct_5v4)
  • ranks: pp_pct_5v4_percentile
  • accumulates: as_of(pp_pct_5v4)
  • can be a benchmark
NHL · nhlscraper
pp_toi_5v4 PP TOI 5v4 number
measure

Minutes on the power play at five on four.

PP TOI 5v4 starts in 2009

What it takes
  • folds: sum(pp_toi_5v4) avg(pp_toi_5v4) min(pp_toi_5v4) max(pp_toi_5v4) count(pp_toi_5v4) distinct(pp_toi_5v4) only(pp_toi_5v4) latest(pp_toi_5v4) top(pp_toi_5v4) mean(pp_toi_5v4) median(pp_toi_5v4) mode(pp_toi_5v4)
  • ranks: pp_toi_5v4_percentile
  • accumulates: as_of(pp_toi_5v4)
  • can be a benchmark
NHL · nhlscraper
goals_5v3 PPG 5v3 integer
measure

Power-play goals at five on three.

PPG 5v3 starts in 2009

What it takes
  • folds: sum(goals_5v3) avg(goals_5v3) min(goals_5v3) max(goals_5v3) count(goals_5v3) distinct(goals_5v3) only(goals_5v3) latest(goals_5v3) top(goals_5v3) mean(goals_5v3) median(goals_5v3) mode(goals_5v3)
  • ranks: goals_5v3_percentile
  • accumulates: as_of(goals_5v3)
  • can be a benchmark
NHL · nhlscraper
opportunities_5v3 PPO 5v3 integer
measure

Power plays at five on three.

PPO 5v3 starts in 2009

What it takes
  • folds: sum(opportunities_5v3) avg(opportunities_5v3) min(opportunities_5v3) max(opportunities_5v3) count(opportunities_5v3) distinct(opportunities_5v3) only(opportunities_5v3) latest(opportunities_5v3) top(opportunities_5v3) mean(opportunities_5v3) median(opportunities_5v3) mode(opportunities_5v3)
  • ranks: opportunities_5v3_percentile
  • accumulates: as_of(opportunities_5v3)
  • can be a benchmark
NHL · nhlscraper
pp_pct_5v3 PP% 5v3 number
measure

Power-play percentage at five on three.

PP% 5v3 starts in 2009

What it takes
  • folds: sum(pp_pct_5v3) avg(pp_pct_5v3) min(pp_pct_5v3) max(pp_pct_5v3) count(pp_pct_5v3) distinct(pp_pct_5v3) only(pp_pct_5v3) latest(pp_pct_5v3) top(pp_pct_5v3) mean(pp_pct_5v3) median(pp_pct_5v3) mode(pp_pct_5v3)
  • ranks: pp_pct_5v3_percentile
  • can be a benchmark
NHL · nhlscraper
times_shorthanded_4v5 TSH 4v5 integer
measure

Times short-handed at four on five.

TSH 4v5 starts in 2009

What it takes
  • folds: sum(times_shorthanded_4v5) avg(times_shorthanded_4v5) min(times_shorthanded_4v5) max(times_shorthanded_4v5) count(times_shorthanded_4v5) distinct(times_shorthanded_4v5) only(times_shorthanded_4v5) latest(times_shorthanded_4v5) top(times_shorthanded_4v5) mean(times_shorthanded_4v5) median(times_shorthanded_4v5) mode(times_shorthanded_4v5)
  • ranks: times_shorthanded_4v5_percentile
  • accumulates: as_of(times_shorthanded_4v5)
  • can be a benchmark
NHL · nhlscraper
pk_pct_4v5 PK% 4v5 number
measure

Penalty-kill percentage at four on five.

PK% 4v5 starts in 2009

What it takes
  • folds: sum(pk_pct_4v5) avg(pk_pct_4v5) min(pk_pct_4v5) max(pk_pct_4v5) count(pk_pct_4v5) distinct(pk_pct_4v5) only(pk_pct_4v5) latest(pk_pct_4v5) top(pk_pct_4v5) mean(pk_pct_4v5) median(pk_pct_4v5) mode(pk_pct_4v5)
  • ranks: pk_pct_4v5_percentile
  • accumulates: as_of(pk_pct_4v5)
  • can be a benchmark
NHL · nhlscraper
pk_toi_4v5 PK TOI 4v5 number
measure

Minutes killing penalties at four on five.

PK TOI 4v5 starts in 2009

What it takes
  • folds: sum(pk_toi_4v5) avg(pk_toi_4v5) min(pk_toi_4v5) max(pk_toi_4v5) count(pk_toi_4v5) distinct(pk_toi_4v5) only(pk_toi_4v5) latest(pk_toi_4v5) top(pk_toi_4v5) mean(pk_toi_4v5) median(pk_toi_4v5) mode(pk_toi_4v5)
  • ranks: pk_toi_4v5_percentile
  • accumulates: as_of(pk_toi_4v5)
  • can be a benchmark
NHL · nhlscraper
pk_pct_3v5 PK% 3v5 number
measure

Penalty-kill percentage at three on five.

PK% 3v5 starts in 2009

What it takes
  • folds: sum(pk_pct_3v5) avg(pk_pct_3v5) min(pk_pct_3v5) max(pk_pct_3v5) count(pk_pct_3v5) distinct(pk_pct_3v5) only(pk_pct_3v5) latest(pk_pct_3v5) top(pk_pct_3v5) mean(pk_pct_3v5) median(pk_pct_3v5) mode(pk_pct_3v5)
  • ranks: pk_pct_3v5_percentile
  • can be a benchmark
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Rates this table names 2

win_pct W%

built from sum(wins) sum(games)

Wins over games played.

from nhl.teams
select team, win_pct
group by team
order by win_pct desc
limit 10

points_per_game Pts/GP

built from sum(points) sum(games)

Standings points per game played.

from nhl.teams
select team, points_per_game
group by team
order by points_per_game desc
limit 10
Operators on this table 38 available, 5 not

from

The one table a query reads

from nhl.teams
select team, season, games, wins, losses, ot_losses, points, goal_diff, playoff_result
order by points desc
limit 100

select

The columns the answer carries

from nhl.teams
select team, season, games, wins, losses, ot_losses, points, goal_diff, playoff_result
order by points desc
limit 100

as

Renames a column's heading and nothing else

from nhl.teams
select team, season, games as GP
order by games desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.teams
where season = $year
select team, season, games
order by games desc
limit 10

limit

How many rows come back

from nhl.teams
select team, season, games, wins, losses, ot_losses, points, goal_diff, playoff_result
order by points desc
limit 100

order by

Which end of the answer comes first

from nhl.teams
select team, season, games
order by games desc
limit 10

#

A comment, to the end of the line

# Club seasons — One row per club per season since 1917-18 — the standings line, special teams, possession, every situational split, and where the playoffs ended.
from nhl.teams
select team, season, games, wins, losses, ot_losses, points, goal_diff, playoff_result
order by points desc
limit 100

where

Chooses the rows the question is about

from nhl.teams
where season = 2026
select team, games
order by games desc
limit 10

and

Continues whichever filter clause came last

from nhl.teams
where season = 2026 and games > 0
select team, games
order by games desc
limit 10

having

Filters the groups a fold made

from nhl.teams
select team, sum(games)
group by team
having sum(games) > 0
order by sum(games) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.teams
where season = 2026
select team, games, games_percentile
keep games_percentile >= 90
order by games_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.teams
select team, season, games
highlight season = 2026
order by games desc
limit 10

of

A threshold that is another row rather than a number

from nhl.teams
where games >= max(games) of season 2026
select team, games
order by games desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.teams
select team, count(*), sum(games)
group by team
order by sum(games) desc
limit 10

then

Folds the answer a second time

from nhl.teams
select team, season, count(*)
group by team, season
having count(*) > 10
then
select team, count(*) as Seasons
group by team
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.teams
select team, season, sum(games)
group by team, season
pivot by season
limit 25

first / last

Only part of each career, before anything else runs

from nhl.teams
first 3 seasons
select team, sum(games)
group by team
order by sum(games) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.teams
select team, sum(games)
group by team
order by sum(games) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.teams
select team, avg(games)
group by team
order by avg(games) desc
limit 10

min(…)

The smallest value in each group

from nhl.teams
select team, min(games)
group by team
order by min(games) desc
limit 10

max(…)

The largest value in each group

from nhl.teams
select team, max(games)
group by team
order by max(games) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.teams
select team, count(games)
group by team
order by count(games) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.teams
select team, distinct(season)
group by team
order by distinct(season) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.teams
where season = 2026
select team, only(season)
group by team
order by only(season) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.teams
select team, latest(team)
group by team
order by count(*) desc
limit 10

top(…)

The value on the group's biggest row

from nhl.teams
select team, top(team)
group by team
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.teams
select team, mean(games)
group by team
order by mean(games) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.teams
select team, median(games)
group by team
order by median(games) desc
limit 10

mode(…)

The commonest value in the group

from nhl.teams
select team, mode(team)
group by team
order by count(*) desc
limit 10

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.teams
where season = 2026
select team, games, games_percentile
order by games_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.teams
select team, sum(games), percentile(sum(games))
group by team
order by sum(games) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.teams
where season = 2026
select team, games, standing(games)
order by games desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.teams
where season = 2026
select team, league_rank, conference_rank, composite(league_rank, conference_rank)
order by composite(league_rank, conference_rank) desc
limit 10

ratio(…)

One column divided by another

from nhl.teams
select team, count(*), ratio(sum(games), count(*))
group by team
order by ratio(sum(games), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.teams
where season = 2026
select team, league_rank, conference_rank, calc(standing(league_rank) - standing(conference_rank))
order by calc(standing(league_rank) - standing(conference_rank)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.teams
select team, games, format(games, > 0 -> "on the board", <= 0 -> "nothing yet")
order by games desc
limit 10

pair

Draws two columns of the answer in one

from nhl.teams
where season = 2026
select team, games, games_percentile
pair games with games_percentile
order by games desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.teams
where season = 2026
select team, league_rank, conference_rank, division_rank, composite(league_rank, conference_rank, division_rank) as Score
hint composite(league_rank, conference_rank, division_rank) as "Lg# + Conf# + Div#"
order by composite(league_rank, conference_rank, division_rank) desc
limit 10

Not on this table

  • year(…) — this table has no date column to read a period off
  • quarter(…) — this table has no date column to read a period off
  • month(…) — this table has no date column to read a period off
  • week(…) — this table has no date column to read a period off
  • as_of(…) — this table has no time axis to accumulate along

nhl.team_games Club games

One row per club per game since 1917-18 — the result, special teams, faceoffs and penalties; hits and shot attempts from 2005-06.

from nhl.team_games
select game_date, team, opponent, home, goals_for, goals_against, won, shots_for, shots_against
order by game_date desc
limit 200
One row is
one team's game (team-game)
Built from
one table, read straight
Reads
nhl_team_games NHL, nhlscraper
Shows by default
game_date team opponent home goals_for goals_against won shots_for shots_against
Ordered by
game_date desc
Rows
200 by default, 20000 at most
Ranks within
season
Careers counted in
seasons game_dates games
Newest row
game_date
Biggest row
goals_for

Applied unless you say otherwise

  • Limited to the regular season — add where season_type = POST for the playoffs.

Before you trust the numbers

  • These are the club's own totals, from the league's game reports — goals_against and shots_against are the only columns about the other side.
  • won, lost and ot_loss are the club's decision; a shootout loss is an ot_loss.
Dimensions 5
NameBound to
league always nhl
team the team column
player A club row has no player — query nhl.skater_games
position A club row has no position
season the season column
Columns 53
NameHeadingTypeWhat it is
season completes season Season season
dimension

The season, by the year it started — 2024 is 2024-25.

What it takes
  • folds: min(season) max(season) count(season) distinct(season) only(season) latest(season) top(season) mode(season)
  • can be a benchmark
NHL · nhlscraper
season_type completes season_type Type string
dimension

REG for the regular season, POST for the playoffs.

REG or POST

What it takes
  • folds: count(season_type) distinct(season_type) only(season_type) latest(season_type) top(season_type) mode(season_type)
NHL · nhlscraper
game_date Date date
dimension

The date the game was played.

What it takes
  • folds: min(game_date) max(game_date) count(game_date) distinct(game_date) only(game_date) latest(game_date) top(game_date) mode(game_date)
  • periods: year(game_date) quarter(game_date) month(game_date) week(game_date)
  • can be a benchmark
NHL · nhlscraper
team completes team Team string
dimension

The club, by the code it wore that season.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) top(team) mode(team)
NHL · nhlscraper
franchise completes franchise Franchise string
dimension

The club's franchise, by the code it wears today — the thread through relocations.

The franchise's current code — every Coyotes and Mammoth season is under UTA

What it takes
  • folds: count(franchise) distinct(franchise) only(franchise) latest(franchise) top(franchise) mode(franchise)
NHL · nhlscraper
opponent completes team Opp string
dimension

The other club.

What it takes
  • folds: count(opponent) distinct(opponent) only(opponent) latest(opponent) top(opponent) mode(opponent)
NHL · nhlscraper
home H/A boolean
dimension

Whether this club was at home.

What it takes
  • folds: count(home) distinct(home) only(home) latest(home) top(home) mode(home)
NHL · nhlscraper
won W boolean
dimension

Whether the club, or the goalie, won.

What it takes
  • folds: count(won) distinct(won) only(won) latest(won) top(won) mode(won)
NHL · nhlscraper
lost L boolean
dimension

Whether the club, or the goalie, lost in regulation.

What it takes
  • folds: count(lost) distinct(lost) only(lost) latest(lost) top(lost) mode(lost)
NHL · nhlscraper
ot_loss OTL boolean
dimension

Whether the club, or the goalie, lost in overtime or a shootout.

What it takes
  • folds: count(ot_loss) distinct(ot_loss) only(ot_loss) latest(ot_loss) top(ot_loss) mode(ot_loss)
NHL · nhlscraper
tied T boolean
dimension

Whether the game ended level, which could happen until 2004-05.

What it takes
  • folds: count(tied) distinct(tied) only(tied) latest(tied) top(tied) mode(tied)
NHL · nhlscraper
won_in_regulation RW boolean
dimension

Whether the win came in regulation.

What it takes
  • folds: count(won_in_regulation) distinct(won_in_regulation) only(won_in_regulation) latest(won_in_regulation) top(won_in_regulation) mode(won_in_regulation)
NHL · nhlscraper
won_in_shootout SOW boolean
dimension

Whether the win came in a shootout.

What it takes
  • folds: count(won_in_shootout) distinct(won_in_shootout) only(won_in_shootout) latest(won_in_shootout) top(won_in_shootout) mode(won_in_shootout)
NHL · nhlscraper
points Pts integer
measure

Standings points the club took from the game — two for a win, one for an overtime or shootout loss.

What it takes
  • folds: sum(points) avg(points) min(points) max(points) count(points) distinct(points) only(points) latest(points) top(points) mean(points) median(points) mode(points)
  • ranks: points_percentile
  • accumulates: as_of(points)
  • can be a benchmark
NHL · nhlscraper
goals_for GF integer
measure

Goals the club scored.

What it takes
  • folds: sum(goals_for) avg(goals_for) min(goals_for) max(goals_for) count(goals_for) distinct(goals_for) only(goals_for) latest(goals_for) top(goals_for) mean(goals_for) median(goals_for) mode(goals_for)
  • ranks: goals_for_percentile
  • accumulates: as_of(goals_for)
  • can be a benchmark
NHL · nhlscraper
goals_against lower is better GA integer
measure

Goals allowed. NHL.com

What it takes
  • folds: sum(goals_against) avg(goals_against) min(goals_against) max(goals_against) count(goals_against) distinct(goals_against) only(goals_against) latest(goals_against) top(goals_against) mean(goals_against) median(goals_against) mode(goals_against)
  • ranks: goals_against_percentile
  • accumulates: as_of(goals_against)
  • can be a benchmark
NHL · nhlscraper
goal_diff Diff integer
measure

Goals for less goals against.

What it takes
  • folds: sum(goal_diff) avg(goal_diff) min(goal_diff) max(goal_diff) count(goal_diff) distinct(goal_diff) only(goal_diff) latest(goal_diff) top(goal_diff) mean(goal_diff) median(goal_diff) mode(goal_diff)
  • ranks: goal_diff_percentile
  • accumulates: as_of(goal_diff)
  • can be a benchmark
NHL · nhlscraper
shots_for SF integer
measure

Shots on goal taken.

What it takes
  • folds: sum(shots_for) avg(shots_for) min(shots_for) max(shots_for) count(shots_for) distinct(shots_for) only(shots_for) latest(shots_for) top(shots_for) mean(shots_for) median(shots_for) mode(shots_for)
  • ranks: shots_for_percentile
  • accumulates: as_of(shots_for)
  • can be a benchmark
NHL · nhlscraper
shots_against lower is better SA integer
measure

Shots on goal faced. NHL.com

What it takes
  • folds: sum(shots_against) avg(shots_against) min(shots_against) max(shots_against) count(shots_against) distinct(shots_against) only(shots_against) latest(shots_against) top(shots_against) mean(shots_against) median(shots_against) mode(shots_against)
  • ranks: shots_against_percentile
  • accumulates: as_of(shots_against)
  • can be a benchmark
NHL · nhlscraper
pp_pct PP% number
measure

Power-play goals as a share of power-play opportunities. NHL.com

What it takes
  • folds: sum(pp_pct) avg(pp_pct) min(pp_pct) max(pp_pct) count(pp_pct) distinct(pp_pct) only(pp_pct) latest(pp_pct) top(pp_pct) mean(pp_pct) median(pp_pct) mode(pp_pct)
  • ranks: pp_pct_percentile
  • accumulates: as_of(pp_pct)
  • can be a benchmark
NHL · nhlscraper
pk_pct PK% number
measure

Penalties killed as a share of times short-handed. NHL.com

What it takes
  • folds: sum(pk_pct) avg(pk_pct) min(pk_pct) max(pk_pct) count(pk_pct) distinct(pk_pct) only(pk_pct) latest(pk_pct) top(pk_pct) mean(pk_pct) median(pk_pct) mode(pk_pct)
  • ranks: pk_pct_percentile
  • accumulates: as_of(pk_pct)
  • can be a benchmark
NHL · nhlscraper
pp_opportunities PPO integer
measure

Power plays. NHL.com

What it takes
  • folds: sum(pp_opportunities) avg(pp_opportunities) min(pp_opportunities) max(pp_opportunities) count(pp_opportunities) distinct(pp_opportunities) only(pp_opportunities) latest(pp_opportunities) top(pp_opportunities) mean(pp_opportunities) median(pp_opportunities) mode(pp_opportunities)
  • ranks: pp_opportunities_percentile
  • accumulates: as_of(pp_opportunities)
  • can be a benchmark
NHL · nhlscraper
pp_goals_for PPG integer
measure

Goals scored on the power play. NHL.com

What it takes
  • folds: sum(pp_goals_for) avg(pp_goals_for) min(pp_goals_for) max(pp_goals_for) count(pp_goals_for) distinct(pp_goals_for) only(pp_goals_for) latest(pp_goals_for) top(pp_goals_for) mean(pp_goals_for) median(pp_goals_for) mode(pp_goals_for)
  • ranks: pp_goals_for_percentile
  • accumulates: as_of(pp_goals_for)
  • can be a benchmark
NHL · nhlscraper
times_shorthanded TSH integer
measure

Times the club was short-handed. NHL.com

What it takes
  • folds: sum(times_shorthanded) avg(times_shorthanded) min(times_shorthanded) max(times_shorthanded) count(times_shorthanded) distinct(times_shorthanded) only(times_shorthanded) latest(times_shorthanded) top(times_shorthanded) mean(times_shorthanded) median(times_shorthanded) mode(times_shorthanded)
  • ranks: times_shorthanded_percentile
  • accumulates: as_of(times_shorthanded)
  • can be a benchmark
NHL · nhlscraper
pp_goals_against lower is better PPGA integer
measure

Goals allowed while his club was short-handed.

What it takes
  • folds: sum(pp_goals_against) avg(pp_goals_against) min(pp_goals_against) max(pp_goals_against) count(pp_goals_against) distinct(pp_goals_against) only(pp_goals_against) latest(pp_goals_against) top(pp_goals_against) mean(pp_goals_against) median(pp_goals_against) mode(pp_goals_against)
  • ranks: pp_goals_against_percentile
  • accumulates: as_of(pp_goals_against)
  • can be a benchmark
NHL · nhlscraper
sh_goals_for SHG integer
measure

Goals scored while short-handed.

What it takes
  • folds: sum(sh_goals_for) avg(sh_goals_for) min(sh_goals_for) max(sh_goals_for) count(sh_goals_for) distinct(sh_goals_for) only(sh_goals_for) latest(sh_goals_for) top(sh_goals_for) mean(sh_goals_for) median(sh_goals_for) mode(sh_goals_for)
  • ranks: sh_goals_for_percentile
  • accumulates: as_of(sh_goals_for)
  • can be a benchmark
NHL · nhlscraper
sh_goals_against lower is better SHGA integer
measure

Goals allowed while his club was on the power play.

What it takes
  • folds: sum(sh_goals_against) avg(sh_goals_against) min(sh_goals_against) max(sh_goals_against) count(sh_goals_against) distinct(sh_goals_against) only(sh_goals_against) latest(sh_goals_against) top(sh_goals_against) mean(sh_goals_against) median(sh_goals_against) mode(sh_goals_against)
  • ranks: sh_goals_against_percentile
  • accumulates: as_of(sh_goals_against)
  • can be a benchmark
NHL · nhlscraper
faceoffs FO integer
measure

Faceoffs taken. NHL.com

FO starts in 1997

What it takes
  • folds: sum(faceoffs) avg(faceoffs) min(faceoffs) max(faceoffs) count(faceoffs) distinct(faceoffs) only(faceoffs) latest(faceoffs) top(faceoffs) mean(faceoffs) median(faceoffs) mode(faceoffs)
  • ranks: faceoffs_percentile
  • accumulates: as_of(faceoffs)
  • can be a benchmark
NHL · nhlscraper
fo_wins FOW integer
measure

Faceoffs won. NHL.com

FOW starts in 1997

What it takes
  • folds: sum(fo_wins) avg(fo_wins) min(fo_wins) max(fo_wins) count(fo_wins) distinct(fo_wins) only(fo_wins) latest(fo_wins) top(fo_wins) mean(fo_wins) median(fo_wins) mode(fo_wins)
  • ranks: fo_wins_percentile
  • accumulates: as_of(fo_wins)
  • can be a benchmark
NHL · nhlscraper
fo_losses lower is better FOL integer
measure

Faceoffs lost. NHL.com

FOL starts in 1997

What it takes
  • folds: sum(fo_losses) avg(fo_losses) min(fo_losses) max(fo_losses) count(fo_losses) distinct(fo_losses) only(fo_losses) latest(fo_losses) top(fo_losses) mean(fo_losses) median(fo_losses) mode(fo_losses)
  • ranks: fo_losses_percentile
  • accumulates: as_of(fo_losses)
  • can be a benchmark
NHL · nhlscraper
fo_pct FO% number
measure

Faceoffs won as a share of faceoffs taken. NHL.com

FO% starts in 1997

What it takes
  • folds: sum(fo_pct) avg(fo_pct) min(fo_pct) max(fo_pct) count(fo_pct) distinct(fo_pct) only(fo_pct) latest(fo_pct) top(fo_pct) mean(fo_pct) median(fo_pct) mode(fo_pct)
  • ranks: fo_pct_percentile
  • accumulates: as_of(fo_pct)
  • can be a benchmark
NHL · nhlscraper
hits Hits integer
measure

Hits delivered. NHL.com

Hits starts in 2005

What it takes
  • folds: sum(hits) avg(hits) min(hits) max(hits) count(hits) distinct(hits) only(hits) latest(hits) top(hits) mean(hits) median(hits) mode(hits)
  • ranks: hits_percentile
  • accumulates: as_of(hits)
  • can be a benchmark
NHL · nhlscraper
blocks BkS integer
measure

Shots blocked. NHL.com

BkS starts in 2005

What it takes
  • folds: sum(blocks) avg(blocks) min(blocks) max(blocks) count(blocks) distinct(blocks) only(blocks) latest(blocks) top(blocks) mean(blocks) median(blocks) mode(blocks)
  • ranks: blocks_percentile
  • accumulates: as_of(blocks)
  • can be a benchmark
NHL · nhlscraper
giveaways lower is better GvA integer
measure

Times he gave the puck away. NHL.com

GvA starts in 2005

What it takes
  • folds: sum(giveaways) avg(giveaways) min(giveaways) max(giveaways) count(giveaways) distinct(giveaways) only(giveaways) latest(giveaways) top(giveaways) mean(giveaways) median(giveaways) mode(giveaways)
  • ranks: giveaways_percentile
  • accumulates: as_of(giveaways)
  • can be a benchmark
NHL · nhlscraper
takeaways TkA integer
measure

Times he took the puck away. NHL.com

TkA starts in 2005

What it takes
  • folds: sum(takeaways) avg(takeaways) min(takeaways) max(takeaways) count(takeaways) distinct(takeaways) only(takeaways) latest(takeaways) top(takeaways) mean(takeaways) median(takeaways) mode(takeaways)
  • ranks: takeaways_percentile
  • accumulates: as_of(takeaways)
  • can be a benchmark
NHL · nhlscraper
missed_shots Miss integer
measure

Shots that missed the net.

Miss starts in 2005

What it takes
  • folds: sum(missed_shots) avg(missed_shots) min(missed_shots) max(missed_shots) count(missed_shots) distinct(missed_shots) only(missed_shots) latest(missed_shots) top(missed_shots) mean(missed_shots) median(missed_shots) mode(missed_shots)
  • ranks: missed_shots_percentile
  • accumulates: as_of(missed_shots)
  • can be a benchmark
NHL · nhlscraper
attempts CF integer
measure

Shot attempts the club took.

Every attempt the club took: on goal, missed or blocked

CF starts in 2005

What it takes
  • folds: sum(attempts) avg(attempts) min(attempts) max(attempts) count(attempts) distinct(attempts) only(attempts) latest(attempts) top(attempts) mean(attempts) median(attempts) mode(attempts)
  • ranks: attempts_percentile
  • accumulates: as_of(attempts)
  • can be a benchmark
NHL · nhlscraper
attempts_blocked Blkd integer
measure

His own attempts that an opponent blocked.

Blkd starts in 2005

What it takes
  • folds: sum(attempts_blocked) avg(attempts_blocked) min(attempts_blocked) max(attempts_blocked) count(attempts_blocked) distinct(attempts_blocked) only(attempts_blocked) latest(attempts_blocked) top(attempts_blocked) mean(attempts_blocked) median(attempts_blocked) mode(attempts_blocked)
  • ranks: attempts_blocked_percentile
  • accumulates: as_of(attempts_blocked)
  • can be a benchmark
NHL · nhlscraper
en_goals ENG integer
measure

Goals into an empty net.

ENG starts in 2005

What it takes
  • folds: sum(en_goals) avg(en_goals) min(en_goals) max(en_goals) count(en_goals) distinct(en_goals) only(en_goals) latest(en_goals) top(en_goals) mean(en_goals) median(en_goals) mode(en_goals)
  • ranks: en_goals_percentile
  • accumulates: as_of(en_goals)
  • can be a benchmark
NHL · nhlscraper
penalties lower is better Pen integer
measure

Penalties taken.

What it takes
  • folds: sum(penalties) avg(penalties) min(penalties) max(penalties) count(penalties) distinct(penalties) only(penalties) latest(penalties) top(penalties) mean(penalties) median(penalties) mode(penalties)
  • ranks: penalties_percentile
  • accumulates: as_of(penalties)
  • can be a benchmark
NHL · nhlscraper
minors lower is better Min integer
measure

Minor penalties.

What it takes
  • folds: sum(minors) avg(minors) min(minors) max(minors) count(minors) distinct(minors) only(minors) latest(minors) top(minors) mean(minors) median(minors) mode(minors)
  • ranks: minors_percentile
  • accumulates: as_of(minors)
  • can be a benchmark
NHL · nhlscraper
majors lower is better Maj integer
measure

Major penalties.

What it takes
  • folds: sum(majors) avg(majors) min(majors) max(majors) count(majors) distinct(majors) only(majors) latest(majors) top(majors) mean(majors) median(majors) mode(majors)
  • ranks: majors_percentile
  • accumulates: as_of(majors)
  • can be a benchmark
NHL · nhlscraper
misconducts lower is better Misc integer
measure

Misconducts.

What it takes
  • folds: sum(misconducts) avg(misconducts) min(misconducts) max(misconducts) count(misconducts) distinct(misconducts) only(misconducts) latest(misconducts) top(misconducts) mean(misconducts) median(misconducts) mode(misconducts)
  • ranks: misconducts_percentile
  • accumulates: as_of(misconducts)
  • can be a benchmark
NHL · nhlscraper
bench_minors lower is better Bench integer
measure

Bench minors — too many men, and the like.

What it takes
  • folds: sum(bench_minors) avg(bench_minors) min(bench_minors) max(bench_minors) count(bench_minors) distinct(bench_minors) only(bench_minors) latest(bench_minors) top(bench_minors) mean(bench_minors) median(bench_minors) mode(bench_minors)
  • ranks: bench_minors_percentile
  • accumulates: as_of(bench_minors)
  • can be a benchmark
NHL · nhlscraper
pim lower is better PIM integer
measure

Penalty minutes. NHL.com

What it takes
  • folds: sum(pim) avg(pim) min(pim) max(pim) count(pim) distinct(pim) only(pim) latest(pim) top(pim) mean(pim) median(pim) mode(pim)
  • ranks: pim_percentile
  • accumulates: as_of(pim)
  • can be a benchmark
NHL · nhlscraper
penalties_drawn Drawn integer
measure

Penalties drawn on opponents.

Drawn starts in 2005

What it takes
  • folds: sum(penalties_drawn) avg(penalties_drawn) min(penalties_drawn) max(penalties_drawn) count(penalties_drawn) distinct(penalties_drawn) only(penalties_drawn) latest(penalties_drawn) top(penalties_drawn) mean(penalties_drawn) median(penalties_drawn) mode(penalties_drawn)
  • ranks: penalties_drawn_percentile
  • accumulates: as_of(penalties_drawn)
  • can be a benchmark
NHL · nhlscraper
net_penalties lower is better Net Pen integer
measure

Penalties taken less penalties drawn.

Net Pen starts in 2005

What it takes
  • folds: sum(net_penalties) avg(net_penalties) min(net_penalties) max(net_penalties) count(net_penalties) distinct(net_penalties) only(net_penalties) latest(net_penalties) top(net_penalties) mean(net_penalties) median(net_penalties) mode(net_penalties)
  • ranks: net_penalties_percentile
  • accumulates: as_of(net_penalties)
  • can be a benchmark
NHL · nhlscraper
cf_pct CF% number
measure

The club's share of the game's shot attempts.

Share of the game's shot attempts that were the club's

CF% starts in 2005

What it takes
  • folds: sum(cf_pct) avg(cf_pct) min(cf_pct) max(cf_pct) count(cf_pct) distinct(cf_pct) only(cf_pct) latest(cf_pct) top(cf_pct) mean(cf_pct) median(cf_pct) mode(cf_pct)
  • ranks: cf_pct_percentile
  • can be a benchmark
NHL · nhlscraper
pp_toi PP TOI number
measure

Minutes on the power play.

PP TOI starts in 1997

What it takes
  • folds: sum(pp_toi) avg(pp_toi) min(pp_toi) max(pp_toi) count(pp_toi) distinct(pp_toi) only(pp_toi) latest(pp_toi) top(pp_toi) mean(pp_toi) median(pp_toi) mode(pp_toi)
  • ranks: pp_toi_percentile
  • accumulates: as_of(pp_toi)
  • can be a benchmark
NHL · nhlscraper
pk_toi PK TOI number
measure

Minutes spent killing penalties.

PK TOI starts in 1997

What it takes
  • folds: sum(pk_toi) avg(pk_toi) min(pk_toi) max(pk_toi) count(pk_toi) distinct(pk_toi) only(pk_toi) latest(pk_toi) top(pk_toi) mean(pk_toi) median(pk_toi) mode(pk_toi)
  • ranks: pk_toi_percentile
  • accumulates: as_of(pk_toi)
  • can be a benchmark
NHL · nhlscraper
toi_5v5 5v5 TOI number
measure

Minutes at five on five.

5v5 TOI starts in 2005

What it takes
  • folds: sum(toi_5v5) avg(toi_5v5) min(toi_5v5) max(toi_5v5) count(toi_5v5) distinct(toi_5v5) only(toi_5v5) latest(toi_5v5) top(toi_5v5) mean(toi_5v5) median(toi_5v5) mode(toi_5v5)
  • ranks: toi_5v5_percentile
  • accumulates: as_of(toi_5v5)
  • can be a benchmark
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Operators on this table 43 available

from

The one table a query reads

from nhl.team_games
select game_date, team, opponent, home, goals_for, goals_against, won, shots_for, shots_against
order by game_date desc
limit 200

select

The columns the answer carries

from nhl.team_games
select game_date, team, opponent, home, goals_for, goals_against, won, shots_for, shots_against
order by game_date desc
limit 200

as

Renames a column's heading and nothing else

from nhl.team_games
select game_date, team, goals_for as GF
order by goals_for desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.team_games
where season = $year
select game_date, team, opponent
order by goals_for desc
limit 10

limit

How many rows come back

from nhl.team_games
select game_date, team, opponent, home, goals_for, goals_against, won, shots_for, shots_against
order by game_date desc
limit 200

order by

Which end of the answer comes first

from nhl.team_games
select game_date, team, opponent, goals_for
order by goals_for desc
limit 10

#

A comment, to the end of the line

# Club games — One row per club per game since 1917-18 — the result, special teams, faceoffs and penalties; hits and shot attempts from 2005-06.
from nhl.team_games
select game_date, team, opponent, home, goals_for, goals_against, won, shots_for, shots_against
order by game_date desc
limit 200

where

Chooses the rows the question is about

from nhl.team_games
where season = 2026
select team, goals_for
order by goals_for desc
limit 10

and

Continues whichever filter clause came last

from nhl.team_games
where season = 2026 and goals_for > 0
select team, goals_for
order by goals_for desc
limit 10

having

Filters the groups a fold made

from nhl.team_games
select team, sum(goals_for)
group by team
having sum(goals_for) > 0
order by sum(goals_for) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.team_games
where season = 2026
select team, goals_for, goals_for_percentile
keep goals_for_percentile >= 90
order by goals_for_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.team_games
select team, season, goals_for
highlight season = 2026
order by goals_for desc
limit 10

of

A threshold that is another row rather than a number

from nhl.team_games
where goals_for >= max(goals_for) of season 2026
select team, goals_for
order by goals_for desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.team_games
select team, count(*), sum(goals_for)
group by team
order by sum(goals_for) desc
limit 10

then

Folds the answer a second time

from nhl.team_games
select team, opponent, count(*)
group by team, opponent
having count(*) > 10
then
select team, count(*) as Opps
group by team
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.team_games
select team, opponent, sum(goals_for)
group by team, opponent
pivot by opponent
limit 25

first / last

Only part of each career, before anything else runs

from nhl.team_games
first 3 seasons
select team, sum(goals_for)
group by team
order by sum(goals_for) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.team_games
select team, sum(goals_for)
group by team
order by sum(goals_for) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.team_games
select team, avg(goals_for)
group by team
order by avg(goals_for) desc
limit 10

min(…)

The smallest value in each group

from nhl.team_games
select team, min(goals_for)
group by team
order by min(goals_for) desc
limit 10

max(…)

The largest value in each group

from nhl.team_games
select team, max(goals_for)
group by team
order by max(goals_for) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.team_games
select team, count(goals_for)
group by team
order by count(goals_for) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.team_games
select team, distinct(game_date)
group by team
order by distinct(game_date) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.team_games
where season = 2026
select team, only(game_date)
group by team
order by only(game_date) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.team_games
select team, latest(team)
group by team
order by count(*) desc
limit 10

top(…)

The value on the group's biggest row

from nhl.team_games
select team, top(team)
group by team
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.team_games
select team, mean(goals_for)
group by team
order by mean(goals_for) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.team_games
select team, median(goals_for)
group by team
order by median(goals_for) desc
limit 10

mode(…)

The commonest value in the group

from nhl.team_games
select team, mode(team)
group by team
order by count(*) desc
limit 10

year(…)

Reads a date as the year it falls in

from nhl.team_games
select team, year(game_date), sum(goals_for)
group by team, year(game_date)
order by year(game_date) asc
limit 20

quarter(…)

Reads a date as the quarter it falls in

from nhl.team_games
select team, quarter(game_date), sum(goals_for)
group by team, quarter(game_date)
order by quarter(game_date) asc
limit 20

month(…)

Reads a date as the month it falls in

from nhl.team_games
select team, month(game_date), sum(goals_for)
group by team, month(game_date)
order by month(game_date) asc
limit 20

week(…)

Reads a date as the week it falls in

from nhl.team_games
select team, week(game_date), sum(goals_for)
group by team, week(game_date)
order by week(game_date) asc
limit 20

as_of(…)

The stat as it stood, season to date

from nhl.team_games
where season = 2026
select team, month(game_date), as_of(goals_for)
group by team, month(game_date)
order by month(game_date) asc
limit 25

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.team_games
where season = 2026
select team, goals_for, goals_for_percentile
order by goals_for_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.team_games
select team, sum(goals_for), percentile(sum(goals_for))
group by team
order by sum(goals_for) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.team_games
where season = 2026
select team, goals_for, standing(goals_for)
order by goals_for desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.team_games
where season = 2026
select team, points, goals_for, composite(points, goals_for)
order by composite(points, goals_for) desc
limit 10

ratio(…)

One column divided by another

from nhl.team_games
select team, count(*), ratio(sum(goals_for), count(*))
group by team
order by ratio(sum(goals_for), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.team_games
where season = 2026
select team, points, goals_for, calc(standing(points) - standing(goals_for))
order by calc(standing(points) - standing(goals_for)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.team_games
select team, goals_for, format(goals_for, > 0 -> "on the board", <= 0 -> "nothing yet")
order by goals_for desc
limit 10

pair

Draws two columns of the answer in one

from nhl.team_games
where season = 2026
select team, goals_for, goals_for_percentile
pair goals_for with goals_for_percentile
order by goals_for desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.team_games
where season = 2026
select team, points, goals_for, goals_against, composite(points, goals_for, goals_against) as Score
hint composite(points, goals_for, goals_against) as "Pts + GF + GA"
order by composite(points, goals_for, goals_against) desc
limit 10

nhl.standings Standings

The table as it stood on a date: every season's last day since 1917-18, and every night of the live season.

from nhl.standings
select date, team, games, wins, losses, ot_losses, points, goal_diff, league_rank
order by points desc
limit 100
One row is
one team's date (team-date)
Built from
one table, read straight
Reads
nhl_standings NHL, nhlscraper
Shows by default
date team games wins losses ot_losses points goal_diff league_rank
Ordered by
points desc
Rows
100 by default, 10000 at most
Ranks within
season
Careers counted in
seasons dates
Newest row
date
Biggest row
points

Applied unless you say otherwise

  • Showing each season's final table — add where final = false or a date for a night mid-season.

Before you trust the numbers

  • One row per club per snapshot. History is the last day of each regular season; the live season adds a row every night the sync runs.
  • Ranks are the league's own sequence numbers on that date.
Dimensions 5
NameBound to
league always nhl
team the team column
player The standings have no player
position The standings have no position
season the season column
Columns 37
NameHeadingTypeWhat it is
season completes season Season season
dimension

The season, by the year it started — 2024 is 2024-25.

What it takes
  • folds: min(season) max(season) count(season) distinct(season) only(season) latest(season) top(season) mode(season)
  • can be a benchmark
NHL · nhlscraper
date Date date
dimension

The date the standings were taken.

What it takes
  • folds: min(date) max(date) count(date) distinct(date) only(date) latest(date) top(date) mode(date)
  • periods: year(date) quarter(date) month(date) week(date)
  • can be a benchmark
NHL · nhlscraper
final Final boolean
dimension

Whether this is the season's final table, taken on the last day of the regular season.

True on the season's last regular-season day

What it takes
  • folds: count(final) distinct(final) only(final) latest(final) top(final) mode(final)
NHL · nhlscraper
team completes team Team string
dimension

The club, by the code it wore that season.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) top(team) mode(team)
NHL · nhlscraper
franchise completes franchise Franchise string
dimension

The club's franchise, by the code it wears today — the thread through relocations.

The franchise's current code — every Coyotes and Mammoth season is under UTA

What it takes
  • folds: count(franchise) distinct(franchise) only(franchise) latest(franchise) top(franchise) mode(franchise)
NHL · nhlscraper
team_name Club string
dimension

The club's full name.

What it takes
  • folds: count(team_name) distinct(team_name) only(team_name) latest(team_name) top(team_name) mode(team_name)
NHL · nhlscraper
conference completes conference Conf string
dimension

The conference the club played in.

What it takes
  • folds: count(conference) distinct(conference) only(conference) latest(conference) top(conference) mode(conference)
NHL · nhlscraper
division completes division Div string
dimension

The division the club played in.

What it takes
  • folds: count(division) distinct(division) only(division) latest(division) top(division) mode(division)
NHL · nhlscraper
games GP integer
measure

Games played. NHL.com

What it takes
  • folds: sum(games) avg(games) min(games) max(games) count(games) distinct(games) only(games) latest(games) top(games) mean(games) median(games) mode(games)
  • ranks: games_percentile
  • accumulates: as_of(games)
  • can be a benchmark
NHL · nhlscraper
wins W integer
measure

Wins. NHL.com

What it takes
  • folds: sum(wins) avg(wins) min(wins) max(wins) count(wins) distinct(wins) only(wins) latest(wins) top(wins) mean(wins) median(wins) mode(wins)
  • ranks: wins_percentile
  • accumulates: as_of(wins)
  • can be a benchmark
NHL · nhlscraper
losses lower is better L integer
measure

Losses in regulation. NHL.com

What it takes
  • folds: sum(losses) avg(losses) min(losses) max(losses) count(losses) distinct(losses) only(losses) latest(losses) top(losses) mean(losses) median(losses) mode(losses)
  • ranks: losses_percentile
  • accumulates: as_of(losses)
  • can be a benchmark
NHL · nhlscraper
ot_losses lower is better OTL integer
measure

Losses in overtime or a shootout, worth a point since 1999-00. NHL.com

What it takes
  • folds: sum(ot_losses) avg(ot_losses) min(ot_losses) max(ot_losses) count(ot_losses) distinct(ot_losses) only(ot_losses) latest(ot_losses) top(ot_losses) mean(ot_losses) median(ot_losses) mode(ot_losses)
  • ranks: ot_losses_percentile
  • accumulates: as_of(ot_losses)
  • can be a benchmark
NHL · nhlscraper
ties T integer
measure

Ties, which existed until 2004-05. NHL.com

What it takes
  • folds: sum(ties) avg(ties) min(ties) max(ties) count(ties) distinct(ties) only(ties) latest(ties) top(ties) mean(ties) median(ties) mode(ties)
  • ranks: ties_percentile
  • accumulates: as_of(ties)
  • can be a benchmark
NHL · nhlscraper
points Pts integer
measure

Standings points.

What it takes
  • folds: sum(points) avg(points) min(points) max(points) count(points) distinct(points) only(points) latest(points) top(points) mean(points) median(points) mode(points)
  • ranks: points_percentile
  • accumulates: as_of(points)
  • can be a benchmark
NHL · nhlscraper
point_pct P% number
measure

Standings points as a share of the points available. NHL.com

What it takes
  • folds: sum(point_pct) avg(point_pct) min(point_pct) max(point_pct) count(point_pct) distinct(point_pct) only(point_pct) latest(point_pct) top(point_pct) mean(point_pct) median(point_pct) mode(point_pct)
  • ranks: point_pct_percentile
  • accumulates: as_of(point_pct)
  • can be a benchmark
NHL · nhlscraper
rw RW integer
measure

Wins in regulation. NHL.com

What it takes
  • folds: sum(rw) avg(rw) min(rw) max(rw) count(rw) distinct(rw) only(rw) latest(rw) top(rw) mean(rw) median(rw) mode(rw)
  • ranks: rw_percentile
  • accumulates: as_of(rw)
  • can be a benchmark
NHL · nhlscraper
row ROW integer
measure

Regulation and overtime wins — the standings' first tiebreaker. NHL.com

What it takes
  • folds: sum(row) avg(row) min(row) max(row) count(row) distinct(row) only(row) latest(row) top(row) mean(row) median(row) mode(row)
  • ranks: row_percentile
  • accumulates: as_of(row)
  • can be a benchmark
NHL · nhlscraper
goals_for GF integer
measure

Goals his club scored while he was in net.

What it takes
  • folds: sum(goals_for) avg(goals_for) min(goals_for) max(goals_for) count(goals_for) distinct(goals_for) only(goals_for) latest(goals_for) top(goals_for) mean(goals_for) median(goals_for) mode(goals_for)
  • ranks: goals_for_percentile
  • accumulates: as_of(goals_for)
  • can be a benchmark
NHL · nhlscraper
goals_against lower is better GA integer
measure

Goals allowed. NHL.com

What it takes
  • folds: sum(goals_against) avg(goals_against) min(goals_against) max(goals_against) count(goals_against) distinct(goals_against) only(goals_against) latest(goals_against) top(goals_against) mean(goals_against) median(goals_against) mode(goals_against)
  • ranks: goals_against_percentile
  • accumulates: as_of(goals_against)
  • can be a benchmark
NHL · nhlscraper
goal_diff Diff integer
measure

Goals for less goals against.

What it takes
  • folds: sum(goal_diff) avg(goal_diff) min(goal_diff) max(goal_diff) count(goal_diff) distinct(goal_diff) only(goal_diff) latest(goal_diff) top(goal_diff) mean(goal_diff) median(goal_diff) mode(goal_diff)
  • ranks: goal_diff_percentile
  • accumulates: as_of(goal_diff)
  • can be a benchmark
NHL · nhlscraper
home_wins HW integer
measure

Wins at home.

What it takes
  • folds: sum(home_wins) avg(home_wins) min(home_wins) max(home_wins) count(home_wins) distinct(home_wins) only(home_wins) latest(home_wins) top(home_wins) mean(home_wins) median(home_wins) mode(home_wins)
  • ranks: home_wins_percentile
  • accumulates: as_of(home_wins)
  • can be a benchmark
NHL · nhlscraper
home_losses lower is better HL integer
measure

Losses at home.

What it takes
  • folds: sum(home_losses) avg(home_losses) min(home_losses) max(home_losses) count(home_losses) distinct(home_losses) only(home_losses) latest(home_losses) top(home_losses) mean(home_losses) median(home_losses) mode(home_losses)
  • ranks: home_losses_percentile
  • accumulates: as_of(home_losses)
  • can be a benchmark
NHL · nhlscraper
home_ot_losses lower is better HOTL integer
measure

Overtime and shootout losses at home.

What it takes
  • folds: sum(home_ot_losses) avg(home_ot_losses) min(home_ot_losses) max(home_ot_losses) count(home_ot_losses) distinct(home_ot_losses) only(home_ot_losses) latest(home_ot_losses) top(home_ot_losses) mean(home_ot_losses) median(home_ot_losses) mode(home_ot_losses)
  • ranks: home_ot_losses_percentile
  • accumulates: as_of(home_ot_losses)
  • can be a benchmark
NHL · nhlscraper
road_wins RdW integer
measure

Wins on the road.

What it takes
  • folds: sum(road_wins) avg(road_wins) min(road_wins) max(road_wins) count(road_wins) distinct(road_wins) only(road_wins) latest(road_wins) top(road_wins) mean(road_wins) median(road_wins) mode(road_wins)
  • ranks: road_wins_percentile
  • accumulates: as_of(road_wins)
  • can be a benchmark
NHL · nhlscraper
road_losses lower is better RdL integer
measure

Losses on the road.

What it takes
  • folds: sum(road_losses) avg(road_losses) min(road_losses) max(road_losses) count(road_losses) distinct(road_losses) only(road_losses) latest(road_losses) top(road_losses) mean(road_losses) median(road_losses) mode(road_losses)
  • ranks: road_losses_percentile
  • accumulates: as_of(road_losses)
  • can be a benchmark
NHL · nhlscraper
road_ot_losses lower is better RdOTL integer
measure

Overtime and shootout losses on the road.

What it takes
  • folds: sum(road_ot_losses) avg(road_ot_losses) min(road_ot_losses) max(road_ot_losses) count(road_ot_losses) distinct(road_ot_losses) only(road_ot_losses) latest(road_ot_losses) top(road_ot_losses) mean(road_ot_losses) median(road_ot_losses) mode(road_ot_losses)
  • ranks: road_ot_losses_percentile
  • accumulates: as_of(road_ot_losses)
  • can be a benchmark
NHL · nhlscraper
l10_wins L10 W integer
measure

Wins in the last ten games.

What it takes
  • folds: sum(l10_wins) avg(l10_wins) min(l10_wins) max(l10_wins) count(l10_wins) distinct(l10_wins) only(l10_wins) latest(l10_wins) top(l10_wins) mean(l10_wins) median(l10_wins) mode(l10_wins)
  • ranks: l10_wins_percentile
  • accumulates: as_of(l10_wins)
  • can be a benchmark
NHL · nhlscraper
l10_losses lower is better L10 L integer
measure

Losses in the last ten games.

What it takes
  • folds: sum(l10_losses) avg(l10_losses) min(l10_losses) max(l10_losses) count(l10_losses) distinct(l10_losses) only(l10_losses) latest(l10_losses) top(l10_losses) mean(l10_losses) median(l10_losses) mode(l10_losses)
  • ranks: l10_losses_percentile
  • accumulates: as_of(l10_losses)
  • can be a benchmark
NHL · nhlscraper
l10_points L10 Pts integer
measure

Points from the last ten games.

What it takes
  • folds: sum(l10_points) avg(l10_points) min(l10_points) max(l10_points) count(l10_points) distinct(l10_points) only(l10_points) latest(l10_points) top(l10_points) mean(l10_points) median(l10_points) mode(l10_points)
  • ranks: l10_points_percentile
  • accumulates: as_of(l10_points)
  • can be a benchmark
NHL · nhlscraper
streak Streak string
dimension

The club's current run — W3, L2, OT1.

What it takes
  • folds: count(streak) distinct(streak) only(streak) latest(streak) top(streak) mode(streak)
NHL · nhlscraper
league_rank lower is better Lg# integer
measure

Where the club finished in the overall standings.

What it takes
  • folds: sum(league_rank) avg(league_rank) min(league_rank) max(league_rank) count(league_rank) distinct(league_rank) only(league_rank) latest(league_rank) top(league_rank) mean(league_rank) median(league_rank) mode(league_rank)
  • ranks: league_rank_percentile
  • accumulates: as_of(league_rank)
  • can be a benchmark
NHL · nhlscraper
conference_rank lower is better Conf# integer
measure

Where the club finished in its conference.

What it takes
  • folds: sum(conference_rank) avg(conference_rank) min(conference_rank) max(conference_rank) count(conference_rank) distinct(conference_rank) only(conference_rank) latest(conference_rank) top(conference_rank) mean(conference_rank) median(conference_rank) mode(conference_rank)
  • ranks: conference_rank_percentile
  • accumulates: as_of(conference_rank)
  • can be a benchmark
NHL · nhlscraper
division_rank lower is better Div# integer
measure

Where the club finished in its division.

What it takes
  • folds: sum(division_rank) avg(division_rank) min(division_rank) max(division_rank) count(division_rank) distinct(division_rank) only(division_rank) latest(division_rank) top(division_rank) mean(division_rank) median(division_rank) mode(division_rank)
  • ranks: division_rank_percentile
  • accumulates: as_of(division_rank)
  • can be a benchmark
NHL · nhlscraper
wildcard_rank lower is better WC# integer
measure

Where the club sat in the wild-card race on that date.

What it takes
  • folds: sum(wildcard_rank) avg(wildcard_rank) min(wildcard_rank) max(wildcard_rank) count(wildcard_rank) distinct(wildcard_rank) only(wildcard_rank) latest(wildcard_rank) top(wildcard_rank) mean(wildcard_rank) median(wildcard_rank) mode(wildcard_rank)
  • ranks: wildcard_rank_percentile
  • accumulates: as_of(wildcard_rank)
  • can be a benchmark
NHL · nhlscraper
clinch Clinch string
dimension

The league's clinch letter: x playoffs, y division, z conference, p Presidents' Trophy, e eliminated.

x playoffs, y division, z conference, p Presidents' Trophy, e eliminated

What it takes
  • folds: count(clinch) distinct(clinch) only(clinch) latest(clinch) top(clinch) mode(clinch)
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Operators on this table 43 available

from

The one table a query reads

from nhl.standings
select date, team, games, wins, losses, ot_losses, points, goal_diff, league_rank
order by points desc
limit 100

select

The columns the answer carries

from nhl.standings
select date, team, games, wins, losses, ot_losses, points, goal_diff, league_rank
order by points desc
limit 100

as

Renames a column's heading and nothing else

from nhl.standings
select date, team, games as GP
order by games desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.standings
where season = $year
select date, team, games
order by games desc
limit 10

limit

How many rows come back

from nhl.standings
select date, team, games, wins, losses, ot_losses, points, goal_diff, league_rank
order by points desc
limit 100

order by

Which end of the answer comes first

from nhl.standings
select date, team, games
order by games desc
limit 10

#

A comment, to the end of the line

# Standings — The table as it stood on a date: every season's last day since 1917-18, and every night of the live season.
from nhl.standings
select date, team, games, wins, losses, ot_losses, points, goal_diff, league_rank
order by points desc
limit 100

where

Chooses the rows the question is about

from nhl.standings
where season = 2026
select team, games
order by games desc
limit 10

and

Continues whichever filter clause came last

from nhl.standings
where season = 2026 and games > 0
select team, games
order by games desc
limit 10

having

Filters the groups a fold made

from nhl.standings
select team, sum(games)
group by team
having sum(games) > 0
order by sum(games) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.standings
where season = 2026
select team, games, games_percentile
keep games_percentile >= 90
order by games_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.standings
select team, season, games
highlight season = 2026
order by games desc
limit 10

of

A threshold that is another row rather than a number

from nhl.standings
where games >= max(games) of season 2026
select team, games
order by games desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.standings
select team, count(*), sum(games)
group by team
order by sum(games) desc
limit 10

then

Folds the answer a second time

from nhl.standings
select team, season, count(*)
group by team, season
having count(*) > 10
then
select team, count(*) as Seasons
group by team
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.standings
select team, season, sum(games)
group by team, season
pivot by season
limit 25

first / last

Only part of each career, before anything else runs

from nhl.standings
first 3 seasons
select team, sum(games)
group by team
order by sum(games) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.standings
select team, sum(games)
group by team
order by sum(games) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.standings
select team, avg(games)
group by team
order by avg(games) desc
limit 10

min(…)

The smallest value in each group

from nhl.standings
select team, min(games)
group by team
order by min(games) desc
limit 10

max(…)

The largest value in each group

from nhl.standings
select team, max(games)
group by team
order by max(games) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.standings
select team, count(games)
group by team
order by count(games) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.standings
select team, distinct(date)
group by team
order by distinct(date) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.standings
where season = 2026
select team, only(date)
group by team
order by only(date) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.standings
select team, latest(team)
group by team
order by count(*) desc
limit 10

top(…)

The value on the group's biggest row

from nhl.standings
select team, top(team)
group by team
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.standings
select team, mean(games)
group by team
order by mean(games) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.standings
select team, median(games)
group by team
order by median(games) desc
limit 10

mode(…)

The commonest value in the group

from nhl.standings
select team, mode(team)
group by team
order by count(*) desc
limit 10

year(…)

Reads a date as the year it falls in

from nhl.standings
select team, year(date), sum(games)
group by team, year(date)
order by year(date) asc
limit 20

quarter(…)

Reads a date as the quarter it falls in

from nhl.standings
select team, quarter(date), sum(games)
group by team, quarter(date)
order by quarter(date) asc
limit 20

month(…)

Reads a date as the month it falls in

from nhl.standings
select team, month(date), sum(games)
group by team, month(date)
order by month(date) asc
limit 20

week(…)

Reads a date as the week it falls in

from nhl.standings
select team, week(date), sum(games)
group by team, week(date)
order by week(date) asc
limit 20

as_of(…)

The stat as it stood, season to date

from nhl.standings
where season = 2026
select team, month(date), as_of(games)
group by team, month(date)
order by month(date) asc
limit 25

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.standings
where season = 2026
select team, games, games_percentile
order by games_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.standings
select team, sum(games), percentile(sum(games))
group by team
order by sum(games) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.standings
where season = 2026
select team, games, standing(games)
order by games desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.standings
where season = 2026
select team, games, wins, composite(games, wins)
order by composite(games, wins) desc
limit 10

ratio(…)

One column divided by another

from nhl.standings
select team, count(*), ratio(sum(games), count(*))
group by team
order by ratio(sum(games), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.standings
where season = 2026
select team, games, wins, calc(standing(games) - standing(wins))
order by calc(standing(games) - standing(wins)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.standings
select team, games, format(games, > 0 -> "on the board", <= 0 -> "nothing yet")
order by games desc
limit 10

pair

Draws two columns of the answer in one

from nhl.standings
where season = 2026
select team, games, games_percentile
pair games with games_percentile
order by games desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.standings
where season = 2026
select team, games, wins, losses, composite(games, wins, losses) as Score
hint composite(games, wins, losses) as "GP + W + L"
order by composite(games, wins, losses) desc
limit 10

nhl.plays Plays

Every event since 2010-11 — shots with location, type and expected goals, hits, faceoffs and penalties, with the strength and the skaters on the ice.

from nhl.plays
select game_date, team, period, period_seconds, event_type, strength, shooter, shot_type, distance, xg
order by xg desc
limit 200
One row is
one team's play (team-play)
Built from
one table, read straight
Reads
nhl_plays NHL, nhlscraper
Shows by default
game_date team period period_seconds event_type strength shooter shot_type distance xg
Ordered by
xg desc
Rows
200 by default, 50000 at most
Ranks within
season
Careers counted in
seasons game_dates shooter_ids goalie_ids plays
Newest row
game_date
Biggest row
xg

Applied unless you say otherwise

  • Limited to the regular season — add where season_type = POST for the playoffs.

Before you trust the numbers

  • Expected goals are nhlscraper's model — one vintage per season, one per game state — not a league figure.
  • Period starts, stoppages and game ends are excluded, so a row count is a count of things that happened.
  • xg and goals_over_xg sum; a club's season xG is sum(xg) with where attempt = true.
  • Strength is from the event's club's side: a 5v4 row is a power play for team, and the same moment is 4v5 for opponent.
Dimensions 8
NameBound to
league always nhl
team the team column
player A play has several players — filter shooter, scorer or goalie, or query nhl.skater_games
position A play carries no position — query nhl.skater_games
season the season column
strengththis sport only the strength column
event_typethis sport only the event_type column
shot_typethis sport only the shot_type column
Columns 60
NameHeadingTypeWhat it is
season completes season Season season
dimension

The season, by the year it started — 2024 is 2024-25.

What it takes
  • folds: min(season) max(season) count(season) distinct(season) only(season) latest(season) top(season) mode(season)
  • can be a benchmark
NHL · nhlscraper
season_type completes season_type Type string
dimension

REG for the regular season, POST for the playoffs.

REG or POST

What it takes
  • folds: count(season_type) distinct(season_type) only(season_type) latest(season_type) top(season_type) mode(season_type)
NHL · nhlscraper
game_date Date date
dimension

The date the game was played.

What it takes
  • folds: min(game_date) max(game_date) count(game_date) distinct(game_date) only(game_date) latest(game_date) top(game_date) mode(game_date)
  • periods: year(game_date) quarter(game_date) month(game_date) week(game_date)
  • can be a benchmark
NHL · nhlscraper
team completes team Team string
dimension

The club, by the code it wore that season.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) top(team) mode(team)
NHL · nhlscraper
opponent completes team Opp string
dimension

The other club.

What it takes
  • folds: count(opponent) distinct(opponent) only(opponent) latest(opponent) top(opponent) mode(opponent)
NHL · nhlscraper
home_team completes team Home string
dimension

The club at home.

What it takes
  • folds: count(home_team) distinct(home_team) only(home_team) latest(home_team) top(home_team) mode(home_team)
NHL · nhlscraper
away_team completes team Away string
dimension

The visiting club.

What it takes
  • folds: count(away_team) distinct(away_team) only(away_team) latest(away_team) top(away_team) mode(away_team)
NHL · nhlscraper
is_home H/A boolean
dimension

Whether the event's club was the home side.

What it takes
  • folds: count(is_home) distinct(is_home) only(is_home) latest(is_home) top(is_home) mode(is_home)
NHL · nhlscraper
event_type completes event_type Event string
dimension

What happened: a shot on goal, a missed or blocked shot, a goal, a hit, a faceoff, a giveaway, a takeaway or a penalty.

shot-on-goal, missed-shot, blocked-shot, goal, hit, faceoff, giveaway, takeaway, penalty

What it takes
  • folds: count(event_type) distinct(event_type) only(event_type) latest(event_type) top(event_type) mode(event_type)
NHL · nhlscraper
strength completes strength Str string
dimension

Skaters for against skaters against, from the event's club's side — 5v5, 5v4, 4v5.

Skaters for against skaters against, from the event's club's side — 5v5, 5v4, 4v5, 3v3 …

What it takes
  • folds: count(strength) distinct(strength) only(strength) latest(strength) top(strength) mode(strength)
NHL · nhlscraper
strength_state completes strength_state State string
dimension

Even strength, power play or penalty kill, from the event's club's side.

even-strength, power-play or penalty-kill, from the event's club's side

What it takes
  • folds: count(strength_state) distinct(strength_state) only(strength_state) latest(strength_state) top(strength_state) mode(strength_state)
NHL · nhlscraper
period Per integer
measure

The period, with overtime as 4 and a shootout as 5.

What it takes
  • folds: sum(period) avg(period) min(period) max(period) count(period) distinct(period) only(period) latest(period) top(period) mean(period) median(period) mode(period)
  • ranks: period_percentile
  • accumulates: as_of(period)
  • can be a benchmark
NHL · nhlscraper
period_type PT string
dimension

REG, OT or SO.

REG, OT or SO

What it takes
  • folds: count(period_type) distinct(period_type) only(period_type) latest(period_type) top(period_type) mode(period_type)
NHL · nhlscraper
period_seconds Sec integer
measure

Seconds elapsed in the period when it happened.

Seconds elapsed in the period

What it takes
  • folds: sum(period_seconds) avg(period_seconds) min(period_seconds) max(period_seconds) count(period_seconds) distinct(period_seconds) only(period_seconds) latest(period_seconds) top(period_seconds) mean(period_seconds) median(period_seconds) mode(period_seconds)
  • ranks: period_seconds_percentile
  • accumulates: as_of(period_seconds)
  • can be a benchmark
NHL · nhlscraper
game_seconds GSec integer
measure

Seconds elapsed in the game when it happened.

What it takes
  • folds: sum(game_seconds) avg(game_seconds) min(game_seconds) max(game_seconds) count(game_seconds) distinct(game_seconds) only(game_seconds) latest(game_seconds) top(game_seconds) mean(game_seconds) median(game_seconds) mode(game_seconds)
  • ranks: game_seconds_percentile
  • accumulates: as_of(game_seconds)
  • can be a benchmark
NHL · nhlscraper
zone Zone string
dimension

The zone it happened in, from the event's club's side: O, N or D.

O, N or D, from the event's club's side

What it takes
  • folds: count(zone) distinct(zone) only(zone) latest(zone) top(zone) mode(zone)
NHL · nhlscraper
shot_type completes shot_type Shot string
dimension

How the puck was shot: wrist, snap, slap, backhand, tip-in, deflected, wrap-around and the rarer ones.

wrist, snap, slap, backhand, tip-in, deflected, wrap-around, poke, bat, between-legs, cradle

What it takes
  • folds: count(shot_type) distinct(shot_type) only(shot_type) latest(shot_type) top(shot_type) mode(shot_type)
NHL · nhlscraper
shooter completes player Shooter string
dimension

Who shot, on a shot or a goal.

What it takes
  • folds: count(shooter) distinct(shooter) only(shooter) latest(shooter) top(shooter) mode(shooter)
NHL · nhlscraper
scorer completes player Scorer string
dimension

Who scored, on a goal.

What it takes
  • folds: count(scorer) distinct(scorer) only(scorer) latest(scorer) top(scorer) mode(scorer)
NHL · nhlscraper
assist1 completes player A1 string
dimension

The first assist.

What it takes
  • folds: count(assist1) distinct(assist1) only(assist1) latest(assist1) top(assist1) mode(assist1)
NHL · nhlscraper
assist2 completes player A2 string
dimension

The second assist.

What it takes
  • folds: count(assist2) distinct(assist2) only(assist2) latest(assist2) top(assist2) mode(assist2)
NHL · nhlscraper
goalie completes player Goalie string
dimension

The goalie in net for the other club.

What it takes
  • folds: count(goalie) distinct(goalie) only(goalie) latest(goalie) top(goalie) mode(goalie)
NHL · nhlscraper
player completes player Player string
dimension

The player on a faceoff, hit, giveaway, takeaway or penalty — the shooter and scorer have columns of their own.

The player on a faceoff, hit, giveaway, takeaway or penalty

What it takes
  • folds: count(player) distinct(player) only(player) latest(player) top(player) mode(player)
NHL · nhlscraper
shooter_id Shooter ID integer
dimension

The league's id for the shooter.

The league's id for the shooter — stable where a name is not

What it takes
  • folds: sum(shooter_id) avg(shooter_id) min(shooter_id) max(shooter_id) count(shooter_id) distinct(shooter_id) only(shooter_id) latest(shooter_id) top(shooter_id) mean(shooter_id) median(shooter_id) mode(shooter_id)
  • can be a benchmark
NHL · nhlscraper
goalie_id Goalie ID integer
dimension

The league's id for the goalie.

What it takes
  • folds: sum(goalie_id) avg(goalie_id) min(goalie_id) max(goalie_id) count(goalie_id) distinct(goalie_id) only(goalie_id) latest(goalie_id) top(goalie_id) mean(goalie_id) median(goalie_id) mode(goalie_id)
  • can be a benchmark
NHL · nhlscraper
penalty_type completes penalty_type Penalty string
dimension

The infraction, on a penalty.

What it takes
  • folds: count(penalty_type) distinct(penalty_type) only(penalty_type) latest(penalty_type) top(penalty_type) mode(penalty_type)
NHL · nhlscraper
penalty_minutes PIM integer
measure

The penalty's length in minutes.

What it takes
  • folds: sum(penalty_minutes) avg(penalty_minutes) min(penalty_minutes) max(penalty_minutes) count(penalty_minutes) distinct(penalty_minutes) only(penalty_minutes) latest(penalty_minutes) top(penalty_minutes) mean(penalty_minutes) median(penalty_minutes) mode(penalty_minutes)
  • ranks: penalty_minutes_percentile
  • accumulates: as_of(penalty_minutes)
  • can be a benchmark
NHL · nhlscraper
reason Reason string
dimension

Why a shot missed, a stoppage was called or a penalty given, as the feed says it.

Why a shot missed, a stoppage was called or a penalty given

What it takes
  • folds: count(reason) distinct(reason) only(reason) latest(reason) top(reason) mode(reason)
NHL · nhlscraper
x X integer
measure

Feet from centre ice along the rink, as recorded — positive toward one end.

Feet from centre ice along the length of the rink, as recorded

What it takes
  • folds: sum(x) avg(x) min(x) max(x) count(x) distinct(x) only(x) latest(x) top(x) mean(x) median(x) mode(x)
  • ranks: x_percentile
  • accumulates: as_of(x)
  • can be a benchmark
NHL · nhlscraper
y Y integer
measure

Feet from centre ice across the rink, as recorded.

What it takes
  • folds: sum(y) avg(y) min(y) max(y) count(y) distinct(y) only(y) latest(y) top(y) mean(y) median(y) mode(y)
  • ranks: y_percentile
  • accumulates: as_of(y)
  • can be a benchmark
NHL · nhlscraper
x_norm X± number
measure

X with every attempt flipped to attack the same net, so a shot from the point is always the same number.

X with every attempt flipped to attack the same net

What it takes
  • folds: sum(x_norm) avg(x_norm) min(x_norm) max(x_norm) count(x_norm) distinct(x_norm) only(x_norm) latest(x_norm) top(x_norm) mean(x_norm) median(x_norm) mode(x_norm)
  • ranks: x_norm_percentile
  • accumulates: as_of(x_norm)
  • can be a benchmark
NHL · nhlscraper
y_norm Y± number
measure

Y flipped with X.

What it takes
  • folds: sum(y_norm) avg(y_norm) min(y_norm) max(y_norm) count(y_norm) distinct(y_norm) only(y_norm) latest(y_norm) top(y_norm) mean(y_norm) median(y_norm) mode(y_norm)
  • ranks: y_norm_percentile
  • accumulates: as_of(y_norm)
  • can be a benchmark
NHL · nhlscraper
distance Dist number
measure

Feet from the middle of the goal line.

Feet from the net

What it takes
  • folds: sum(distance) avg(distance) min(distance) max(distance) count(distance) distinct(distance) only(distance) latest(distance) top(distance) mean(distance) median(distance) mode(distance)
  • ranks: distance_percentile
  • accumulates: as_of(distance)
  • can be a benchmark
NHL · nhlscraper
angle Angle number
measure

Degrees off the line straight out from the net.

Degrees off the centre line

What it takes
  • folds: sum(angle) avg(angle) min(angle) max(angle) count(angle) distinct(angle) only(angle) latest(angle) top(angle) mean(angle) median(angle) mode(angle)
  • ranks: angle_percentile
  • accumulates: as_of(angle)
  • can be a benchmark
NHL · nhlscraper
rush Rush boolean
dimension

A shot within four seconds of an event in the neutral or defensive zone.

A shot within four seconds of a neutral- or defensive-zone event

What it takes
  • folds: count(rush) distinct(rush) only(rush) latest(rush) top(rush) mode(rush)
NHL · nhlscraper
rebound Reb boolean
dimension

A shot within three seconds of another attempt.

A shot within three seconds of another

What it takes
  • folds: count(rebound) distinct(rebound) only(rebound) latest(rebound) top(rebound) mode(rebound)
NHL · nhlscraper
created_rebound Reb+ boolean
dimension

An attempt that another attempt followed within three seconds.

What it takes
  • folds: count(created_rebound) distinct(created_rebound) only(created_rebound) latest(created_rebound) top(created_rebound) mode(created_rebound)
NHL · nhlscraper
xg xG number
measure

Expected goals: nhlscraper's model of how often this attempt becomes a goal, from where it was taken, how, and at what strength. It sums.

Expected goals on this attempt — sums, so a season of xG is sum(xg)

What it takes
  • folds: sum(xg) avg(xg) min(xg) max(xg) count(xg) distinct(xg) only(xg) latest(xg) top(xg) mean(xg) median(xg) mode(xg)
  • ranks: xg_percentile
  • can be a benchmark
NHL · nhlscraper
attempt Att boolean
dimension

Whether the row is a shot attempt of any kind.

A shot attempt of any kind

What it takes
  • folds: count(attempt) distinct(attempt) only(attempt) latest(attempt) top(attempt) mode(attempt)
NHL · nhlscraper
unblocked Unblk boolean
dimension

Whether the row is an attempt that was not blocked.

What it takes
  • folds: count(unblocked) distinct(unblocked) only(unblocked) latest(unblocked) top(unblocked) mode(unblocked)
NHL · nhlscraper
shot SOG boolean
dimension

Whether the row is a shot on goal — a save or a goal.

On goal — a save or a goal

What it takes
  • folds: count(shot) distinct(shot) only(shot) latest(shot) top(shot) mode(shot)
NHL · nhlscraper
goal Goal boolean
dimension

Whether the row is a goal.

What it takes
  • folds: count(goal) distinct(goal) only(goal) latest(goal) top(goal) mode(goal)
NHL · nhlscraper
goal_rate G% number
measure

Goals as a share of rows — filter to attempts first.

Share of rows that were goals — filter to attempts first

What it takes
  • folds: sum(goal_rate) avg(goal_rate) min(goal_rate) max(goal_rate) count(goal_rate) distinct(goal_rate) only(goal_rate) latest(goal_rate) top(goal_rate) mean(goal_rate) median(goal_rate) mode(goal_rate)
  • ranks: goal_rate_percentile
  • accumulates: as_of(goal_rate)
  • can be a benchmark
NHL · nhlscraper
shot_rate SOG% number
measure

Shots on goal as a share of rows.

Share of rows that reached the net

What it takes
  • folds: sum(shot_rate) avg(shot_rate) min(shot_rate) max(shot_rate) count(shot_rate) distinct(shot_rate) only(shot_rate) latest(shot_rate) top(shot_rate) mean(shot_rate) median(shot_rate) mode(shot_rate)
  • ranks: shot_rate_percentile
  • accumulates: as_of(shot_rate)
  • can be a benchmark
NHL · nhlscraper
goals_over_xg G-xG number
measure

Goals less expected goals on the attempt; summed, it is finishing above or below the model.

Goals less expected goals on the attempt — sums to finishing above the model

What it takes
  • folds: sum(goals_over_xg) avg(goals_over_xg) min(goals_over_xg) max(goals_over_xg) count(goals_over_xg) distinct(goals_over_xg) only(goals_over_xg) latest(goals_over_xg) top(goals_over_xg) mean(goals_over_xg) median(goals_over_xg) mode(goals_over_xg)
  • ranks: goals_over_xg_percentile
  • accumulates: as_of(goals_over_xg)
  • can be a benchmark
NHL · nhlscraper
home_goals HG integer
measure

The home club's goals after this event.

The score after this event

What it takes
  • folds: sum(home_goals) avg(home_goals) min(home_goals) max(home_goals) count(home_goals) distinct(home_goals) only(home_goals) latest(home_goals) top(home_goals) mean(home_goals) median(home_goals) mode(home_goals)
  • ranks: home_goals_percentile
  • accumulates: as_of(home_goals)
  • can be a benchmark
NHL · nhlscraper
away_goals AG integer
measure

The visiting club's goals after this event.

What it takes
  • folds: sum(away_goals) avg(away_goals) min(away_goals) max(away_goals) count(away_goals) distinct(away_goals) only(away_goals) latest(away_goals) top(away_goals) mean(away_goals) median(away_goals) mode(away_goals)
  • ranks: away_goals_percentile
  • accumulates: as_of(away_goals)
  • can be a benchmark
NHL · nhlscraper
goal_diff Diff integer
measure

The event's club's lead after this event.

The event's club's lead after this event

What it takes
  • folds: sum(goal_diff) avg(goal_diff) min(goal_diff) max(goal_diff) count(goal_diff) distinct(goal_diff) only(goal_diff) latest(goal_diff) top(goal_diff) mean(goal_diff) median(goal_diff) mode(goal_diff)
  • ranks: goal_diff_percentile
  • accumulates: as_of(goal_diff)
  • can be a benchmark
NHL · nhlscraper
shots_for SF integer
measure

The event's club's shots on goal so far.

The event's club's shots on goal so far

What it takes
  • folds: sum(shots_for) avg(shots_for) min(shots_for) max(shots_for) count(shots_for) distinct(shots_for) only(shots_for) latest(shots_for) top(shots_for) mean(shots_for) median(shots_for) mode(shots_for)
  • ranks: shots_for_percentile
  • accumulates: as_of(shots_for)
  • can be a benchmark
NHL · nhlscraper
shots_against SA integer
measure

The other club's shots on goal so far.

What it takes
  • folds: sum(shots_against) avg(shots_against) min(shots_against) max(shots_against) count(shots_against) distinct(shots_against) only(shots_against) latest(shots_against) top(shots_against) mean(shots_against) median(shots_against) mode(shots_against)
  • ranks: shots_against_percentile
  • accumulates: as_of(shots_against)
  • can be a benchmark
NHL · nhlscraper
cf CF integer
measure

The event's club's shot attempts so far.

Attempts so far, for the event's club

What it takes
  • folds: sum(cf) avg(cf) min(cf) max(cf) count(cf) distinct(cf) only(cf) latest(cf) top(cf) mean(cf) median(cf) mode(cf)
  • ranks: cf_percentile
  • accumulates: as_of(cf)
  • can be a benchmark
NHL · nhlscraper
ca CA integer
measure

The other club's shot attempts so far.

What it takes
  • folds: sum(ca) avg(ca) min(ca) max(ca) count(ca) distinct(ca) only(ca) latest(ca) top(ca) mean(ca) median(ca) mode(ca)
  • ranks: ca_percentile
  • accumulates: as_of(ca)
  • can be a benchmark
NHL · nhlscraper
ff FF integer
measure

The event's club's unblocked attempts so far.

What it takes
  • folds: sum(ff) avg(ff) min(ff) max(ff) count(ff) distinct(ff) only(ff) latest(ff) top(ff) mean(ff) median(ff) mode(ff)
  • ranks: ff_percentile
  • accumulates: as_of(ff)
  • can be a benchmark
NHL · nhlscraper
fa FA integer
measure

The other club's unblocked attempts so far.

What it takes
  • folds: sum(fa) avg(fa) min(fa) max(fa) count(fa) distinct(fa) only(fa) latest(fa) top(fa) mean(fa) median(fa) mode(fa)
  • ranks: fa_percentile
  • accumulates: as_of(fa)
  • can be a benchmark
NHL · nhlscraper
skaters_for SkF integer
measure

Skaters the event's club had on the ice.

What it takes
  • folds: sum(skaters_for) avg(skaters_for) min(skaters_for) max(skaters_for) count(skaters_for) distinct(skaters_for) only(skaters_for) latest(skaters_for) top(skaters_for) mean(skaters_for) median(skaters_for) mode(skaters_for)
  • ranks: skaters_for_percentile
  • accumulates: as_of(skaters_for)
  • can be a benchmark
NHL · nhlscraper
skaters_against SkA integer
measure

Skaters the other club had on the ice.

What it takes
  • folds: sum(skaters_against) avg(skaters_against) min(skaters_against) max(skaters_against) count(skaters_against) distinct(skaters_against) only(skaters_against) latest(skaters_against) top(skaters_against) mean(skaters_against) median(skaters_against) mode(skaters_against)
  • ranks: skaters_against_percentile
  • accumulates: as_of(skaters_against)
  • can be a benchmark
NHL · nhlscraper
empty_net_for EN For boolean
dimension

Whether the event's club had its goalie pulled.

The event's club had its goalie pulled

What it takes
  • folds: count(empty_net_for) distinct(empty_net_for) only(empty_net_for) latest(empty_net_for) top(empty_net_for) mode(empty_net_for)
NHL · nhlscraper
empty_net_against EN Ag boolean
dimension

Whether the other club's net was empty.

The other net was empty

What it takes
  • folds: count(empty_net_against) distinct(empty_net_against) only(empty_net_against) latest(empty_net_against) top(empty_net_against) mode(empty_net_against)
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Operators on this table 43 available

from

The one table a query reads

from nhl.plays
select game_date, team, period, period_seconds, event_type, strength, shooter, shot_type, distance, xg
order by xg desc
limit 200

select

The columns the answer carries

from nhl.plays
select game_date, team, period, period_seconds, event_type, strength, shooter, shot_type, distance, xg
order by xg desc
limit 200

as

Renames a column's heading and nothing else

from nhl.plays
select game_date, team, period as Per
order by period desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.plays
where season = $year
select game_date, team, period
order by period desc
limit 10

limit

How many rows come back

from nhl.plays
select game_date, team, period, period_seconds, event_type, strength, shooter, shot_type, distance, xg
order by xg desc
limit 200

order by

Which end of the answer comes first

from nhl.plays
select game_date, team, period
order by period desc
limit 10

#

A comment, to the end of the line

# Plays — Every event since 2010-11 — shots with location, type and expected goals, hits, faceoffs and penalties, with the strength and the skaters on the ice.
from nhl.plays
select game_date, team, period, period_seconds, event_type, strength, shooter, shot_type, distance, xg
order by xg desc
limit 200

where

Chooses the rows the question is about

from nhl.plays
where season = 2026
select team, period
order by period desc
limit 10

and

Continues whichever filter clause came last

from nhl.plays
where season = 2026 and period > 0
select team, period
order by period desc
limit 10

having

Filters the groups a fold made

from nhl.plays
select team, sum(period)
group by team
having sum(period) > 0
order by sum(period) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.plays
where season = 2026
select team, period, period_percentile
keep period_percentile >= 90
order by period_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.plays
select team, season, period
highlight season = 2026
order by period desc
limit 10

of

A threshold that is another row rather than a number

from nhl.plays
where period >= max(period) of season 2026
select team, period
order by period desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.plays
select team, count(*), sum(period)
group by team
order by sum(period) desc
limit 10

then

Folds the answer a second time

from nhl.plays
select team, event_type, count(*)
group by team, event_type
having count(*) > 10
then
select team, count(*) as Events
group by team
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.plays
select team, event_type, sum(period)
group by team, event_type
pivot by event_type
limit 25

first / last

Only part of each career, before anything else runs

from nhl.plays
first 3 seasons
select team, sum(period)
group by team
order by sum(period) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.plays
select team, sum(period)
group by team
order by sum(period) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.plays
select team, avg(period)
group by team
order by avg(period) desc
limit 10

min(…)

The smallest value in each group

from nhl.plays
select team, min(period)
group by team
order by min(period) desc
limit 10

max(…)

The largest value in each group

from nhl.plays
select team, max(period)
group by team
order by max(period) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.plays
select team, count(period)
group by team
order by count(period) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.plays
select team, distinct(game_date)
group by team
order by distinct(game_date) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.plays
where season = 2026
select team, only(game_date)
group by team
order by only(game_date) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.plays
select team, latest(team)
group by team
order by count(*) desc
limit 10

top(…)

The value on the group's biggest row

from nhl.plays
select team, top(team)
group by team
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.plays
select team, mean(period)
group by team
order by mean(period) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.plays
select team, median(period)
group by team
order by median(period) desc
limit 10

mode(…)

The commonest value in the group

from nhl.plays
select team, mode(team)
group by team
order by count(*) desc
limit 10

year(…)

Reads a date as the year it falls in

from nhl.plays
select team, year(game_date), sum(period)
group by team, year(game_date)
order by year(game_date) asc
limit 20

quarter(…)

Reads a date as the quarter it falls in

from nhl.plays
select team, quarter(game_date), sum(period)
group by team, quarter(game_date)
order by quarter(game_date) asc
limit 20

month(…)

Reads a date as the month it falls in

from nhl.plays
select team, month(game_date), sum(period)
group by team, month(game_date)
order by month(game_date) asc
limit 20

week(…)

Reads a date as the week it falls in

from nhl.plays
select team, week(game_date), sum(period)
group by team, week(game_date)
order by week(game_date) asc
limit 20

as_of(…)

The stat as it stood, season to date

from nhl.plays
where season = 2026
select team, month(game_date), as_of(period)
group by team, month(game_date)
order by month(game_date) asc
limit 25

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.plays
where season = 2026
select team, period, period_percentile
order by period_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.plays
select team, sum(period), percentile(sum(period))
group by team
order by sum(period) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.plays
where season = 2026
select team, period, standing(period)
order by period desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.plays
where season = 2026
select team, period, period_seconds, composite(period, period_seconds)
order by composite(period, period_seconds) desc
limit 10

ratio(…)

One column divided by another

from nhl.plays
select team, count(*), ratio(sum(period), count(*))
group by team
order by ratio(sum(period), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.plays
where season = 2026
select team, period, period_seconds, calc(standing(period) - standing(period_seconds))
order by calc(standing(period) - standing(period_seconds)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.plays
select team, period, format(period, > 0 -> "on the board", <= 0 -> "nothing yet")
order by period desc
limit 10

pair

Draws two columns of the answer in one

from nhl.plays
where season = 2026
select team, period, period_percentile
pair period with period_percentile
order by period desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.plays
where season = 2026
select team, period, period_seconds, game_seconds, composite(period, period_seconds, game_seconds) as Score
hint composite(period, period_seconds, game_seconds) as "Per + Sec + GSec"
order by composite(period, period_seconds, game_seconds) desc
limit 10

nhl.shifts Shifts

Every shift since 2010-11: the player, the period, and the seconds it started and ended.

from nhl.shifts
select game_date, player, team, period, shift_number, start_time, end_time, duration
order by duration desc
limit 200
One row is
one player's shift (player-shift)
Built from
one table, read straight
Reads
nhl_shifts NHL, nhlscraper
Shows by default
game_date player team period shift_number start_time end_time duration
Ordered by
duration desc
Rows
200 by default, 50000 at most
Ranks within
season
Careers counted in
seasons game_dates shifts
Newest row
game_date
Biggest row
duration

Applied unless you say otherwise

  • Limited to the regular season — add where season_type = POST for the playoffs.

Before you trust the numbers

  • A shift is one continuous stint on the ice; sum(duration) / 60 over a game is his time on ice, and count(*) his shifts.
Dimensions 5
NameBound to
league always nhl
team the team column
player the player column
position the position column
season the season column
Columns 16
NameHeadingTypeWhat it is
season completes season Season season
dimension

The season, by the year it started — 2024 is 2024-25.

What it takes
  • folds: min(season) max(season) count(season) distinct(season) only(season) latest(season) top(season) mode(season)
  • can be a benchmark
NHL · nhlscraper
season_type completes season_type Type string
dimension

REG for the regular season, POST for the playoffs.

REG or POST

What it takes
  • folds: count(season_type) distinct(season_type) only(season_type) latest(season_type) top(season_type) mode(season_type)
NHL · nhlscraper
game_date Date date
dimension

The date the game was played.

What it takes
  • folds: min(game_date) max(game_date) count(game_date) distinct(game_date) only(game_date) latest(game_date) top(game_date) mode(game_date)
  • periods: year(game_date) quarter(game_date) month(game_date) week(game_date)
  • can be a benchmark
NHL · nhlscraper
player completes player Player string
dimension

The player, by the name the league's registry lists him under.

What it takes
  • folds: count(player) distinct(player) only(player) latest(player) top(player) mode(player)
NHL · nhlscraper
team completes team Team string
dimension

The club, by the code it wore that season.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) top(team) mode(team)
NHL · nhlscraper
position completes position Pos string
dimension

C, L, R or D for a skater; G for a goalie. NHL.com

C, L, R, D or G

What it takes
  • folds: count(position) distinct(position) only(position) latest(position) top(position) mode(position)
NHL · nhlscraper
period Per integer
measure

The period, with overtime as 4 and a shootout as 5.

What it takes
  • folds: sum(period) avg(period) min(period) max(period) count(period) distinct(period) only(period) latest(period) top(period) mean(period) median(period) mode(period)
  • ranks: period_percentile
  • accumulates: as_of(period)
  • can be a benchmark
NHL · nhlscraper
shift_number # integer
measure

Which of his shifts in the game this was.

What it takes
  • folds: sum(shift_number) avg(shift_number) min(shift_number) max(shift_number) count(shift_number) distinct(shift_number) only(shift_number) latest(shift_number) top(shift_number) mean(shift_number) median(shift_number) mode(shift_number)
  • ranks: shift_number_percentile
  • accumulates: as_of(shift_number)
  • can be a benchmark
NHL · nhlscraper
start_time Start string
dimension

The clock when the shift began, as mm:ss of the period.

What it takes
  • folds: count(start_time) distinct(start_time) only(start_time) latest(start_time) top(start_time) mode(start_time)
NHL · nhlscraper
end_time End string
dimension

The clock when the shift ended.

What it takes
  • folds: count(end_time) distinct(end_time) only(end_time) latest(end_time) top(end_time) mode(end_time)
NHL · nhlscraper
start_seconds Start s integer
measure

Seconds into the period the shift began.

Seconds into the period the shift began

What it takes
  • folds: sum(start_seconds) avg(start_seconds) min(start_seconds) max(start_seconds) count(start_seconds) distinct(start_seconds) only(start_seconds) latest(start_seconds) top(start_seconds) mean(start_seconds) median(start_seconds) mode(start_seconds)
  • ranks: start_seconds_percentile
  • accumulates: as_of(start_seconds)
  • can be a benchmark
NHL · nhlscraper
end_seconds End s integer
measure

Seconds into the period the shift ended.

What it takes
  • folds: sum(end_seconds) avg(end_seconds) min(end_seconds) max(end_seconds) count(end_seconds) distinct(end_seconds) only(end_seconds) latest(end_seconds) top(end_seconds) mean(end_seconds) median(end_seconds) mode(end_seconds)
  • ranks: end_seconds_percentile
  • accumulates: as_of(end_seconds)
  • can be a benchmark
NHL · nhlscraper
start_game_seconds Start gs integer
measure

Seconds into the game the shift began.

What it takes
  • folds: sum(start_game_seconds) avg(start_game_seconds) min(start_game_seconds) max(start_game_seconds) count(start_game_seconds) distinct(start_game_seconds) only(start_game_seconds) latest(start_game_seconds) top(start_game_seconds) mean(start_game_seconds) median(start_game_seconds) mode(start_game_seconds)
  • ranks: start_game_seconds_percentile
  • accumulates: as_of(start_game_seconds)
  • can be a benchmark
NHL · nhlscraper
duration Dur integer
measure

Seconds on the ice.

Seconds on the ice

What it takes
  • folds: sum(duration) avg(duration) min(duration) max(duration) count(duration) distinct(duration) only(duration) latest(duration) top(duration) mean(duration) median(duration) mode(duration)
  • ranks: duration_percentile
  • accumulates: as_of(duration)
  • can be a benchmark
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Operators on this table 43 available

from

The one table a query reads

from nhl.shifts
select game_date, player, team, period, shift_number, start_time, end_time, duration
order by duration desc
limit 200

select

The columns the answer carries

from nhl.shifts
select game_date, player, team, period, shift_number, start_time, end_time, duration
order by duration desc
limit 200

as

Renames a column's heading and nothing else

from nhl.shifts
select game_date, player, period as Per
order by period desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.shifts
where season = $year
select game_date, player, team
order by period desc
limit 10

limit

How many rows come back

from nhl.shifts
select game_date, player, team, period, shift_number, start_time, end_time, duration
order by duration desc
limit 200

order by

Which end of the answer comes first

from nhl.shifts
select game_date, player, team, period
order by period desc
limit 10

#

A comment, to the end of the line

# Shifts — Every shift since 2010-11: the player, the period, and the seconds it started and ended.
from nhl.shifts
select game_date, player, team, period, shift_number, start_time, end_time, duration
order by duration desc
limit 200

where

Chooses the rows the question is about

from nhl.shifts
where season = 2026
select player, period
order by period desc
limit 10

and

Continues whichever filter clause came last

from nhl.shifts
where season = 2026 and period > 0
select player, period
order by period desc
limit 10

having

Filters the groups a fold made

from nhl.shifts
select player, sum(period)
group by player
having sum(period) > 0
order by sum(period) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.shifts
where season = 2026
select player, period, period_percentile
keep period_percentile >= 90
order by period_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.shifts
select player, season, period
highlight season = 2026
order by period desc
limit 10

of

A threshold that is another row rather than a number

from nhl.shifts
where period >= max(period) of position C
select player, period
order by period desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.shifts
select player, count(*), sum(period)
group by player
order by sum(period) desc
limit 10

then

Folds the answer a second time

from nhl.shifts
select player, team, count(*)
group by player, team
having count(*) > 10
then
select player, count(*) as Teams
group by player
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.shifts
select player, team, sum(period)
group by player, team
pivot by team
limit 25

first / last

Only part of each career, before anything else runs

from nhl.shifts
first 3 seasons
select player, sum(period)
group by player
order by sum(period) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.shifts
select player, sum(period)
group by player
order by sum(period) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.shifts
select player, avg(period)
group by player
order by avg(period) desc
limit 10

min(…)

The smallest value in each group

from nhl.shifts
select player, min(period)
group by player
order by min(period) desc
limit 10

max(…)

The largest value in each group

from nhl.shifts
select player, max(period)
group by player
order by max(period) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.shifts
select player, count(period)
group by player
order by count(period) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.shifts
select player, distinct(game_date)
group by player
order by distinct(game_date) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.shifts
where season = 2026
select player, only(game_date)
group by player
order by only(game_date) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.shifts
select player, latest(player)
group by player
order by count(*) desc
limit 10

top(…)

The value on the group's biggest row

from nhl.shifts
select player, top(player)
group by player
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.shifts
select player, mean(period)
group by player
order by mean(period) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.shifts
select player, median(period)
group by player
order by median(period) desc
limit 10

mode(…)

The commonest value in the group

from nhl.shifts
select player, mode(player)
group by player
order by count(*) desc
limit 10

year(…)

Reads a date as the year it falls in

from nhl.shifts
select player, year(game_date), sum(period)
group by player, year(game_date)
order by year(game_date) asc
limit 20

quarter(…)

Reads a date as the quarter it falls in

from nhl.shifts
select player, quarter(game_date), sum(period)
group by player, quarter(game_date)
order by quarter(game_date) asc
limit 20

month(…)

Reads a date as the month it falls in

from nhl.shifts
select player, month(game_date), sum(period)
group by player, month(game_date)
order by month(game_date) asc
limit 20

week(…)

Reads a date as the week it falls in

from nhl.shifts
select player, week(game_date), sum(period)
group by player, week(game_date)
order by week(game_date) asc
limit 20

as_of(…)

The stat as it stood, season to date

from nhl.shifts
where season = 2026
select player, month(game_date), as_of(period)
group by player, month(game_date)
order by month(game_date) asc
limit 25

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.shifts
where season = 2026
select player, period, period_percentile
order by period_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.shifts
select player, sum(period), percentile(sum(period))
group by player
order by sum(period) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.shifts
where season = 2026
select player, period, standing(period)
order by period desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.shifts
where season = 2026
select player, period, shift_number, composite(period, shift_number)
order by composite(period, shift_number) desc
limit 10

ratio(…)

One column divided by another

from nhl.shifts
select player, count(*), ratio(sum(period), count(*))
group by player
order by ratio(sum(period), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.shifts
where season = 2026
select player, period, shift_number, calc(standing(period) - standing(shift_number))
order by calc(standing(period) - standing(shift_number)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.shifts
select player, period, format(period, > 0 -> "on the board", <= 0 -> "nothing yet")
order by period desc
limit 10

pair

Draws two columns of the answer in one

from nhl.shifts
where season = 2026
select player, period, period_percentile
pair period with period_percentile
order by period desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.shifts
where season = 2026
select player, period, shift_number, start_seconds, composite(period, shift_number, start_seconds) as Score
hint composite(period, shift_number, start_seconds) as "Per + # + Start s"
order by composite(period, shift_number, start_seconds) desc
limit 10

nhl.draft Draft picks

Every draft pick since 1963: the year, round and slot, who took him and where he came from.

from nhl.draft
select draft_year, round, overall, player, position, team, amateur_club, amateur_league
order by overall asc
limit 250
One row is
one player's pick (player-pick)
Built from
one table, read straight
Reads
nhl_draft_picks NHL, nhlscraper
Shows by default
draft_year round overall player position team amateur_club amateur_league
Ordered by
overall asc
Rows
250 by default, 20000 at most
Ranks within
draft_year
Careers counted in
draft_years picks
Newest row
draft_year

Before you trust the numbers

  • A pick without a player id is one whose player never appeared in the league's registry; his name is still on the row.
Dimensions 5
NameBound to
league always nhl
team the team column
player the player column
position the position column
season the draft_year column
Columns 20
NameHeadingTypeWhat it is
draft_year completes draft_year Year integer
dimension

The year of the draft.

What it takes
  • folds: sum(draft_year) avg(draft_year) min(draft_year) max(draft_year) count(draft_year) distinct(draft_year) only(draft_year) latest(draft_year) mean(draft_year) median(draft_year) mode(draft_year)
  • can be a benchmark
NHL · nhlscraper
round lower is better Rd integer
measure

The round he was taken in.

What it takes
  • folds: sum(round) avg(round) min(round) max(round) count(round) distinct(round) only(round) latest(round) mean(round) median(round) mode(round)
  • ranks: round_percentile
  • accumulates: as_of(round)
  • can be a benchmark
NHL · nhlscraper
pick lower is better Pick integer
measure

His slot within the round.

What it takes
  • folds: sum(pick) avg(pick) min(pick) max(pick) count(pick) distinct(pick) only(pick) latest(pick) mean(pick) median(pick) mode(pick)
  • ranks: pick_percentile
  • accumulates: as_of(pick)
  • can be a benchmark
NHL · nhlscraper
overall lower is better Ovr integer
measure

His overall pick number.

What it takes
  • folds: sum(overall) avg(overall) min(overall) max(overall) count(overall) distinct(overall) only(overall) latest(overall) mean(overall) median(overall) mode(overall)
  • ranks: overall_percentile
  • accumulates: as_of(overall)
  • can be a benchmark
NHL · nhlscraper
player completes player Player string
dimension

The player, by the name the league's registry lists him under.

What it takes
  • folds: count(player) distinct(player) only(player) latest(player) mode(player)
NHL · nhlscraper
position completes position Pos string
dimension

C, L, R or D for a skater; G for a goalie. NHL.com

C, L, R, D or G

What it takes
  • folds: count(position) distinct(position) only(position) latest(position) mode(position)
NHL · nhlscraper
shoots Shoots string
dimension

Which way he shoots — L or R.

What it takes
  • folds: count(shoots) distinct(shoots) only(shoots) latest(shoots) mode(shoots)
NHL · nhlscraper
team completes team Team string
dimension

The club that drafted him.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) mode(team)
NHL · nhlscraper
franchise completes franchise Franchise string
dimension

The club's franchise, by the code it wears today — the thread through relocations.

The franchise's current code — every Coyotes and Mammoth season is under UTA

What it takes
  • folds: count(franchise) distinct(franchise) only(franchise) latest(franchise) mode(franchise)
NHL · nhlscraper
amateur_club From string
dimension

The club he was drafted from.

What it takes
  • folds: count(amateur_club) distinct(amateur_club) only(amateur_club) latest(amateur_club) mode(amateur_club)
NHL · nhlscraper
amateur_league completes amateur_league League string
dimension

The league he was drafted from.

What it takes
  • folds: count(amateur_league) distinct(amateur_league) only(amateur_league) latest(amateur_league) mode(amateur_league)
NHL · nhlscraper
country completes nationality Ctry string
dimension

The country he was drafted from, as a code.

What it takes
  • folds: count(country) distinct(country) only(country) latest(country) mode(country)
NHL · nhlscraper
birth_place Born string
dimension

Where he was born.

What it takes
  • folds: count(birth_place) distinct(birth_place) only(birth_place) latest(birth_place) mode(birth_place)
NHL · nhlscraper
age Age integer
measure

His age on draft day.

Age on draft day

What it takes
  • folds: sum(age) avg(age) min(age) max(age) count(age) distinct(age) only(age) latest(age) mean(age) median(age) mode(age)
  • ranks: age_percentile
  • accumulates: as_of(age)
  • can be a benchmark
NHL · nhlscraper
height Ht integer
measure

Height in inches at the draft.

Inches

What it takes
  • folds: sum(height) avg(height) min(height) max(height) count(height) distinct(height) only(height) latest(height) mean(height) median(height) mode(height)
  • ranks: height_percentile
  • accumulates: as_of(height)
  • can be a benchmark
NHL · nhlscraper
weight Wt integer
measure

Weight in pounds at the draft.

What it takes
  • folds: sum(weight) avg(weight) min(weight) max(weight) count(weight) distinct(weight) only(weight) latest(weight) mean(weight) median(weight) mode(weight)
  • ranks: weight_percentile
  • accumulates: as_of(weight)
  • can be a benchmark
NHL · nhlscraper
nhl_games_experience NHL yrs integer
measure

Seasons of NHL experience the registry credits him with.

Seasons of NHL experience the registry credits him with

What it takes
  • folds: sum(nhl_games_experience) avg(nhl_games_experience) min(nhl_games_experience) max(nhl_games_experience) count(nhl_games_experience) distinct(nhl_games_experience) only(nhl_games_experience) latest(nhl_games_experience) mean(nhl_games_experience) median(nhl_games_experience) mode(nhl_games_experience)
  • ranks: nhl_games_experience_percentile
  • accumulates: as_of(nhl_games_experience)
  • can be a benchmark
NHL · nhlscraper
hall_of_fame HOF boolean
dimension

Whether he is in the Hockey Hall of Fame.

What it takes
  • folds: count(hall_of_fame) distinct(hall_of_fame) only(hall_of_fame) latest(hall_of_fame) mode(hall_of_fame)
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Operators on this table 37 available, 6 not

from

The one table a query reads

from nhl.draft
select draft_year, round, overall, player, position, team, amateur_club, amateur_league
order by overall asc
limit 250

select

The columns the answer carries

from nhl.draft
select draft_year, round, overall, player, position, team, amateur_club, amateur_league
order by overall asc
limit 250

as

Renames a column's heading and nothing else

from nhl.draft
select draft_year, round, round as Rd
order by round asc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.draft
where draft_year = $year
select draft_year, round, overall
order by round asc
limit 10

limit

How many rows come back

from nhl.draft
select draft_year, round, overall, player, position, team, amateur_club, amateur_league
order by overall asc
limit 250

order by

Which end of the answer comes first

from nhl.draft
select draft_year, round, overall
order by round asc
limit 10

#

A comment, to the end of the line

# Draft picks — Every draft pick since 1963: the year, round and slot, who took him and where he came from.
from nhl.draft
select draft_year, round, overall, player, position, team, amateur_club, amateur_league
order by overall asc
limit 250

where

Chooses the rows the question is about

from nhl.draft
where draft_year = 1
select player, round
order by round asc
limit 10

and

Continues whichever filter clause came last

from nhl.draft
where draft_year = 1 and round > 0
select player, round
order by round asc
limit 10

having

Filters the groups a fold made

from nhl.draft
select player, sum(round)
group by player
having sum(round) > 0
order by sum(round) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.draft
where draft_year = 1
select player, round, round_percentile
keep round_percentile >= 90
order by round_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.draft
select player, draft_year, round
highlight draft_year = 1
order by round asc
limit 10

of

A threshold that is another row rather than a number

from nhl.draft
where round >= max(round) of position C
select player, round
order by round asc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.draft
select player, count(*), sum(round)
group by player
order by sum(round) desc
limit 10

then

Folds the answer a second time

from nhl.draft
select player, position, count(*)
group by player, position
having count(*) > 10
then
select player, count(*) as Poss
group by player
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.draft
select player, position, sum(round)
group by player, position
pivot by position
limit 25

first / last

Only part of each career, before anything else runs

from nhl.draft
first 3 draft_years
select player, sum(round)
group by player
order by sum(round) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.draft
select player, sum(round)
group by player
order by sum(round) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.draft
select player, avg(round)
group by player
order by avg(round) desc
limit 10

min(…)

The smallest value in each group

from nhl.draft
select player, min(round)
group by player
order by min(round) desc
limit 10

max(…)

The largest value in each group

from nhl.draft
select player, max(round)
group by player
order by max(round) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.draft
select player, count(round)
group by player
order by count(round) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.draft
select player, distinct(draft_year)
group by player
order by distinct(draft_year) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.draft
where draft_year = 1
select player, only(draft_year)
group by player
order by only(draft_year) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.draft
select player, latest(player)
group by player
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.draft
select player, mean(round)
group by player
order by mean(round) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.draft
select player, median(round)
group by player
order by median(round) desc
limit 10

mode(…)

The commonest value in the group

from nhl.draft
select player, mode(player)
group by player
order by count(*) desc
limit 10

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.draft
where draft_year = 1
select player, round, round_percentile
order by round_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.draft
select player, sum(round), percentile(sum(round))
group by player
order by sum(round) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.draft
where draft_year = 1
select player, round, standing(round)
order by round asc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.draft
where draft_year = 1
select player, round, pick, composite(round, pick)
order by composite(round, pick) desc
limit 10

ratio(…)

One column divided by another

from nhl.draft
select player, count(*), ratio(sum(round), count(*))
group by player
order by ratio(sum(round), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.draft
where draft_year = 1
select player, round, pick, calc(standing(round) - standing(pick))
order by calc(standing(round) - standing(pick)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.draft
select player, round, format(round, > 0 -> "on the board", <= 0 -> "nothing yet")
order by round asc
limit 10

pair

Draws two columns of the answer in one

from nhl.draft
where draft_year = 1
select player, round, round_percentile
pair round with round_percentile
order by round asc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.draft
where draft_year = 1
select player, round, pick, overall, composite(round, pick, overall) as Score
hint composite(round, pick, overall) as "Rd + Pick + Ovr"
order by composite(round, pick, overall) desc
limit 10

Not on this table

  • top(…) — this table does not say which of its rows is the biggest, so there is no top one to pick
  • year(…) — this table has no date column to read a period off
  • quarter(…) — this table has no date column to read a period off
  • month(…) — this table has no date column to read a period off
  • week(…) — this table has no date column to read a period off
  • as_of(…) — this table has no time axis to accumulate along

nhl.awards Awards

Every trophy winner, runner-up and finalist since 1917-18, with the vote where there was one.

from nhl.awards
select season, trophy, status, player, team, votes
order by season desc
limit 200
One row is
one player's season (player-season)
Built from
one table, read straight
Reads
nhl_awards NHL, nhlscraper
Shows by default
season trophy status player team votes
Ordered by
season desc
Rows
200 by default, 10000 at most
Ranks within
season
Careers counted in
seasons

Applied unless you say otherwise

  • Showing winners — add where status = FINALIST or RUNNER_UP for the rest of the ballot.

Before you trust the numbers

  • Club trophies — the Stanley Cup, the Presidents' Trophy — have a team and no player.
  • Every finalist is a row, so where status = WINNER is the list of winners.
Dimensions 5
NameBound to
league always nhl
team the team column
player the player column
position the position column
season the season column
Columns 13
NameHeadingTypeWhat it is
season completes season Season season
dimension

The season, by the year it started — 2024 is 2024-25.

What it takes
  • folds: min(season) max(season) count(season) distinct(season) only(season) latest(season) mode(season)
  • can be a benchmark
NHL · nhlscraper
trophy completes trophy Trophy string
dimension

The trophy.

What it takes
  • folds: count(trophy) distinct(trophy) only(trophy) latest(trophy) mode(trophy)
NHL · nhlscraper
awarded_for For string
dimension

What the trophy is for, in the league's words.

What it takes
  • folds: count(awarded_for) distinct(awarded_for) only(awarded_for) latest(awarded_for) mode(awarded_for)
NHL · nhlscraper
status completes award_status Status string
dimension

WINNER, RUNNER_UP or FINALIST.

WINNER, RUNNER_UP or FINALIST

What it takes
  • folds: count(status) distinct(status) only(status) latest(status) mode(status)
NHL · nhlscraper
player completes player Player string
dimension

The player, by the name the league's registry lists him under.

What it takes
  • folds: count(player) distinct(player) only(player) latest(player) mode(player)
NHL · nhlscraper
position completes position Pos string
dimension

C, L, R or D for a skater; G for a goalie. NHL.com

C, L, R, D or G

What it takes
  • folds: count(position) distinct(position) only(position) latest(position) mode(position)
NHL · nhlscraper
team completes team Team string
dimension

The club — his that season, or the club the trophy went to.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) mode(team)
NHL · nhlscraper
franchise completes franchise Franchise string
dimension

The club's franchise, by the code it wears today — the thread through relocations.

The franchise's current code — every Coyotes and Mammoth season is under UTA

What it takes
  • folds: count(franchise) distinct(franchise) only(franchise) latest(franchise) mode(franchise)
NHL · nhlscraper
value Value integer
measure

The figure the award was for, where it is a counting trophy — goals for the Rocket, points for the Art Ross.

The figure the award was for, where it is a counting trophy — goals for the Rocket, points for the Art Ross

What it takes
  • folds: sum(value) avg(value) min(value) max(value) count(value) distinct(value) only(value) latest(value) mean(value) median(value) mode(value)
  • ranks: value_percentile
  • accumulates: as_of(value)
  • can be a benchmark
NHL · nhlscraper
votes Votes integer
measure

Voting points received, where the award is voted.

What it takes
  • folds: sum(votes) avg(votes) min(votes) max(votes) count(votes) distinct(votes) only(votes) latest(votes) mean(votes) median(votes) mode(votes)
  • ranks: votes_percentile
  • accumulates: as_of(votes)
  • can be a benchmark
NHL · nhlscraper
rookie Rookie boolean
dimension

Whether he was a rookie that season.

What it takes
  • folds: count(rookie) distinct(rookie) only(rookie) latest(rookie) mode(rookie)
NHL · nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

NHL · nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

NHL · nhlscraper
Operators on this table 37 available, 6 not

from

The one table a query reads

from nhl.awards
select season, trophy, status, player, team, votes
order by season desc
limit 200

select

The columns the answer carries

from nhl.awards
select season, trophy, status, player, team, votes
order by season desc
limit 200

as

Renames a column's heading and nothing else

from nhl.awards
select season, trophy, votes as Votes
order by votes desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.awards
where season = $year
select season, trophy, status
order by votes desc
limit 10

limit

How many rows come back

from nhl.awards
select season, trophy, status, player, team, votes
order by season desc
limit 200

order by

Which end of the answer comes first

from nhl.awards
select season, trophy, status, votes
order by votes desc
limit 10

#

A comment, to the end of the line

# Awards — Every trophy winner, runner-up and finalist since 1917-18, with the vote where there was one.
from nhl.awards
select season, trophy, status, player, team, votes
order by season desc
limit 200

where

Chooses the rows the question is about

from nhl.awards
where season = 2026
select player, votes
order by votes desc
limit 10

and

Continues whichever filter clause came last

from nhl.awards
where season = 2026 and votes > 0
select player, votes
order by votes desc
limit 10

having

Filters the groups a fold made

from nhl.awards
select player, sum(votes)
group by player
having sum(votes) > 0
order by sum(votes) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.awards
where season = 2026
select player, votes, votes_percentile
keep votes_percentile >= 90
order by votes_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.awards
select player, season, votes
highlight season = 2026
order by votes desc
limit 10

of

A threshold that is another row rather than a number

from nhl.awards
where votes >= max(votes) of position C
select player, votes
order by votes desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.awards
select player, count(*), sum(votes)
group by player
order by sum(votes) desc
limit 10

then

Folds the answer a second time

from nhl.awards
select player, season, count(*)
group by player, season
having count(*) > 10
then
select player, count(*) as Seasons
group by player
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.awards
select player, season, sum(votes)
group by player, season
pivot by season
limit 25

first / last

Only part of each career, before anything else runs

from nhl.awards
first 3 seasons
select player, sum(votes)
group by player
order by sum(votes) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.awards
select player, sum(votes)
group by player
order by sum(votes) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.awards
select player, avg(votes)
group by player
order by avg(votes) desc
limit 10

min(…)

The smallest value in each group

from nhl.awards
select player, min(votes)
group by player
order by min(votes) desc
limit 10

max(…)

The largest value in each group

from nhl.awards
select player, max(votes)
group by player
order by max(votes) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.awards
select player, count(votes)
group by player
order by count(votes) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.awards
select player, distinct(season)
group by player
order by distinct(season) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.awards
where season = 2026
select player, only(season)
group by player
order by only(season) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.awards
select player, latest(trophy)
group by player
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.awards
select player, mean(votes)
group by player
order by mean(votes) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.awards
select player, median(votes)
group by player
order by median(votes) desc
limit 10

mode(…)

The commonest value in the group

from nhl.awards
select player, mode(trophy)
group by player
order by count(*) desc
limit 10

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.awards
where season = 2026
select player, votes, votes_percentile
order by votes_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.awards
select player, sum(votes), percentile(sum(votes))
group by player
order by sum(votes) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.awards
where season = 2026
select player, votes, standing(votes)
order by votes desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.awards
where season = 2026
select player, value, votes, composite(value, votes)
order by composite(value, votes) desc
limit 10

ratio(…)

One column divided by another

from nhl.awards
select player, count(*), ratio(sum(votes), count(*))
group by player
order by ratio(sum(votes), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.awards
where season = 2026
select player, value, votes, calc(standing(value) - standing(votes))
order by calc(standing(value) - standing(votes)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.awards
select player, votes, format(votes, > 0 -> "on the board", <= 0 -> "nothing yet")
order by votes desc
limit 10

pair

Draws two columns of the answer in one

from nhl.awards
where season = 2026
select player, votes, votes_percentile
pair votes with votes_percentile
order by votes desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.awards
where season = 2026
select player, value, votes, composite(value, votes) as Score
hint composite(value, votes) as "Value + Votes"
order by composite(value, votes) desc
limit 10

Not on this table

  • top(…) — this table does not say which of its rows is the biggest, so there is no top one to pick
  • year(…) — this table has no date column to read a period off
  • quarter(…) — this table has no date column to read a period off
  • month(…) — this table has no date column to read a period off
  • week(…) — this table has no date column to read a period off
  • as_of(…) — this table has no time axis to accumulate along

nhl.contracts Contracts

Player contracts: term, average annual value and total, as nhlscraper packages them.

from nhl.contracts
select player, position, team, start_season, end_season, term, aav, value
order by aav desc
limit 100
One row is
one player's contract (player-contract)
Built from
one table, read straight
Reads
nhl_contracts nhlscraper
Shows by default
player position team start_season end_season term aav value
Ordered by
aav desc
Rows
100 by default, 10000 at most
Ranks within
start_season
Careers counted in
start_seasons end_seasons contracts
Newest row
start_season
Biggest row
aav

Before you trust the numbers

  • Contracts are the records nhlscraper bundles, resolved to a player id where the name is unambiguous; a deal it could not resolve is not here.
  • start_season is the season binding, so where season = 2024 finds deals that began that year, not every deal in force.
Dimensions 5
NameBound to
league always nhl
team the team column
player the player column
position the position column
season the start_season column
Columns 13
NameHeadingTypeWhat it is
start_season completes season From season
dimension

The first season the deal covers.

The first season the deal covers

What it takes
  • folds: min(start_season) max(start_season) count(start_season) distinct(start_season) only(start_season) latest(start_season) top(start_season) mode(start_season)
  • can be a benchmark
nhlscraper
end_season completes season To season
dimension

The last season the deal covers.

The last season the deal covers

What it takes
  • folds: min(end_season) max(end_season) count(end_season) distinct(end_season) only(end_season) latest(end_season) top(end_season) mode(end_season)
  • can be a benchmark
nhlscraper
player completes player Player string
dimension

The player, by the name the league's registry lists him under.

What it takes
  • folds: count(player) distinct(player) only(player) latest(player) top(player) mode(player)
nhlscraper
position completes position Pos string
dimension

C, L, R or D for a skater; G for a goalie. NHL.com

C, L, R, D or G

What it takes
  • folds: count(position) distinct(position) only(position) latest(position) top(position) mode(position)
nhlscraper
team completes team Team string
dimension

The club he signed with.

The code the club wore that season — Arizona's 2023 season is under ARI

What it takes
  • folds: count(team) distinct(team) only(team) latest(team) top(team) mode(team)
nhlscraper
franchise completes franchise Franchise string
dimension

The club's franchise, by the code it wears today — the thread through relocations.

The franchise's current code — every Coyotes and Mammoth season is under UTA

What it takes
  • folds: count(franchise) distinct(franchise) only(franchise) latest(franchise) top(franchise) mode(franchise)
nhlscraper
age_at_signing Age integer
measure

His age when he signed.

What it takes
  • folds: sum(age_at_signing) avg(age_at_signing) min(age_at_signing) max(age_at_signing) count(age_at_signing) distinct(age_at_signing) only(age_at_signing) latest(age_at_signing) top(age_at_signing) mean(age_at_signing) median(age_at_signing) mode(age_at_signing)
  • ranks: age_at_signing_percentile
  • accumulates: as_of(age_at_signing)
  • can be a benchmark
nhlscraper
term Yrs integer
measure

Years on the deal.

What it takes
  • folds: sum(term) avg(term) min(term) max(term) count(term) distinct(term) only(term) latest(term) top(term) mean(term) median(term) mode(term)
  • ranks: term_percentile
  • accumulates: as_of(term)
  • can be a benchmark
nhlscraper
aav AAV integer
measure

Average annual value, in dollars.

Average annual value, in dollars

What it takes
  • folds: sum(aav) avg(aav) min(aav) max(aav) count(aav) distinct(aav) only(aav) latest(aav) top(aav) mean(aav) median(aav) mode(aav)
  • ranks: aav_percentile
  • accumulates: as_of(aav)
  • can be a benchmark
nhlscraper
value Total integer
measure

Total value of the deal, in dollars.

Total value of the deal, in dollars

What it takes
  • folds: sum(value) avg(value) min(value) max(value) count(value) distinct(value) only(value) latest(value) top(value) mean(value) median(value) mode(value)
  • ranks: value_percentile
  • accumulates: as_of(value)
  • can be a benchmark
nhlscraper
bonus Bonus integer
measure

Signing bonus, in dollars.

Signing bonus, in dollars

What it takes
  • folds: sum(bonus) avg(bonus) min(bonus) max(bonus) count(bonus) distinct(bonus) only(bonus) latest(bonus) top(bonus) mean(bonus) median(bonus) mode(bonus)
  • ranks: bonus_percentile
  • accumulates: as_of(bonus)
  • can be a benchmark
nhlscraper
rank computed lower is better # integer
measure

Where the row placed in this result under your order by; ties share a number and the next place skips past them (1, 2, 2, 4).

nhlscraper
pctile computed %ile integer
measure

Where the row sits among the rows this query returned, 0 to 100 — a different population from <stat>_percentile, which ranks against the season.

nhlscraper
Operators on this table 38 available, 5 not

from

The one table a query reads

from nhl.contracts
select player, position, team, start_season, end_season, term, aav, value
order by aav desc
limit 100

select

The columns the answer carries

from nhl.contracts
select player, position, team, start_season, end_season, term, aav, value
order by aav desc
limit 100

as

Renames a column's heading and nothing else

from nhl.contracts
select player, position, term as Yrs
order by term desc
limit 10

let

A value written once and referred to as $name

let year = 2026
from nhl.contracts
where start_season = $year
select player, position, team
order by term desc
limit 10

limit

How many rows come back

from nhl.contracts
select player, position, team, start_season, end_season, term, aav, value
order by aav desc
limit 100

order by

Which end of the answer comes first

from nhl.contracts
select player, position, team, term
order by term desc
limit 10

#

A comment, to the end of the line

# Contracts — Player contracts: term, average annual value and total, as nhlscraper packages them.
from nhl.contracts
select player, position, team, start_season, end_season, term, aav, value
order by aav desc
limit 100

where

Chooses the rows the question is about

from nhl.contracts
where start_season = 2026
select player, term
order by term desc
limit 10

and

Continues whichever filter clause came last

from nhl.contracts
where start_season = 2026 and term > 0
select player, term
order by term desc
limit 10

having

Filters the groups a fold made

from nhl.contracts
select player, sum(term)
group by player
having sum(term) > 0
order by sum(term) desc
limit 10

keep

where, moved one layer out — after the ranking

from nhl.contracts
where start_season = 2026
select player, term, term_percentile
keep term_percentile >= 90
order by term_percentile desc
limit 10

highlight

Points at rows instead of choosing them

from nhl.contracts
select player, start_season, term
highlight start_season = 2026
order by term desc
limit 10

of

A threshold that is another row rather than a number

from nhl.contracts
where term >= max(term) of position C
select player, term
order by term desc
limit 10

group by

Folds the rows sharing these keys into one

from nhl.contracts
select player, count(*), sum(term)
group by player
order by sum(term) desc
limit 10

then

Folds the answer a second time

from nhl.contracts
select player, start_season, count(*)
group by player, start_season
having count(*) > 10
then
select player, count(*) as Froms
group by player
order by count(*) desc
limit 10

pivot by

Reads the answer as a matrix

from nhl.contracts
select player, start_season, sum(term)
group by player, start_season
pivot by start_season
limit 25

first / last

Only part of each career, before anything else runs

from nhl.contracts
first 3 start_seasons
select player, sum(term)
group by player
order by sum(term) desc
limit 10

sum(…)

Adds a stat up across the rows in each group

from nhl.contracts
select player, sum(term)
group by player
order by sum(term) desc
limit 10

avg(…)

The mean of a stat, with rates rebuilt rather than averaged

from nhl.contracts
select player, avg(term)
group by player
order by avg(term) desc
limit 10

min(…)

The smallest value in each group

from nhl.contracts
select player, min(term)
group by player
order by min(term) desc
limit 10

max(…)

The largest value in each group

from nhl.contracts
select player, max(term)
group by player
order by max(term) desc
limit 10

count(…)

How many rows a group swallowed

from nhl.contracts
select player, count(term)
group by player
order by count(term) desc
limit 10

distinct(…)

How many different values a group holds

from nhl.contracts
select player, distinct(start_season)
group by player
order by distinct(start_season) desc
limit 10

only(…)

The one value in the group, and an error if there are two

from nhl.contracts
where start_season = 2026
select player, only(start_season)
group by player
order by only(start_season) desc
limit 10

latest(…)

The newest row's value, rather than a number

from nhl.contracts
select player, latest(player)
group by player
order by count(*) desc
limit 10

top(…)

The value on the group's biggest row

from nhl.contracts
select player, top(player)
group by player
order by count(*) desc
limit 10

mean(…)

The plain arithmetic mean, whatever the column says about itself

from nhl.contracts
select player, mean(term)
group by player
order by mean(term) desc
limit 10

median(…)

The middle value in the group — half above it, half below

from nhl.contracts
select player, median(term)
group by player
order by median(term) desc
limit 10

mode(…)

The commonest value in the group

from nhl.contracts
select player, mode(player)
group by player
order by count(*) desc
limit 10

<stat>_percentile

Where a row sits in its population, 0-100

from nhl.contracts
where start_season = 2026
select player, term, term_percentile
order by term_percentile desc
limit 10

percentile(…)

Where a folded group ranks among the other groups

from nhl.contracts
select player, sum(term), percentile(sum(term))
group by player
order by sum(term) desc
limit 10

standing(…)

The same window, read as a place — 1 being best

from nhl.contracts
where start_season = 2026
select player, term, standing(term)
order by term desc
limit 10

composite(…)

One 0-100 score standing for several stats at once

from nhl.contracts
where start_season = 2026
select player, age_at_signing, term, composite(age_at_signing, term)
order by composite(age_at_signing, term) desc
limit 10

ratio(…)

One column divided by another

from nhl.contracts
select player, count(*), ratio(sum(term), count(*))
group by player
order by ratio(sum(term), count(*)) desc
limit 10

calc(…)

Arithmetic over any columns the table can build

from nhl.contracts
where start_season = 2026
select player, age_at_signing, term, calc(standing(age_at_signing) - standing(term))
order by calc(standing(age_at_signing) - standing(term)) desc
limit 10

format(…)

Prints a column's values as words, changing nothing else

from nhl.contracts
select player, term, format(term, > 0 -> "on the board", <= 0 -> "nothing yet")
order by term desc
limit 10

pair

Draws two columns of the answer in one

from nhl.contracts
where start_season = 2026
select player, term, term_percentile
pair term with term_percentile
order by term desc
limit 10

hint

Shows a sentence on a heading when the pointer rests on it

from nhl.contracts
where start_season = 2026
select player, age_at_signing, term, aav, composite(age_at_signing, term, aav) as Score
hint composite(age_at_signing, term, aav) as "Age + Yrs + AAV"
order by composite(age_at_signing, term, aav) desc
limit 10

Not on this table

  • year(…) — this table has no date column to read a period off
  • quarter(…) — this table has no date column to read a period off
  • month(…) — this table has no date column to read a period off
  • week(…) — this table has no date column to read a period off
  • as_of(…) — this table has no time axis to accumulate along
Back to top