MLB/Scores/STL at SF
July 7, 2021 · 2021 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
STL1000000102
SF11001002X5
X marks a half-inning that was never played

02/Box score

26 lines
Both sides
ST. LOUIS CARDINALS 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Johan OviedoP152300430.200
Andrew KniznerC40000010.000
Dylan CarlsonLF40200010.500
Harrison BaderLF40000010.000
Nolan Arenado3B40101000.250
Tommy Edman2B40000010.000
Brandon WaddellP31100210.333
Edmundo Sosa2B30100000.333
Paul DeJong3B30100110.333
Paul Goldschmidt1B31101110.333
Tyler O'NeillRF10000000.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Johan Oviedo4.03243204.501.75
John Gant1.1002160.001.50
Andrew Miller0.2100230.001.50
Brandon Waddell0.21121513.504.50
Junior Fernández0.2000020.000.00
Justin Miller0.23200527.004.50
SAN FRANCISCO GIANTS 5
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Tyler RogersP51300000.600
Wilmer Flores1B50200000.400
Mike YastrzemskiRF40101100.250
Donovan Solano1B20101010.500
Austin SlaterLF111000001.000
Thairo Estrada2B10000000.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Alex Wood7.03126261.290.71
Jake McGee1.0100140.001.00
Tyler Rogers1.0310059.003.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.