MIAMI (AP) - Pablo Sandoval hit a three-run homer off one of his favorite foils, and the San Francisco Giants beat the slumping Miami Marlins 9-1 Friday night.
All-Star Madison Bumgarner (11-7) allowed one run in six innings.
The Marlins lost their fifth game in a row, while San Francisco emerged from the All-Star break looking determined to end a prolonged scoring slump.
The Giants began the night averaging less than three runs per game in July, worst in the majors, but they've totaled 17 runs in their past two games.
Sandoval's 12th homer ended Nathan Eovaldi's night in the Giants' five-run fifth. Sandoval improved to 8 for 11 lifetime against Eovaldi with nine RBIs.
Brandon Crawford hit the 11th pitch he saw for a two-run homer in the second inning. Buster Posey and Michael Morse each had three of San Francisco's 13 hits.
The Giants scored their first four runs with two outs and went 6 for 11 with runners in scoring position.
San Francisco led 9-0 before Miami's Giancarlo Stanton hit his 22nd home run, most in the NL. His drive passed the home-run sculpture and caromed off the backdrop beyond the center-field wall.
Eovaldi (5-5) gave up a season-high eight runs in his shortest outing of the year, lasting just four-plus innings. He came into the game with a career ERA of 12.27 against the Giants, and it went up - to 13.30 in five starts.
Miami is 3-9 in Eovaldi's past 12 outings. The Marlins, who have lost 21 of their past 31 games, fell six games under .500 for the first time.
Crawford's eighth homer put the Giants ahead 2-0. They added two more runs in the third on two-out RBI singles by Posey and Morse.
Hunter Pence and Morse each doubled and scored in the fifth.
Notes: Giants RHP Matt Cain has been bothered by his elbow at times this season but is expected to make his next start as scheduled Tuesday at Philadelphia, manager Bruce Bochy said. ... Giants INF Marco Scutaro (stiff neck) was held out of the starting lineup but was available to pinch-hit. ... Before the game, the Marlins placed RHP Kevin Gregg on the 15-day disabled list retroactive to Monday with right elbow inflammation. RHP A.J. Ramos (right shoulder) was reinstated from the disabled list. ... RHP Jacob Turner will rejoin the Marlins' rotation and start Tuesday at Atlanta. He's 2-6 with a 6.22 ERA in 17 games. ... RHP Tim Hudson (7-6, 2.87), who has lost his past four decisions, is scheduled to start Saturday for the Giants against RHP Henderson Alvarez (6-4, 2.63).