ATHLETICS 5, CUBS 3

Tyler Soderstrom homered and was 2 for 4 and Zack Gelof hit a double to take the lead in the eighth as Oakland beat Chicago, leading Milwaukee to become the first major league team to earn a spot in the playoffs, on Wednesday.

The 22-year-old Soderstrom scored two runs and batted in two more to help Oakland to a series victory over the Cubs, the Athletics’ first since 2013. Brent Rooker was 2 for 3 with an RBI and a pair of walks.

PADRES 4, ASTROS 0

Dylan Cease pitched brilliantly into the ninth inning and Manny Machado, Fernando Tatis Jr. and Donovan Solano hit consecutive homers in the eighth for San Diego, who beat AL West-leading Houston.

GIANTS 5, ORIOLES 3

Mike Yastrzemski homered on the game’s first pitch, Michael Conforto also hit a solo shot and San Francisco beat sinking Baltimore.

Baltimore has lost eight of 10 to fall 4 1/2 games behind the firstplace Yankees in the AL East, pending New York’s late matchup with Seattle. Before their current skid, the Orioles held a half-game lead.

RED SOX 2, RAYS 1

Trevor Story homered in the sixth inning then scored the winning run on Jarren Duran’s single in the eighth as Boston beat Tampa Bay. Story opened the eighth with a comebacker single off Drew Rasmussen (0-2).

ANGELS 4, WHITE SOX 3, 13 INNINGS

Eric Wagaman scored with one out in the 13th inning when Jordyn Adams’ grounder deflected off the glove of third baseman Miguel Vargas, and Los Angeles deal Chicago its 117th loss, rallying for a victory.

GUARDIANS 5, TWINS 4, 10 INNINGS

Brayan Rocchio singled in Andrés Giménez with the winning run as AL Central-leading Cleveland scored three times in the 10th inning to beat Minnesota, reducing their magic number for clinching a playoff berth to one.

BRAVES 7, REDS 1

Marcell Ozuna homered, Gio Urshela drove in three runs and Spencer Schwellenbach pitched six innings of one-run ball as Atlanta beat Cincinnati.

DODGERS 8, MARLINS 4

Shohei Ohtani stole his 49th base and moved closer to becoming the first player in major league history with 50 homers and 50 steals in a season as Los Angeles beat Miami.

METS 10, NATIONALS 0

Jose Quintana extended his scoreless streak to a career-high 22 2/3 innings and Brandon Nimmo’s three-run homer capped a nine-run fourth as surging New York beat Washington to finish a three-game sweep.

CARDINALS 10, PIRATES 5

Jordan Walker hit a bases-loaded double to highlight a six-run seventh inning, lifting St. Louis Cardinals to a victory over Pittsburgh in the third game of a four-game series.

BREWERS 2, PHILLIES 1

Jake Bauers hit an RBI single in the ninth inning and Milwaukee, who had clinched the NL Central earlier when the Cubs lost, beat Philadelphia to prevent the Phillies from securing a playoff berth.

RANGERS 2, BLUE JAYS 0

Adolis García hit a two-run home run in the sixth inning, Cody Bradford pitched seven strong innings after the worst start of his career, and Texas beat Toronto.

TIGERS 4, ROYALS 2

Tarik Skubal allowed three hits over five innings for his 17th win and streaking Detroit beat Kansas City to move within a half game of a playoff spot with 10 games remaining.