MLB/Scores/SF at LAA
April 22, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
SF0030100004
LAA0000000202
X marks a half-inning that was never played

02/Box score

16 lines
Both sides
SAN FRANCISCO GIANTS 4
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Hunter StricklandP50200010.400
Andrew McCutchenRF30100210.333
PITCHING
PlayerIPHERBBSOBFERAWHIP
Johnny Cueto6.02027230.000.67
Hunter Strickland1.0200150.002.00
Reyes Moronta1.0001140.001.00
Tony Watson1.0000230.000.00
Cory Gearrin0.022002
LOS ANGELES ANGELS 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Mike TroutRF41112020.250
Martín MaldonadoC20000000.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Jaime Barria2.05211129.003.00
Blake Parker1.2210275.401.20
Noé Ramirez1.1110246.750.75
Cam Bedrosian1.0200250.002.00
Jim Johnson1.0101050.002.00
Jose Alvarez1.0200250.002.00
Keynan Middleton1.0000030.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.