MLB/Scores/AZ at SF
April 17, 2015 · 2015 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
AZ0031111029
SF0000000000
X marks a half-inning that was never played

02/Box score

6 lines
Both sides
ARIZONA DIAMONDBACKS 9
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Paul Goldschmidt1B41101110.250
PITCHING
PlayerIPHERBBSOBFERAWHIP
Josh Collmenter9.04012310.000.56
SAN FRANCISCO GIANTS 0
PITCHING
PlayerIPHERBBSOBFERAWHIP
Jake Peavy3.28412209.822.45
Ryan Vogelsong2.05143154.504.50
Yusmeiro Petit2.03213109.002.00
George Kontos1.1210066.751.50

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.