SAN FRANCISCO — Hanley Ramirez hit a go-ahead RBI double in the top of the ninth and Los Angeles trimmed a game off their division deficit with a 3-2 win over NL West-leading San Francisco on Saturday.
Adrian Gonzalez led off the ninth with a triple against Jeremy Affeldt (1-2), then Ramirez came through with a double to the gap in right-center. That was the Dodgers' first hit in 15 tries this series with runners in scoring position.
Ronald Belisario (5-1) pitched out of trouble in the eighth for the victory, helping Los Angeles snap a four-game losing streak to San Francisco.
Buster Posey hit an RBI single in the first and Brandon Belt added a go-ahead RBI with a groundout in the eighth for the Giants, who lead the Dodgers by 41/2; games.
Nationals 7, Marlins 6, 10 inn.
At Washington, pinch-hitter Corey Brown singled to drive in Ian Desmond with Washington's winning run in the bottom of the 10th.
After Adam LaRoche singled off Chad Guadin (3-2) to open the inning, Desmond singled him to third and Danny Espinosa was intentionally walked to load the bases. After a forceout at home, Brown blooped a single to right.
Braves 11, Mets 3
At New York, Kris Medlen extended Atlanta's scoreless streak to 31 innings — its best string in more than 20 years — and slumping Brian McCann drove in four runs with four hits.
A tornado touched down in Queens about 15 miles away several hours before the game. Dark, ominous clouds swept in later, causing a 75-minute rain delay after the sixth inning.
The NL wild card leaders won their fourth straight, the previous three all shutouts.
Cubs 4, Pirates 3
At Pittsburgh, Jeff Samardzija pitched the Cubs' first complete game in his final start of the season.
David DeJesus singled in Welington Castillo with two outs in the eighth for the go-ahead run after Pittsburgh had tied the game at 3 in the bottom of the seventh.
Reds 5, Astros 1
At Cincinnati, Bronson Arroyo extended his personal winning streak to five games and Jay Bruce and Brandon Phillips hit solo home runs for Cincinnati.
Phillips and Joey Votto both had two hits to help Arroyo improve to 8-1 over his last nine starts and 9-2 since July 6.
Brewers 6, Cardinals 3
ST. LOUIS — Aramis Ramirez had three hits, including his 22nd home run, to lead Milwaukee.
Ricky Weeks added a solo home run and Ryan Braun went 3 for 5 with a run scored for Milwaukee. Ramirez, who walked twice, reached base all five times he batted and scored twice. After a slow start, he has raised his average over the past 89 games from .218 to an even .300.
Diamondbacks 8, Padres 5
At San Diego, Jason Kubel hit two of Arizona's four home runs as the Diamondbacks snapped a seven-game losing streak to San Diego.
Aaron Hill and Justin Upton hit solo homers as Arizona finished with 15 hits. Upton had a season-high four hits and Jake Elmore added two RBIs.
Orioles 5, Yankees 4
At Baltimore, the Orioles hit three home runs off CC Sabathia and moved back into a tie atop the AL East with New York.
Mark Reynolds, Lew Ford and J.J. Hardy homered for the Orioles, who have won 11 of 15 overall and nine of the last 13 against the Yankees. With a victory Sunday, Baltimore will win the season series (10-8) for the first time since 1997.
Twins 3, Indians 0
At Minneapolis, Cole DeVries pitched six scoreless innings to win his third straight start to lead Minnesota.
Joe Mauer had an RBI single and Josh Willingham added a sacrifice fly in a two-run third inning for the Twins, who had lost four of its past five games.
DeVries (5-5) gave up four hits and walked one. A trio of relievers combined for three hitless innings, with Glen Perkins working the ninth for his 11th save in 14 chances.
Rangers 4, Rays 2, 10 innings
At St. Petersburg, Fla., rookie Jurickson Profar hit a tiebreaking RBI double in the 10th inning and Josh Hamilton hit his 40th homer of the season for Texas.
Geovany Soto had a two-out double to deep center off Kyle Farnsworth (1-4). Profar then made it 3-2 when he drove in pinch-runner Leonys Martin on his hit past a diving Carlos Pena down the first-base line.
White Sox 5, Royals 4
At Chicago, Dayan Viciedo, Tyler Flowers and Paul Konerko each homered to back Chris Sale's six solid innings for the Chicago White Sox.
Sale (16-6) scattered five hits and struck out six over six innings. He allowed six baserunners in the first three innings before settling down to retire the last 10 batters he faced.
Viciedo hit a solo homer in the first for the game's first run. Flowers connected with a two-run shot in the fourth and Konerko had a solo blast in the sixth.
Angels 6, Tigers 1
At Anaheim, Calif., C.J. Wilson won his third straight start, Mike Trout hit a leadoff homer in the first inning and Los Angeles roughed up Detroit's Justin Verlander.
Trout ended the game by robbing Prince Fielder of a home run to center field on a 3-2 pitch from Garrett Richards.
Blue Jays 9, Red Sox 2
At Boston, Anthony Gose hit his first major league homer and drove in five runs, and the Toronto moved out of the AL East's basement by beating free-falling Boston in a game twice delayed by rain totaling 2 hours, 3 minutes.
Yunel Escobar added a solo homer to spark a five-run second inning for Toronto, which has won five straight in Fenway Park — its longest streak since winning all six meetings in 1989.
Athletics 6, Mariners 1
At Seattle, George Kottaras homered for the second straight game, Brett Anderson won his fourth straight start since recovering from Tommy John surgery and Oakland kept pace in the AL West with the Texas Rangers.
Anderson (4-0), who had surgery on his left elbow 14 months ago, allowed one unearned run and six hits while striking out four in six innings. He lowered his ERA to 0.69.