Team Streak Stats Finder - Pro Football

Find the best (or worst) streaks of games matching your criteria. • Sample SearchesData Coverage
Longest streak of consecutive games, in 2025, in the regular season, requiring Wins = 1, sorted by most games matching criteria.
THIS QUESTION WAS ANSWERED USING
Stathead Football Logo POWERED BY Pro Football Reference Logo
Your All Access Pass to the Pro Football Database Go beyond the basics. Become a Stathead
Start Your FREE Trial
Display Query »
--------------------------------------

main

Page Setup Time: 0.00129 seconds

WITH
  Meta AS (
SELECT MAX(year_id) as MaxYear, team_id
FROM sup_team_seasons
  JOIN sup_phase_seasons USING (comp_id, phase_id, year_id)
WHERE type="reg" 
GROUP BY team_id 
  ),
  Gamelog AS (
SELECT year_id, team_id, (win=1) as met_criteria, LAG(win=1) OVER w AS lag_met_criteria, LEAD(win=1) OVER w AS lead_met_criteria, ROW_NUMBER() OVER w AS rn, date, team_game_num_franchise, phase_id
FROM sup_team_games as st
  JOIN sup_games USING (game_id)
  JOIN sup_phase_seasons USING (comp_id, phase_id, year_id)
WHERE type="reg"
  AND year_id<=?
  AND year_id>=?
  AND forfeit IS NULL
  AND date<current_date() 
WINDOW w AS (PARTITION BY team_id ORDER BY date ) 
  ),
  StreakStart AS (
SELECT ROW_NUMBER() OVER w1 AS rownum, Gamelog.rn as rn_start, date AS streak_start_date, team_id
FROM Gamelog
WHERE met_criteria = 1
  AND (lag_met_criteria = 0 OR lag_met_criteria IS NULL) 
WINDOW w1 AS (PARTITION BY team_id ORDER BY date ) 
  ),
  StreakEnd AS (
SELECT ROW_NUMBER() OVER w2 AS rownum, Gamelog.rn as rn_end, date AS streak_end_date, IF(lead_met_criteria IS NULL AND year_id=MaxYear,1,0) AS active_streak, team_id
FROM Gamelog
  JOIN Meta USING (team_id)
WHERE met_criteria = 1
  AND (lead_met_criteria = 0 OR lead_met_criteria IS NULL) 
WINDOW w2 AS (PARTITION BY team_id ORDER BY date ) 
  ),
  streak_list AS (
SELECT team_id, streak_start_date, streak_end_date, (rn_end - rn_start)+1 as streak_length, active_streak
FROM StreakStart
  JOIN StreakEnd USING (team_id, rownum)
WHERE 1 
HAVING streak_length>=?
ORDER BY streak_length DESC, streak_end_date DESC LIMIT 0, 20
  )
SELECT ts.name_abbr as team_name_abbr, ts.link as team_link, team_id, streak_length, streak_start_date as streak_start_date_csk, streak_start_date as streak_start_date, streak_end_date as streak_end_date_csk, streak_end_date as streak_end_date, active_streak as active_streak_csk, IF(active_streak=1,'*','') as active_streak, 'Games List' as details_games, COUNT(*) AS games, SUM(win=1) AS wins, SUM(loss=1) AS losses, SUM(tie=1) AS ties
FROM streak_list
  JOIN sup_team_games as st USING (team_id)
  JOIN sup_phase_seasons USING (comp_id, phase_id, year_id)
  JOIN sup_comp_seasons USING (comp_id, year_id)
  JOIN (SELECT team_id, year_id, name_abbr, name, link FROM sup_team_seasons GROUP BY team_id, year_id ) as ts USING (team_id, year_id)
  JOIN sup_games USING (game_id)
WHERE type="reg"
  AND date>=streak_start_date
  AND date<=streak_end_date 
GROUP BY team_id, streak_start_date, streak_end_date
ORDER BY streak_length DESC, streak_end_date_csk DESC, team_id 

SQL PARAMS -- $VAR1 = [
          2025,
          2025,
          2
        ];

Query Time: 0.22 seconds
Table Build Time: 0.03 seconds


--------------------------------------
SH->PARAM -- $VAR1 = {
          'team_game_num_season_max' => 17,
          'order_by' => 'streak_length',
          'match' => 'team_streak_game',
          'streak_length' => 2,
          'week_num_season_min' => 1,
          'week_num_season_max' => 22,
          'order_by_asc' => '0',
          'comp_type' => 'reg',
          'team_game_num_season_min' => 1,
          'year_max' => 2025,
          'year_min' => 2025,
          'timeframe' => 'seasons'
        };
SH->PARAM_NO_DEFAULT -- $VAR1 = {
          'order_by' => 'streak_length',
          'order_by_asc' => '0',
          'year_min' => 2025,
          'year_max' => 2025
        };

Search Criteria

Click on the red text to pre-fill the form with various values

Timeframe
Your search is currently looking for the individual games in the chosen span of days or seasons. You can also Switch to the search for totals from all games.
Your search is currently looking for the total of all games in the chosen span of days or seasons.
Game Type
Streak Options
Span of Games
Team Game of Season
Min  
Max  
Week Number of Season
Min  
Max  

Streak Stat Events (pts., pts. allowed, total yds., etc.)

Wins

x

x

Team Filters (team, conference, scheme, etc.)

Team
League
Conference
Division
Team Success

Based on team's finish at the end of the season. For 2025 season, based on current standing. For combined season searches, only the seasons that match criteria are included in results. "By Division Finish" will use Conference or League finish when Division is not relevant.

Offensive Scheme
Defensive Alignment

Game Filters (result, location, week, etc...)

Opponent
Opponent Success

Based on team's finish at the end of the season. For 2025 season, based on current standing. For combined season searches, only the seasons that match criteria are included in results. "By Division Finish" will use Conference or League finish when Division is not relevant.

Opp Conference
Opp Division
Opp Offensive Scheme
Opp Defensive Alignment
Game Result
Game Location
Stadium
Time Zone
Game Month
Game Day of Week
Game Time Eastern Time
Overtime Game
Conference Game
Division Game
Game Followed Bye Week
Coin Toss Result
First Score
Led/Trailed in Game
Temperature
°F
Roof Type
Surface

You have edited your search criteria

or keep editing your search

clear changes

Fetching Results

Stathead spinner

Query Results

Subscribe to Stathead Pro Football for full results.

Go inside the Pro Football database and access the sports search engine that was made for fans like you. Subscriptions start at just $9/month. Learn More.

Get your first month FREE

Already a paid subscriber? Log in for full results.

Data coverage: since 1920. Before 1933, only wins, losses, points for, and points allowed are available. Scoring statistics (TD, XP, FG) are complete since 1920. Rushing yardage and attempts statistics complete since 1933. Passing yardage and attempts statistics are mostly complete since 1933 and fully complete since 1939. Please see our data coverage page for details.

If you utilize material unique to a Sports Reference site for a tweet, an article, or for research for a broadcast or podcast, please strongly consider citing this site as the source for the material. It would be greatly appreciated and would help us continue to produce this material.