Team Pitching Game Stats Finder - Baseball

Find individual games (or number of games) matching your criteria. • Video TutorialSample SearchesData Coverage
For single games, in 2025, in the regular season, sorted by descending Strikeouts.
THIS QUESTION WAS ANSWERED USING
Stathead Baseball Logo POWERED BY Baseball Reference Logo
Your All Access Pass to the Baseball Database Go beyond the basics. Become a Stathead
Start Your FREE Trial
Display Query »
--------------------------------------

main

Page Setup Time: 0.00086 seconds

SELECT ts.name_abbr as team_name_abbr, ts.link as team_link, os.name_abbr as opp_name_abbr, opp_team_link, CONCAT(`date`,IF(date_game_number,CONCAT(" (",date_game_number,")"),"")) as date, game_id, year_id as year_id_csk, year_id as year_id, IF(home_away_neutral = 'a','@','') as game_location, CASE
  WHEN st.team_id = sup_games.home_team_id THEN IFNULL(home_score,0) - IFNULL(away_score,0) + IFNULL(home_score,0)/100
  WHEN st.team_id = sup_games.away_team_id THEN IFNULL(away_score,0) - IFNULL(home_score,0) + IFNULL(away_score,0)/100
  WHEN home_score = away_score THEN IFNULL(home_score,0) - IFNULL(away_score,0) + IFNULL(home_score,0)/100
  ELSE 0 END
  as game_result_csk, CONCAT(
  CASE
  WHEN st.team_id = sup_games.home_team_id AND home_score > away_score THEN CONCAT('W, ',home_score,'-',away_score)
  WHEN st.team_id = sup_games.away_team_id AND home_score < away_score THEN CONCAT('W, ',away_score,'-',home_score)
  WHEN st.team_id = sup_games.home_team_id AND home_score < away_score THEN CONCAT('L, ',home_score,'-',away_score)
  WHEN st.team_id = sup_games.away_team_id AND home_score > away_score THEN CONCAT('L, ',away_score,'-',home_score)
  WHEN home_score = away_score THEN CONCAT('T, ',home_score,'-',away_score)
  ELSE '' END,
  IF( scheduled_innings != 9 OR outs_played < 6*IFNULL(scheduled_innings,9)-3 OR outs_played > 6*IFNULL(scheduled_innings,9),
  CONCAT(" (", CEIL(outs_played / 6), ")"),
  ""
  )
  )
  as game_result, sup_games.link as game_link, comp_id, p_ip_outs as p_ip_csk, p_ip_outs DIV 3 + 0.1 * MOD(p_ip_outs,3) AS p_ip, p_h, p_r, p_er, p_r - p_er AS p_uer, p_hr, p_bb, p_ibb, p_so, p_hbp, p_bk, p_wp, p_bfp, p_h + IFNULL(p_bb,0) + IFNULL(p_hbp,0) + IFNULL(p_roe,0) + IFNULL(p_reached_on_strikeout,0) AS p_baserunners
FROM sup_team_games as st
  JOIN sup_games USING (game_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)
  LEFT JOIN (SELECT team_id as opp_team_id, link as opp_team_link, year_id, name_abbr FROM sup_team_seasons GROUP BY team_id, year_id ) as os USING (opp_team_id, year_id)
WHERE sup_phase_seasons.type=?
  AND year_id>=?
  AND date < current_date() 
ORDER BY p_so DESC, date DESC, team_id LIMIT 0, 20

SQL PARAMS -- $VAR1 = [
          'reg',
          2025
        ];

Query Time: 0.12 seconds
Table Build Time: 0.04 seconds


--------------------------------------
SH->PARAM -- $VAR1 = {
          'comp_type' => 'reg',
          'team_game_min' => 1,
          'year_max' => 2025,
          'max_temperature' => 120,
          'year_min' => 2025,
          'max_wind_speed' => 90,
          'match' => 'team_game',
          'team_game_max' => 165,
          'order_by' => 'p_so',
          'timeframe' => 'seasons'
        };
SH->PARAM_NO_DEFAULT -- $VAR1 = {
          'year_min' => 2025,
          'year_max' => 2025
        };

Search Criteria

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

Sort By
Sorting options are only available for subscribers. Sign up now for a free trial.

Total Matching Criteria

Total Matching Criteria

Total Matching Criteria

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
Series/Game
Span of Games
Team Game No.

Overall team game in season, or playoff season if "playoffs" is selected above.

Min  
Max  

Statistical Filters (IP, R, BB, SO, etc.)

x

Team Filters (League, Team, Result, etc.)

Team
Team Success

Based on team's finish at the end of the season. 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.

League

Note: Negro League game-level data is not yet available. See coverage note.

Game Filters (Opponent, Location, etc.)

Opponent
Opponent's League

Note: Negro League game-level data is not yet available. See coverage note.

Opponent Success

Based on team's finish at the end of the season. 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.

Game Result
Game Location
Ballpark
Game Length
Interleague Games
DH Rule in Effect
Score/Margin by Inning

Regular season play-by-play data is complete since 1969 and mostly complete back to 1912 (data coverage)

Inning
Runs Scored
Runs Allowed
Margin
Temperature
to
Wind Speed
to
Wind Direction
Precipitation
Sky
Day or Night

You have edited your search criteria

or keep editing your search

clear changes

Fetching Results

Stathead spinner

Query Results

Subscribe to Stathead Baseball for full results.

Go inside the Baseball Reference 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: Game data is only available for the American League, National League, and Federal League. Since 1901 for regular season data, since 1933 for the All-Star Game, and since 1903 for the Postseason. 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.