MLB/Scores/SF at SD
July 30, 2018 · 2018 · Regular season

01/Line score

12 innings
Runs by inning
Club123456789101112R
SF0300000000025
SD0001100100003
X marks a half-inning that was never played

02/Box score

19 lines
Both sides
SAN FRANCISCO GIANTS 5
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Andrew McCutchenRF50300000.600
Austin SlaterLF31100111.333
PITCHING
PlayerIPHERBBSOBFERAWHIP
Derek Holland5.04225223.601.20
Reyes Moronta2.0100270.000.50
Ray Black1.2000150.000.00
Will Smith1.1000440.000.00
Mark Melancon1.0210259.002.00
Sam Dyson0.2200140.003.00
Tony Watson0.1000010.000.00
SAN DIEGO PADRES 3
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Eric LauerP203710231.350
Matt StrahmP92310030.333
Kirby YatesP70100020.143
Austin HedgesC51200020.400
José CastilloP50000101.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Eric Lauer5.07323225.401.80
José Castillo2.0001060.000.50
Kirby Yates2.0100280.000.50
Matt Strahm2.03203109.001.50
Craig Stammen1.0000130.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.