MLB/Scores/SF at AZ
August 4, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
SF0011000013
AZ50003001X9
X marks a half-inning that was never played

02/Box score

15 lines
Both sides
SAN FRANCISCO GIANTS 3
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Pierce JohnsonP60100020.167
Andrew McCutchenRF515120001.000
Austin SlaterLF30000130.000
Derek LawP31110100.333
PITCHING
PlayerIPHERBBSOBFERAWHIP
Andrew Suárez5.0108252614.402.40
Pierce Johnson2.0100260.000.50
Derek Law1.0111049.002.00
ARIZONA DIAMONDBACKS 9
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Andrew ChafinP51200030.400
Ketel Marte2B41212010.500
Paul Goldschmidt1B31200100.667
PITCHING
PlayerIPHERBBSOBFERAWHIP
Clay Buchholz6.07228273.001.50
Andrew Chafin1.0210359.002.00
Matt Andriese1.0000130.000.00
Brad Ziegler0.2200030.003.00
Jake Diekman0.1000010.000.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.