MLB/Scores/SF at LAD
July 20, 2021 · 2021 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
SF0210300006
LAD1000130038
X marks a half-inning that was never played

02/Box score

25 lines
Both sides
SAN FRANCISCO GIANTS 6
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Donovan Solano1B40000020.000
Mike YastrzemskiRF41112000.250
Wilmer Flores1B41100020.250
Mike TauchmanRF30000030.000
Thairo Estrada2B31111110.333
Austin SlaterLF20100010.500
Tyler RogersP131102001.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Alex Wood5.06317245.401.40
Jarlín García1.1100050.000.75
Jake McGee1.0000130.000.00
John Brebbia0.22202427.003.00
Tyler Rogers0.013203
LOS ANGELES DODGERS 8
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Josiah GrayP164430170.250
Chris TaylorCF44323110.750
Zach McKinstry3B40100020.250
Cody BellingerLF31000110.000
Max Muncy3B30101010.333
Garrett CleavingerP20100110.500
Justin Turner1B20000000.000
Will SmithC111130001.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Josiah Gray4.04417179.001.25
Darien Núñez2.0221289.001.50
Joe Kelly1.2000160.000.00
James Sherfy1.0000240.000.00
Garrett Cleavinger0.1101130.006.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.