SAN FRANCISCO — Manny Machado put the San Diego Padres ahead with his third home run of the season in a 3-1 win over the San Francisco Giants on Wednesday.

Signed to a $300 million, 10-year contract, Machado broke a 1-1 tie in the sixth inning with an opposite-field drive to right on a fastball from Dereck Rodriguez (1-2). Machado went 1 for 4 and is hitting .244 with six RBI.

Wil Myers added a run-scoring single in the ninth off Will Smith, and the Padres won for the fifth time in seven games.

Nick Margevicius (1-1) got his first major league win. Making his third start, the 23-year-old left-hander allowed one run and five hits in six innings with no walks and six strikeouts, including his last four hitters. He retired his first nine batters before a home run by Kevin Pillar, who has nine RBI in his last three games.

Right-handed hitters were 1 for 27 against Margevicius before the homer.

REDS 2, MARLINS 1: Jose Iglesias led off the eighth inning with a tying homer – only Cincinnati’s second hit of the game – and Jesse Winker connected one out later, rallying the Reds at home.

After dropping eight straight, the Reds (3-8) have taken the first two games against Miami by hitting seven homers. They hit five during a 14-0 victory Tuesday that ended the long slide.

NATIONALS 15, PHILLIES 1: Jeremy Hellickson pitched three-hit ball over six innings, Matt Adams drove in four runs and visiting Washington routed Philadelphia.

One night after wasting a five-run lead in a 10-6 loss in 10 innings, the Phillies were flat. Bryce Harper was 0 for 2 with a walk against his former team, and an offense that was averaging 6.3 runs per game got shut down by four pitchers.

AMERICAN LEAGUE 

TIGERS 4, INDIANS 1: Trevor Bauer allowed home runs to Niko Goodrum and John Hicks, who powered host Detroit to its sixth win in seven games.

Bauer (1-1) gave up four runs and 10 hits in 5 2/3 innings for the Indians. He had allowed one run and one hit in his first two starts.

Miguel Cabrera singled with two outs in the first, and Goodrum sent the next pitch over the right-field wall.

Hicks homered leading off the sixth for a 3-1 lead, Gordon Beckham doubled with one out, and Josh Harrison singled on a bouncer up the middle to chase Bauer.

RAYS 9, WHITE SOX 1: Tommy Pham homered twice and extended his on-base streak to a club record 45 games, leading Tampa Bay to its first series sweep at Chicago.

Austin Meadows had a single, double, home run and three RBI for the Rays, who outscored Chicago 24-7 over three games. Tampa Bay won its four straight game and the AL East-leading Rays improved to 10-3, their best start since 2010.

Chicago lost its fifth consecutive game and at 3-8 is off to its worst opening since 1997.

ATHLETICS 10, ORIOLES 3: Khris Davis homered twice and had three hits, Baltimore’s Chris Davis extended his record hitless streak to 50 at-bats and Oakland won at Baltimore.

Chad Pinder, Matt Chapman and Jurickson Profar also homered for Oakland.

Chris Davis entered as a pinch hitter in the ninth and flied out to center. He’s 0 for 29 this season and hasn’t gotten a hit since Sept. 14.

INTERLEAGUE

METS 9, TWINS 6: Jake Odorizzi and the Minnesota bullpen suddenly went wild, allowing seven straight batters to reach base despite not hitting a single fair ball and letting Noah Syndergaard and New York win at home.

One day after the teams set a Citi Field record by totaling 10 home runs in the Twins’ 14-8 romp, the Mets barely had to swing to build a big lead.

A startling stretch that kept snowballing saw Odorizzi, newly promoted reliever Andrew Vasquez and Trevor Hildenberger combine to walk six and hit a batter with a pitch without getting an out. At one point, the Twins threw 21 pitches – 19 missed the strike zone, many of them bouncing or sailing all over.