MLB/Scores/AZ at SD
July 27, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
AZ0060000006
SD0100000102
X marks a half-inning that was never played

02/Box score

9 lines
Both sides
ARIZONA DIAMONDBACKS 6
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Ketel Marte2B40201000.500
Paul Goldschmidt1B41100110.250
PITCHING
PlayerIPHERBBSOBFERAWHIP
Zack Greinke7.06106251.290.86
Matt Andriese2.0210374.501.00
SAN DIEGO PADRES 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Austin HedgesC31111000.333
PITCHING
PlayerIPHERBBSOBFERAWHIP
Robbie Erlin3.21003110.000.27
Luis Perdomo2.186221623.144.29
Robert Stock2.0100280.000.50
Phil Hughes1.0100040.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.