DETROIT -- Anibal Sanchez's no-hit bid was broken up when former Detroit teammate Ezequiel Carrera lined a single to left with one out in the eighth inning, and the Tigers held on to beat the Toronto Blue Jays 8-6 Friday on a night when Miguel Cabrera limped off with a calf injury.

Given an 8-0 lead, Sanchez (7-7) wound up allowing four runs, three hits and three walks in 7 1-3 innings, and left after 117 pitches.

He was bidding to become the sixth pitcher to throw no-hitters in the AL and NL, according to STATS, a feat accomplished by Cy Young, Jim Bunning, Nolan Ryan, Hideo Nomo and Randy Johnson. Sanchez pitched a no-hitter for the Florida Marlins against Arizona on Sept. 6, 2006.

Cabrera, a two-time AL MVP, was on first base with no outs in the fourth inning and a 3-2 count to Victor Martinez, and took off with the pitch. Martinez fouled the ball off, but Cabrera pulled up sharply, grabbing his left leg. He was attended to by trainers and limped off the field. Detroit said Cabrera will have an MRI.

METS 2, DODGERS 1

LOS ANGELES -- Kevin Plawecki drove in the go-ahead run with a sacrifice fly in the ninth inning and Mets rookie Noah Snydergaard dueled reigning NL MVP Clayton Kershaw on even terms.

Lucas Duda blooped a double just inside the left field line leading off the ninth against closer Kenley Jansen (2-1). Wilmer Flores followed with a single off Jansen's glove as the right-hander tried to backhand the ball. Duda then scored on Plawecki's fly out to centre field.

Hansel Robles (2-2) pitched two scoreless innings for the victory and Jeurys Familia pitched a perfect ninth for his 22nd save in 24 chances.

Snydergaard remained winless in five starts on the road despite allowing one run and just two hits over six innings with six strikeouts and two walks.

Kershaw allowed a run and five hits over seven innings, striking out seven and walking one.

NATIONALS 2, GIANTS 1

WASHINGTON -- Clint Robinson, a 30-year-old non-roster invitee by Washington in spring training who had just 13 major league at-bats before this season, hit a two-run homer in the seventh inning to give the Nationals a victory over San Francisco.

Robinson, playing first base in place of the injured Ryan Zimmerman, is 20 for 69 (.290) with four homers and 12 RBIs in his last 21 games. His homer off right-hander Jake Peavy (0-3) made a winner of left-hander Gio Gonzalez (6-4) who allowed a run and five hits in seven innings.

Buster Posey had homered on Gonzalez's first pitch of the seventh inning to give San Francisco a 1-0 lead in the teams' first meeting since the Giants beat the Nationals in five games in the 2014 NLDS.

PADRES 2, CARDINALS 1

ST. LOUIS -- Jedd Gyorko homered in the seventh inning to tie the game and then had a run-scoring single in the ninth to lead San Diego to a victory over St. Louis.

San Diego won the first two games of the four-game series after losing three straight.

St. Louis lost a season-high fourth straight home game but the Cardinals are still a major league-best 29-11 at home.

Gyorko hit a 3-2 pitch from closer Trevor Rosenthal (1-1) to bring in Yangervis Solarte, who hit a one-out triple.

Joaquin Benoit (5-3) picked up the win in relief.

Craig Kimbrel recorded his 21st save in 22 opportunities. He got Jason Heyward to ground into a game-ending double play.

ROYALS 3, TWINS 2, 10 INNINGS

KANSAS CITY, Mo. -- Lorenzo Cain had three hits and scored the winning run in the 10th inning as Kansas City beat Minnesota to snap a four-game losing streak.

Cain led off the bottom of the 10th with a double, went to third on a wild pitch by Aaron Thompson (1-3) and scored on Jarrod Dyson's fielder's choice grounder to first baseman Joe Mauer.

The Twins challenged the call, but after a 99-second review the ruling on the field stood.

Wade Davis (4-1) worked a spotless 10th and lowered his ERA to 0.26.

The Royals tied it 2-2 in the eighth when Kendrys Morales' two-out single drove home Cain, who had singled and stole second. Morales leads the Royals with 51 RBIs.

ASTROS 12, RED SOX 8, 10 INNINGS

BOSTON -- First baseman Mike Napoli allowed Preston Tucker's hard grounder to bounce past him for an error, and Carlos Correa followed with a tiebreaking single in a four-run 10th inning that lifted Houston over Boston for its fifth straight win.

Jose Altuve had three hits and two RBIs for the AL West-leading Astros, who won after wasting three leads in four innings.

Noe Ramirez (0-1), making his major league debut, hit Altuve with a pitch leading off the 10th, and Altuve took third on Napoli's error.

Correa singled for a 9-8 lead, Jon Singleton added a two-run single and Domingo Santana stole home on the back end of a double steal.

Roberto Hernandez (3-5) pitched a perfect inning, and Luke Gregerson got the final three outs.

YANKEES 7, RAYS 5, 12 INNINGS

NEW YORK -- Brain McCann hit a three-run homer in the 12th inning, rallying New York for a second time in a victory over Tampa Bay.

Mark Teixeira hit a tying three-run homer in the eighth against Kevin Jepsen, then had an RBI single in the 12th off Steve Geltz (1-4) just as fireworks began shooting off behind the scoreboard in right field.

Brett Gardner led off the 12th with a walk from Steve Geltz (1-4). One out later, Alex Rodriguez and Teixeira hit consecutive singles, and McCann homered into the right-field stands for New York's first walk-off win since Derek Jeter's final home game in September.

Tampa Bay lost its sixth in a row, and second straight in extra innings.

Chasen Shreve (6-1) walked two and gave up two hits and a run in the 12th but got a key inning-ending double play.

MARINERS 9, ATHLETICS 5

OAKLAND, Calif. -- Nelson Cruz, Seth Smith, Brad Miller and Logan Morrison all hit two-run homers and Seattle beat Oakland for its third win in four games.

J.A. Happ (4-5) snapped a personnel four-game slide with six strong innings, giving up three runs and eight hits. He struck out five and walked none.

Mark Canha had two hits and three RBIs, Billy Burns had two hits and drove in a run and Brett Lawrie and Josh Reddick also had two hits each for the A's, who had won three of their previous four games. Marcus Semien also drove in a run.

Jesse Chavez (4-8) gave up four runs and nine hits in his 6 1/3 innings. He did not walk anyone and struck out four.

INDIANS 5, PIRATES 2

PITTSBURGH -- Michael Bourn drove in three runs, Brandon Moss homered and Trevor Bauer pitched effectively into the seventh inning as Cleveland beat Pittsburgh on a rainy night.

Bourn's two-run single in the eighth inning extended the Indians' lead to 5-2 after Cleveland loaded the bases on a walk to David Murphy and singles by Yan Gomes and Giovanny Urshela.

Moss opened the scoring with a two-run homer in the second and Bourn had an RBI double in the fourth inning to put Cleveland ahead 3-0.

The Indians won their fifth straight and snapped the Pirates' three-game win streak.

Bauer (7-5) allowed two runs and three hits in 6 1/3 innings. Cody Allen pitched a perfect ninth to complete the three-hitter and get his 16th save.

Charlie Morton (6-2) gave up three runs and four hits in six innings.

ANGELS 8, RANGERS 2

ARLINGTON, Texas -- Kole Calhoun drove in four runs with a pair of early doubles, and Los Angeles won in its first game against Texas since trading Josh Hamilton back to the Rangers.

Hamilton, who insisted beforehand he had no extra emotions facing the Angels, went 1 for 3 with a double and two strikeouts.

Garrett Richards (9-5) won his sixth consecutive start against the Rangers. The right-hander struck out six and allowed one run over 7 2/3 innings.

Rangers rookie right-hander Chi Chi Gonzalez (2-4) gave up six runs in 1 2/3 innings.

The Angels matched a season high with 15 hits and won for the fifth time in six games, a stretch when they have overtaken Texas for second place in the AL West.

MARLINS 2, CUBS 1

CHICAGO -- Justin Bour and Christian Yelich homered and Miami got six impressive innings from Tom Koehler in a win over Chicago.

Bour's solo home run in the sixth inning off Cubs starter Jason Hammel snapped a 1-1 tie. That spelled the difference for Koehler (7-4), who allowed five hits and an earned run in his six innings while striking out four and walking one for the Marlins, who have won four straight games.

The Marlins bullpen recorded three scoreless innings to protect the one-run lead. A.J. Ramos pitched the ninth to earn his 13th save in 16 opportunities.

Despite getting little offensive support, Hammel (5-4) nearly matched Koehler's effectiveness. Hammel retired 14 straight hitters in the middle innings before Bour's winning homer.

BREWERS 12, REDS 1

CINCINNATI -- Carlos Gomez hit his first career grand slam and tied his career high with five RBIs, leading Milwaukee over Cincinnati and extending its winning streak to six.

Gerardo Parra and Aramis Ramirez added solo shots for the Brewers, on their longest winning streak since taking nine in a row in April 2014. Gomez, Jonathan Lucroy and Ryan Braun had three hits each as Milwaukee matched its season high for runs and victory margin.

Mike Fiers (4-7) allowed three hits in seven scoreless innings to win for the first time in four starts since June 12. He didn't allow a runner past first base until Marlon Byrd reached second on Fiers' throwing error in the seventh.

Milwaukee, which totalled 28 runs while sweeping a four-game series at Philadelphia, sent the Reds to their largest margin of defeat this season.

Rookie Michael Lorenzen (3-3) threw 90 pitches while giving up three runs and five hits in four innings.

WHITE SOX 1, ORIOLES 0

CHICAGO -- John Danks pitched seven scoreless innings and Jose Abreu hit a home run, leading Chicago past Baltimore.

The White Sox have won seven of their last 11 games after losing a season-high eight straight.

Danks (4-8) was impressive after getting skipped in the rotation. The left-hander allowed five hits with five strikeouts and two walks. He was 0-4 in his previous four starts with a 6.85 ERA.

Jake Petricka pitched a perfect eighth and David Robertson struck out the side in the ninth for his 17th save in 21 chances.

Baltimore has lost four of its last five games. Adam Jones continued to struggle against Danks, going 0 for 3 on Friday, now making him 1 for 33 overall against Danks.

BRAVES 2, PHILLIES 1

ATLANTA  -- Juan Uribe hit a tie-breaking homer in the seventh inning, Julio Teheran delivered another strong home start and Atlanta beat Philadelphia.

Uribe pulled Adam Morgan's first pitch in the seventh over the 380-foot sign in left field. It was one of the few mistakes for Morgan, a rookie left-hander who also gave up a second-inning homer to Jonny Gomes.

Teheran (6-4) allowed one unearned run and seven hits in seven innings. He improved to 5-0 in eight starts at Turner Field. He is 1-4 in nine road starts.

Morgan (1-1) gave up two runs and five hits in seven innings. The Phillies have lost five straight and eight of nine.

The Braves, coming off a series win over the Washington Nationals, have won three straight.

DIAMONDBACKS 4, ROCKIES 3, 10 INNINGS

PHOENIX -- Cliff Pennington's sacrifice fly to deep left field drove in the winning run in the bottom of the 10th inning for Arizona.

Welington Castillo led off the 10th against Yohan Flande (0-1) with a double off the fence in right field. Castillo moved to third on Chris Owings' single and scored easily on Pennington's fly ball.

Pennington had the game-tying hit in the sixth inning and earned the third walkoff win for Arizona this season. Andrew Chafin (5-0) got the win in relief after pitching a scoreless 10th.

The Rockies lost a chance to take the lead in the top of the 10th after getting the first two batters on base. Pinch-hitter Michael McKenry lined out to shortstop Nick Ahmed, who doubled off Wilin Rosario at second. Then Chafin struck out Drew Stubbs to end the inning.

The Rockies managed only two hits after the first inning.