rays 8, brewers 4

Harold Ramírez, Yandy Díaz and Christian Bethancourt homered, and major league-leading Tampa Bay beat Milwaukee on Saturday. Tampa Bay leads the major’s with 90 homers and 286 runs. The Rays have allowed 160 runs.

orioles 6, blue jays 5 (10 innings)

Ryan Mountcastle scored the go-ahead run in the 10th inning when third baseman Matt Chapman’s throw hit him in the back on Austin Hays’ grounder, and Baltimore beat Toronto to become the second team to reach 30 wins. Ryan O’Hearn tied his career high with four RBIs, including a three-run homer in the eighth off Jordan Romano that tied the score 5-5.

astros 3, athletics 2

Yordan Alvarez hit a tiebreaking home run in the eighth inning to propel Houston to a win over Oakland. The game was tied 2-2 with no outs in the eighth when Alvarez sent a pitch from Richard Lovelady into the seats in right field for his team-leading 10th homer this season.

phillies 12, cubs 3

Aaron Nola struck out 10 in seven sharp innings, Kyle Schwarber hit a grand slam and Philadelphia snapped a five-game losing streak with a victory over the Chicago Cubs. Kody Clemens also went deep in Philadelphia’s six-run first inning, and Bryce Harper singled, doubled, walked twice and had an RBI for the defending NL champs.

yankees 7, reds 4 (10 innings)

Aaron Judge had a go-ahead single in the 10th inning for his fourth hit of the game to help the New York Yankees beat Cincinnati. New York overcame a 4-1 deficit in a three-run fifth inning against Luke Weaver on Isiah Kiner-Falefa’s homer, Judge’s RBI double off the left-field wall and Anthony Rizzo’s run-scoring single.

Cardinals 6, dodgers 5

Nolan Gorman hit a tiebreaking, three-run homer off Victor González in the eighth inning, boosting St. Louis over the Los Angeles Dodgers and out of the NL Central cellar for the first time in nearly a month.

mariners 7, braves 3

Right-hander Logan Gilbert recovered from a rocky first inning to retire 15 consecutive hitters, and Eugenio Suárez hit a two-run homer to help Seattle beat Atlanta.

diamondbacks 4, pirates 3

Pavin Smith hit a go-ahead, two-run homer in the seventh inning to lift Arizona to a victory over Pittsburgh. Smith’s third homer of the season came off Robert Stephenson and helped the Diamondbacks overcome a 3-2 deficit after Pirates ace Mitch Keller was pulled following six strong innings.

Marlins 1, giants 0

Braxton Garrett and three relievers combined on a three-hitter, and Miami scored an unearned run in the eighth inning on a Jon Berti single to beat San Francisco. Miami improved to 15-2 in one-run games but has been outscored 211-159 this season.

nationals 5, tigers 2

Patrick Corbin won consecutive starts for the first time since last summer and Lane Thomas had a go-ahead, two-run single in the fifth inning that led Washington over Detroit and stopped a four-game losing streak. Corbin allowed two runs and six hits in six innings against the Tigers, the only big league team he had never faced. He struck out three, reaching 1,500 in his career when he fanned Jonathan Scoop in the sixth.

white sox 5, royals 1

Jake Burger hit a three-run double in the sixth inning, helping Lucas Giolito and the Chicago White Sox beat Kansas City. Yoán Moncada had two RBIs as Chicago won for the fourth time in five games. Andrew Benintendi and Luis Robert Jr. each scored two runs.