MLB/Scores/SF at LAD
June 21, 2015 · 2015 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
SF0010000102
LAD14122000X10
X marks a half-inning that was never played

02/Box score

11 lines
Both sides
SAN FRANCISCO GIANTS 2
PITCHING
PlayerIPHERBBSOBFERAWHIP
Yusmeiro Petit3.285112012.272.45
Mike Broadway2.0001170.000.50
Tim Lincecum1.175121233.756.00
Javier López1.0100140.001.00
LOS ANGELES DODGERS 10
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Danny CoulombeP81200120.250
Joc Pederson1B41101110.250
Justin Turner1B32213100.667
Enrique Hernández1B101000001.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Brett Anderson6.05121211.501.17
Danny Coulombe2.0211294.501.50
Matt West1.0100240.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.