MLB/Scores/SF at AZ
July 4, 2022 · 2022 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
SF2010000003
AZ22000202X8
X marks a half-inning that was never played

02/Box score

20 lines
Both sides
SAN FRANCISCO GIANTS 3
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Carlos RodónP194500271.263
Tyler RogersP62300000.500
Wilmer Flores1B31000020.000
Austin SlaterLF20000111.000
Mike YastrzemskiRF20000010.000
Austin WynnsC101000001.000
Joc Pederson1B10000000.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Carlos Rodón5.05427227.201.40
Mauricio Llovera2.0320399.001.50
Tyler Rogers1.03200618.003.00
ARIZONA DIAMONDBACKS 8
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Carson KellyC41100010.250
Daulton VarshoCF41303011.750
Ketel Marte2B40101010.250
Christian Walker1B30000110.000
Geraldo PerdomoSS30000010.000
Alek ThomasCF00000000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Madison Bumgarner5.05334245.401.60
Joe Mantiply2.0100470.000.50
Mark Melancon1.0000030.000.00
Sean Poppen1.0100030.001.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.