MLB/Scores/SF at HOU
May 22, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
SF0000200002
HOU00320420X11
X marks a half-inning that was never played

02/Box score

16 lines
Both sides
SAN FRANCISCO GIANTS 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Andrew McCutchenRF40000020.000
Pierce JohnsonP43100211.250
PITCHING
PlayerIPHERBBSOBFERAWHIP
Andrew Suárez4.075222011.252.25
Josh Osich2.03221109.002.50
Pierce Johnson1.11321720.252.25
Reyes Moronta0.22102413.503.00
HOUSTON ASTROS 11
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Gerrit ColeP202410380.200
George SpringerRF51101010.200
Jose AltuveLF50202010.400
Alex Bregman3B41202101.500
Carlos CorreaSS40000120.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Gerrit Cole6.04238233.001.17
Brad Peacock1.0200050.002.00
Héctor Rondón1.0000230.000.00
Joe Smith0.2000010.000.00
Tony Sipp0.1101030.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.