The Associated Press

PHILADELPHIA — J.T. Realmuto hit a three-run homer and fell a triple shy of the cycle, Cesar Hernandez and Roman Quinn also went deep, and the Philadelphia Phillies beat the San Francisco Giants 10-2 Thursday.

Jake Arrieta pitched two-hit ball into the fifth but was pulled after 71 pitches because of a bone spur in his right elbow. He allowed two runs — one earned — and four hits, striking out five in four-plus innings. Jose Alvarez (2-2) and three relievers tossed five scoreless innings.

Giants starter Dereck Rodriguez (4-6) gave up seven runs — four earned — and eight hits in three innings.

The Phillies (57-51) and Nationals are tied for the top spot in the NL wild-card standings. Both teams will be tied with the loser of the Cubs-Cardinals game later Thursday night.

Brandon Belt and Mike Yastrzemski had RBI singles for the Giants, who climbed into the wild-card race with a 19-6 record in July.

n Cardinals 8, Cubs 0

ST. LOUIS — Jack Flaherty struck out nine in seven strong innings, and Matt Wieters hit a three-run homer as St. Louis beat Chicago in a matchup of NL Central leaders.

The Cardinals won two games in the three-game set and claimed first in the division, a game ahead of Chicago. The Cubs have lost four of six overall and 11 of their last 16 on the road.

Flaherty (5-6) allowed just one hit and walked two in recording his first win since May 14, a span of 79 days and 12 starts. The right-hander held the Cubs without a hit until newcomer Nicholas Castellanos singled to right with two out in the sixth. Flaherty retired 13 straight batters from the first to fifth innings.


n Blue Jays 11, Orioles 2

BALTIMORE — Vladimir Guerrero Jr. hit two of his team’s five home runs to back a solid performance by fellow rookie Trent Thornton, and Toronto beat Baltimore.

Randal Grichuk, Danny Jansen and Billy McKinney also homered for the Blue Jays, who tied a season high with their fourth straight win. Guerrero’s homers included an impressive 450-foot shot off Dylan Tate in the eighth inning.

Toronto reinstated Thornton (4-7) from the 10-day injured list for elbow inflammation, and he allowed one run and five hits without a walk over six innings. His last two wins have come against the Orioles. Thornton threw six scoreless innings against them July 7.

Trey Mancini hit his 25th home run, a solo shot in the eighth off Toronto reliever Jason Adam, who was promoted from Triple-A Buffalo earlier in the day.

n Rays 9, Red Sox 4

BOSTON — Rookie left-hander Brendan McKay struck out seven, Mike Zunino and Austin Meadows homered, and Tampa Bay beat Boston to complete a three-game sweep.

It’s the second time Tampa Bay has swept a series of at least three games at Fenway Park. The Rays have won four straight and hold the AL’s final wild card by a half-game over Oakland. Boston fell 3 1/2 games behind Tampa Bay.

The Red Sox lost their fourth straight and fell 10 1/2 games behind the AL East-leading Yankees a week after taking three of four against New York in Boston. The suddenly reeling Red Sox limp into a four-game weekend series in the Bronx at 59-51, all but out of contention for a fourth straight AL East title.

Tommy Pham had two RBI singles and Jesús Aguilar singled and scored twice in his debut for the Rays.

n Astros 7, Indians 1

CLEVELAND — Gerrit Cole pitched one-run ball over seven innings and extended his winning streak to a career-best nine games as Houston beat Cleveland, spoiling the Indians debut of Yasiel Puig and the return of Danny Salazar.

Cole (13-5) gave up four hits, all in the first four innings, and struck out four for Houston, which has the best record in the American League at 70-40. The right-handed Cole leads the majors with 216 strikeouts and has not lost since May 22.

Alex Bregman, Michael Brantley and Yordan Alvarez drove in two runs apiece, while George Springer hit his MLB-leading eighth leadoff home run and scored three times. Bregman went 3-for-3 with a solo homer.

Puig doubled off the wall in the fourth and went 1-for-3 with a stolen base in his first game since being acquired from Cincinnati. Franmil Reyes, who came over from San Diego in the same three-team trade, had a single in four at-bats.

Salazar (0-1) allowed two runs in four innings in his first appearance in the majors since the 2017 AL Division Series. The former All-Star right-hander, who had surgery on his throwing shoulder last July, struck out two and topped out at 88.3 MPH in 66 pitches.


n Mets 4, White Sox 0

CHICAGO — Zack Wheeler tossed seven innings of four-hit ball, Robinson Canó drove in two runs with a homer and double, and New York beat Chicago for its seventh straight win.

Wilson Ramos also drove in a run as the Mets completed a three-game sweep of the White Sox and won their 13th of 17 overall.

Chicago has dropped eight of nine and is 4-16 since the All-Star break.

Wheeler (8-6) struck out seven and walked none in his second start after a 2½-week stint on injured list with shoulder fatigue. Luis Avilán and Jeurys Familia completed the four-hitter.

n Marlins 5, Twins 4, 12 innings

MIAMI — Newly acquired Minnesota reliever Sam Dyson blew a three-run lead in the ninth inning, then Harold Ramirez hit a leadoff homer in the 12th to make Miami a winner.

Dyson, acquired from San Francisco on Wednesday, faced four batters and didn’t retire any of them, allowing two walks and two hits before being pulled.

The Marlins tied it with three runs, and Ramirez homered in the 12th, connecting off Cody Stashak (0-1) to avert a three-game sweep.

n A’s 5, Brewers 3

OAKLAND, Calif. — Matt Chapman hit a two-run home run off struggling closer Josh Hader (1-5) in the eighth, and Oakland beat Milwaukee.

Chad Pinder also went deep, and Mark Canha added three hits to help the A’s win their fourth in five games.

Christian Yelich doubled to extend his hitting streak to a career-high 19 games for Milwaukee. Mike Moustakas added two hits, and Trent Grisham had a sacrifice fly in his major league debut with the Brewers.

Blake Treinen (6-3) retired three batters to win, and Liam Hendriks pitched the ninth for his 10th save.