DENVER (AP) — The Colorado Rockies ended a run of 10 straight defeats at the hands of San Francisco by edging the Giants 10-9 on Friday, closing the gap on the National League West's co-leader to two games.
Elsewhere, Detroit beat Texas in a match of American League division leaders, Philadelphia ended Cincinnati's six-game winning streak and Tampa Bay hung on for a win over slumping Baltimore.
St. Louis scored five runs in the first inning to set up a win over Milwaukee, Jason Kipnis hit a three-run homer in the 10th inning to lift Cleveland over Seattle, Hiroki Kuroda pitched the New York Yankees past Toronto and Boston notched another comeback victory by edging Minnesota in 10.
Colorado's Jordan Pacheco hit a tiebreaking grand slam in the fifth inning and Carlos Gonzalez added a solo homer for the Rockies.
Pacheco laced his first homer of the season on a hanging slider from Madison Bumgarner (4-2), who failed to protect an early four-run lead.
Detroit's Miguel Cabrera went 3 for 4 with a go-ahead double in the sixth inning to give the Tigers a 2-1 win over Texas.
Detroit's Jim Leyland moved within one victory of his 1,700th win as a major league manager as the Tigers remained tied with Cleveland atop the AL Central.
Tigers starter Rick Porcello (2-2) allowed one run in 5 2-3 innings with six strikeouts and a walk.
Philadelphia's Domonic Brown drove in the tiebreaking run on an infield grounder in the eighth to lift the Phillies to a 5-3 win over Cincinnati.
Phillies starter Cliff Lee threw seven sharp innings, giving up two runs and striking out seven.
Tampa Bay's Kelly Johnson hit a three-run homer and an RBI single as the Rays clung onto a big early lead and downed Baltimore 12-10.
The Orioles surrendered a season-high 17 hits for the second straight game and gave up their most runs in any game this season. Baltimore has allowed 27 runs over its past five games.
Baltimore responded with a six-run eighth inning but could not bridge the gap.
St. Louis' David Freese hit a grand slam for his first homer of the season as the Cardinals held on for a 7-6 win over Milwaukee.
The Brewers made it close on a pair of three-run homers but lost for the 13th time in 15 games. The bottom four spots in the batting lineup were a combined 0 for 15.
Cleveland's Jason Kipnis hit a three-run homer in the 10th inning to give the Indians a 6-3 win over Seattle.
Kipnis' home run came off Lucas Luetge and capped a two-out rally that began with a walk and an infield hit.
New York's Hiroki Kuroda pitched eight dominant innings to guide the Yankees to 5-0 win over Toronto.
Kuroda (6-2) struck out five and walked one in cooling off a team that had scored 33 runs in its previous three games and had won a season-high four in a row.
Blue Jays starter Mark Buehrle dropped to 1-10 in 15 starts against the Yankees. He hasn't beaten New York since 2004, when he was with the Chicago White Sox.
The AL East-leading Yankees defeated last-place Toronto for the fifth straight time this season in New York and for the seventh time in eight games overall.
Boston's Jonny Gomes hit a sacrifice fly in the 10th inning to lift Boston to another comeback victory, beating Minnesota 3-2.
Twins reliever Josh Roenicke (1-1) gave up a single and a walk to open the 10th, then a sacrifice bunt and intentional walk loaded the bases. Then Gomes sent a drive to center field, where Aaron Hicks caught the ball but double-clutched on his throw and didn't have a chance to throw out the speedy Dustin Pedroia.
The Red Sox have won three straight while the Twins have lost three in a row.
Washington's Adam LaRoche hit two towering home runs and Chad Tracy's solo shot in the 10th inning lifted the Nationals to a 6-5 win over San Diego.
Oakland's Adam Rosales hit a go-ahead home run leading off the eighth inning while Josh Donaldson also connected and Oakland downed Kansas City 2-1.
Atlanta's Justin Upton hit a sixth-inning grand slam as the Braves finally unveiled their full-strength lineup, beating the Los Angeles Dodgers 8-5.
Pittsburgh beat Houston 5-4 thanks to a fielding mix-up with two outs in the ninth. Jimmy Paredes dropped Russell Martin's bases-loaded fly ball when he collided with second baseman Jake Elmore.
Arizona's Paul Goldschmidt homered twice, tied his career high with four hits and drove in four runs to lead the Diamondbacks over Miami 9-2.
Chicago's Chris Sale stifled Los Angeles' bats for the second time in six days, going 7 2-3 scoreless innings with a season-high 12 strikeouts as the White Sox extended their winning streak to a season-high four games with a 3-0 win over the Angels.
New York's Matt Harvey won his fifth straight decision, allowing five hits in 7 1-3 innings and singling in the go-ahead run in the seventh to lead the Mets over the Chicago Cubs 3-2.