MLB/Scores/STL at AZ
July 4, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
STL0000105208
AZ0002002004
X marks a half-inning that was never played

02/Box score

18 lines
Both sides
ST. LOUIS CARDINALS 8
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Miles MikolasP242700430.292
Jordan HicksP60000030.000
Harrison BaderLF51200021.400
Marcell OzunaDH51100020.200
Tommy PhamLF51303000.600
Tyler O'NeillRF11000000.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Miles Mikolas6.07243293.001.83
Jordan Hicks2.0000370.000.00
Bud Norris1.0001240.001.00
Greg Holland0.010102
ARIZONA DIAMONDBACKS 4
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Patrick CorbinP231600260.261
Ketel Marte2B50000000.000
Paul Goldschmidt1B30000220.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Patrick Corbin6.06126251.501.33
Joey Krehbiel1.1001050.000.75
Jorge De La Rosa0.2200140.003.00
Yoshihisa Hirano0.23100613.504.50
Fernando Salas0.12300481.006.00

The line score is derived from the play log rather than read from a stored innings table, because the play log covers 2015 onward where that table starts in 2023. The two were compared on their overlap and agree on every inning-half except the ones the stored table marks unplayed, which is the case shown as X above: when the home club leads after the top of the last inning it does not bat, and printing a zero there would say it batted and failed to score. Games before 2015 have no play log and so no line score, only the final. Batting average in the hitting table is this game alone, not the season. Earned run average and WHIP in the pitching table are likewise this appearance, which is why a one-inning reliever who allowed a run reads 9.00. Innings come from the out count rather than the stored decimal: “6.1” means six innings and one out. No venue is shown because no MLB fixture in this database carries one.