MLB/Scores/SF at BOS
July 20, 2016 · 2016 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
SF0005200007
BOS03500210X11
X marks a half-inning that was never played

02/Box score

15 lines
Both sides
SAN FRANCISCO GIANTS 7
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Albert SuárezP175810010.471
Derek LawP60100110.167
PITCHING
PlayerIPHERBBSOBFERAWHIP
Albert Suárez3.085011815.002.67
Matt Cain2.165111419.293.00
Derek Law1.2101170.001.20
Josh Osich1.0110049.001.00
BOSTON RED SOX 11
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Drew PomeranzP175820240.471
Mookie BettsSS50301001.600
Xander BogaertsSS51200000.400
PITCHING
PlayerIPHERBBSOBFERAWHIP
Drew Pomeranz3.085241915.003.33
Matt Barnes3.02002100.000.67
Robbie Ross Jr.1.2011265.400.60
Brad Ziegler1.0000030.000.00
Heath Hembree0.13100427.009.00
Tommy Layne0.020103

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.