MLB/Scores/SF at LAD
September 20, 2016 · 2016 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
SF0000100012
LAD0000000000
X marks a half-inning that was never played

02/Box score

16 lines
Both sides
SAN FRANCISCO GIANTS 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Steven OkertP60100030.167
PITCHING
PlayerIPHERBBSOBFERAWHIP
Johnny Cueto5.18026250.001.88
Steven Okert1.2100360.000.60
Sergio Romo1.0000230.000.00
Will Smith1.0000230.000.00
LOS ANGELES DODGERS 0
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Corey SeagerSS40300000.750
Justin Turner1B40200000.500
Joc Pederson1B20000020.000
Enrique Hernández1B10000010.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Rich Hill5.06117201.801.40
Adam Liberatore1.0000130.000.00
Josh Fields1.0101050.002.00
Louis Coleman0.2100030.001.50
Pedro Báez0.2100130.001.50
Grant Dayton0.12100327.006.00
Luis Avilán0.1000110.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.