PITTSBURGH (AP) - Starling Marte had a career-high four hits and scored four times, and the Pittsburgh Pirates beat the San Francisco Giants 12-8 on Wednesday night.
Neil Walker and Alex Presley homered for Pittsburgh. Jordy Mercer, Andrew McCutchen and Gaby Sanchez had three hits each as the Pirates set season highs for runs and hits.
Francisco Liriano (5-2) got through six erratic innings for the win.
Joaquin Arias knocked in three runs for the Giants and Hunter Pence doubled twice but San Francisco continued to struggle on the road. The defending World Series champions have lost 12 of 16 away from home.
Barry Zito (4-5) allowed eight runs and 11 hits in 4 2-3 innings as his road ERA ballooned to 11.28.
DIAMONDBACKS 8, DODGERS 6, 12 INNINGS
LOS ANGELES (AP) - Martin Prado hit an RBI double during a four-run 12th inning to help Arizona beat Los Angeles.
There was no repeat of the brawl that occurred in the seventh inning of the Dodgers' 5-3 victory a night earlier, when six players and coaches were ejected. No batters were hit by pitches this time.
Prado put the Diamondbacks ahead 5-4 with a ground-rule double off Ronald Belisario (3-5), charged with four runs and three hits in two-thirds of an inning. He walked two and didn't retire any of the four batters he faced in the 12th.
Arizona made it 6-4 on Cliff Pennington's bases-loaded RBI single off Brandon League. Gerardo Parra added a two-run single.
Josh Collmenter (3-0) got the win with two innings of relief. The Diamondbacks had 20 hits while improving to 7-2 against the Dodgers this season.
Heath Bell gave up two runs in the bottom of the 12th but retired pinch-hitter Tim Federowicz with two on to end it.
PADRES 5, BRAVES 3
SAN DIEGO (AP) - Edinson Volquez struck out a season-high nine in seven innings, rebounding from the worst start of his career to help San Diego to a three-game sweep of NL East-leading Atlanta.
Chris Denorfia hit a two-run homer for the Padres, who swept the Braves in San Diego for the first time since May 2005. The Braves were swept for just the second time this season.
Everth Cabrera got his major leaue-leading 30th stolen base ahead of Denorfia's homer.
Volquez (5-5) held the Braves to one run and six hits. In his previous two starts, he had allowed a combined 13 earned runs and 17 hits in 7 1-3 innings.
Paul Maholm (7-5) allowed five runs, four earned, on seven hits in 5 2-3 innings for Atlanta.
REDS 2, CUBS 1
CHICAGO (AP) - Mike Leake combined with Aroldis Chapman on a three-hitter and Todd Frazier hit a tiebreaking home run in the seventh inning against Travis Wood, leading Cincinnati to a record 12th straight victory at Wrigley Field.
Leake (6-3) allowed Nate Schierholtz's second-inning homer but won for the fourth time in five decisions. Chapman struck out two in a perfect ninth for his 17th save in 19 chances.
The previous record for consecutive wins by a visitor at Wrigley was 10.
Wood (5-5) gave up two runs and four hits in seven innings, his third loss in four decisions.
METS 5, CARDINALS 1
NEW YORK (AP) - Dillon Gee had his third straight stellar start, Lucas Duda hit one of three Mets homers and New York scored the most runs allowed by St. Louis rookie Shelby Miller in his young career.
David Wright and Marlon Byrd also connected for the Mets, who snapped a three-game skid and improved to 2-6 in June. Duda drove in two runs, including a first-inning single that scored Daniel Murphy from first base.
With prized pitching prospect Zack Wheeler nearing his promotion to the big leagues, Gee (5-6) has done everything possible to protect his spot in the rotation. The right-hander has yielded only three earned runs over 21 innings in his past three starts - all wins.
Gee scattered six hits in this one and and struck out seven in 6 2-3 innings. He gave up a homer to Allen Craig, his second in two days against the Mets.
Miller (7-4) gave up four runs and five hits in six innings. He struck out 10 without a walk.
David Freese went 0 for 4 for the Cardinals, ending his career-best hitting streak at 20 games - longest in the majors this season.
BREWERS 10, MARLINS 1
MIAMI (AP) - Carlos Gomez had four hits, including two triples, and Jonathan Lucroy drove in four runs to lead Milwaukee over Miami.
Gomez also drove in three runs and scored three times. Jean Segura homered for the Brewers, who have won five of six.
Alfredo Figaro (1-0) pitched seven scoreless innings to earn his first victory since Sept. 26, 2009, at the Chicago White Sox. He retired 16 in a row at one point and struck out four.
Gomez and Lucroy both had bases-loaded triples. They combined to go 12 for 24 with 12 RBIs in the three-game series.
It was the largest margin of victory for Milwaukee this season, even though Ryan Braun (right thumb) missed his third consecutive game.
Pitching on three days' rest, Marlins starter Kevin Slowey (2-6) allowed six runs - five earned - and nine hits in five innings.
NATIONALS 5, ROCKIES 1
DENVER (AP) - Ross Ohlendorf pitched six strong innings in his Washington debut and Ian Desmond drove in three runs against Colorado.
The win was the Nationals' third in their last 12 road games.
Recalled earlier in the day from Triple-A Syracuse, Ohlendorf (1-0) allowed one run and two hits in his first start since last Aug. 17 with San Diego against San Francisco.
Desmond extended his hitting streak to a career-high 14 games with an RBI single in the fourth and the Nationals struck for three more in the sixth. They chased Rockies starter Jorge De La Rosa (7-4), beating him for the first time in the past five tries.
TWINS 4, PHILLIES 3
MINNEAPOLIS (AP) - Clete Thomas had a career-high four hits for Minnesota and came home on a wild pitch for the go-ahead run in the eighth inning, sending Philadelphia to its fifth straight loss.
Thomas went 4 for 4 with two RBI doubles. He drove in Oswaldo Arcia both times, including in the eighth when his drive off the tall wall in right field against Antonio Bastardo (2-2) tied the game.
Delmon Young and Ben Revere hit RBI singles for the Phillies against their former team, but starter Mike Pelfrey kept the game close with a season-high seven innings and Glen Perkins pitched a perfect ninth for his 15th save in 17 tries.