PHILADELPHIA — Tim Lincecum threw six scoreless innings, Pablo Sandoval hit a solo homer and San Francisco beat Philadelphia 4-1 on Thursday night in its first game with Carlos Beltran.
The All-Star outfielder was 0 for 4 with two strikeouts in his debut with the defending World Series champions, who won two of three against the major league-leading Phillies in a rematch of the NLCS.
Lincecum (9-8) showed no negative effects from the stomach illness that forced him to push his start back two days. The two-time NL Cy Young Award winner allowed three hits, struck out six and worked around four walks.
The Phillies hadn't lost consecutive games since June 4. They went a club-record 45 straight games without dropping two straight.
Pirates 5, Braves 2
At Atlanta, Andrew McCutchen had three hits, including a go-ahead double in the fifth inning and a two-run homer in the ninth, and Pittsburgh managed a split of the four-game series.
McCutchen had been 1 for 11 in the series, which included wins by the Braves in 19 and 10 innings.
McCutchen had a first-inning single before snapping a 1-all tie with his fifth-inning double.
Padres 4, Diamondbacks 3
At San Diego, Jesus Guzman had two RBIs and rookie Luis Martinez drove in the go-ahead run as San Diego avoided a three-game sweep and won for the second time in six games.
Martinez and Orlando Hudson each had an RBI single in the sixth inning as the Padres erased a 3-2 deficit. Daniel Hudson contributed to Arizona's troubles with two walks and a hit batter in the inning.
Rays 10, Athletics 8
At Oakland, Calif., Desmond Jennings hit his first career home run and later added a two-run double in a seven-run seventh inning as Tampa Bay rallied from five runs down.
B.J. Upton and Evan Longoria also homered, helping make a winner out of right-hander Wade Davis (8-7), who struggled early before settling down to retire 17 straight batters. Upton, the subject of ongoing trade rumors, hit his team-leading 16th home run after sitting out one game.
Angels 12, Tigers 7
At Detroit, Mark Trumbo homered and drove in a career-high five runs to lead the Los Angeles Angels over the Detroit Tigers.
Trumbo also tripled, doubled and scored three times in the rookie's fourth three-hit game. Needing just a single for the cycle, he grounded out leading off the ninth inning.
Royals 4, Red Sox 3
At Boston, Billy Butler hit a three-run homer and Luke Hochevar pitched seven strong innings as Kansas City handed Josh Beckett his first loss in over a month.
Beckett (9-4) gave up four runs on five hits and three walks while striking out eight. The Red Sox had won six of seven to move three games ahead of New York in the AL East.