ATLANTA (AP) - Matt Cain snapped his three-game losing streak with five-hit ball over eight innings, and the San Francisco Giants barely avoided another loss to Atlanta in the final at-bat, holding on for a 7-5 victory over the Braves on Wednesday night.
The Giants broke it open with four runs in the fourth, one of them driven in by Cain (10-9) on a sacrifice fly. But he did his best work on the mound, striking out nine and giving up only an unearned run in the first on Chipper Jones' bases-loaded walk.
After Cain left, the Braves scored four runs in the ninth and had the tying run at the plate. But Brian McCann struck out swinging against Jeremy Affeldt.
San Francisco pounded All-Star Jair Jurrjens (12-5), taking advantage of a pitcher who wasn't sharp in his first start coming off the disabled list. He surrendered eight hits and five runs in six innings.
Mets 7, Padres 3
SAN DIEGO (AP) - David Wright hit a three-run homer and Angel Pagan had three RBIs as the Mets won their first series in San Diego in more than nine years.
Rookie Dillon Gee (11-4) limited the Padres to one run on five hits. The right-hander, who pitched 6 2-3 innings, also made a sparkling fielding play in the third inning that resulted in an inning-ending double play.
Wright connected in the third inning off Mat Latos (6-12) for his 10th home run. He also turned in a tricky play at third base that resulted in the final out of the third inning to thwart a San Diego rally.
Phillies 9, Diamondbacks 2
PHILADELPHIA (AP) - Cliff Lee threw seven impressive innings, Wilson Valdez hit a tiebreaking two-run double in the seventh, and the Phillies snapped the Diamondbacks' seven-game winning streak.
Lee (13-7) allowed two runs and three hits, striking out seven.
Jimmy Rollins hit a leadoff homer for the major-league leading Phillies, who've won 11 of 14 this month.
Diamondbacks starter Joe Saunders (8-10) pitched well before unraveling in the seventh. He gave up five runs and five hits in six-plus innings.
Reds 2, Nationals 1
WASHINGTON (AP) - Johnny Cueto pitched into the ninth inning and Joey Votto homered to lead Cincinnati over the Nationals.
Cueto (9-5) held the Nationals scoreless until Ryan Zimmerman homered on his first pitch of the ninth. Cueto allowed six hits, struck out five and did not walk a batter.
Ramon Hernandez drove in a run for the Reds on a groundout.
Ross Detwiler (1-3) pitched six innings, his longest outing of the season. He allowed one run and seven hits while striking out a career-high seven and walking two.
Cardinals 7, Pirates 2
PITTSBURGH (AP) - Allen Craig homered twice to break out of a slump and lead St. Louis over the Pirates.
Craig went 4 for 5 with three RBIs and Yadier Molina added three hits for the Cardinals, who are trying to stay within shouting distance of front-running Milwaukee in the NL Central.
Craig was hitless in his last 11 at-bats before he connected for a two-run homer against Paul Maholm (6-14) in the first. He added a solo shot in the seventh against Brad Lincoln.
Kyle Lohse (11-7) picked up his 99th career victory by pitching seven solid innings. The right-hander allowed two runs and five hits, struck out seven and walked one.
Rockies 12, Marlins 5
DENVER (AP) - Aaron Cook pitched effectively into the eighth inning and Carlos Gonzalez's three-run homer highlighted a powerful offensive display that sent Colorado to a victory.
The Rockies, who had struggled to provide Cook with run support in past outings, batted around twice in beating Ricky Nolasco for the first time in six tries. Chris Iannetta provided much of the offensive pop, hitting a double and a single to drive in four runs. Gonzalez, who also had a run-scoring single, also finished with four RBIs.
Nolasco (9-9) went three innings, matching his second-shortest outing of the season, and allowed a career-high 11 runs on 11 hits. The total also was the most runs ever allowed by a Marlins starter in team history.
Cook (3-7) had gotten only four runs of support in his previous four outings, but there was no such problem on this night. He was staked to a 5-0 lead in the first and saw the Rockies add another six runs in the third inning.
Astros 4, Cubs 3
HOUSTON (AP) - Matt Downs hit a go-ahead two-run single, Mark Melancon wriggled out of a jam in the ninth inning and the Astros beat Chicago to take the series between the worst teams in NL Central.
Brian Bogusevic had a two-run double in the third inning against Casey Coleman, who was recalled from Triple-A Iowa to replace Carlos Zambrano in the rotation.
Bud Norris (6-8) allowed three runs and six hits in his first win since July 6.
Aramis Ramirez hit a two-run homer and Geovany Soto had a solo shot for the Cubs, who had won four straight series. Ramirez, Soto and Darwin Barney each had two hits.