MLB/Scores/STL at SF
May 5, 2022 · 2022 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
STL0010204007
SF0000100001
X marks a half-inning that was never played

02/Box score

30 lines
Both sides
ST. LOUIS CARDINALS 7
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Miles MikolasP221700330.318
Paul Goldschmidt1B51100010.200
Tommy Edman2B51303000.600
Tyler O'NeillRF50202030.400
Dylan CarlsonLF42200010.500
Harrison BaderLF40000000.000
Paul DeJong3B40000010.000
Andre PallanteP30000100.000
Nolan Arenado3B31000200.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Miles Mikolas5.27133251.591.76
Andre Pallante1.1001040.000.75
Kodi Whitley1.0200250.002.00
Nick Wittgren1.0100040.001.00
SAN FRANCISCO GIANTS 1
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Zack LittellP81210030.250
Gregory SantosP50000010.000
Joc Pederson1B50000010.000
Mike YastrzemskiRF40201100.500
Wilmer Flores1B40200000.500
Sam LongP30000110.000
Thairo Estrada2B31000100.000
Tyler RogersP31200100.667
PITCHING
PlayerIPHERBBSOBFERAWHIP
Zack Littell2.0210384.501.00
Gregory Santos1.2000150.000.00
Jarlín García1.0000030.000.00
John Brebbia1.0200040.002.00
Mauricio Llovera1.0000130.000.00
Sam Long1.0001140.001.00
Jake McGee0.23301540.504.50
Jose Alvarez0.13200454.009.00
Tyler Rogers0.12110427.009.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.