PHOENIX -- Marcus Semien's two-run single with the bases loaded and two outs in the 11th inning sent the Oakland Athletics to a 7-4 victory over the Arizona Diamondbacks on Sunday.
Semien's big hit came after singles by Danny Valencia and Stephen Vogt. Josh Phegley was hit by a pitch from Brad Ziegler (1-1) to load the bases.
Ziegler had to escape a bases-loaded jam in the 10th and took the loss against his former team after allowing three runs and six hits in 1 2/3 innings.
More from FoxSports
Eric Sogard singled in a run off A.J. Schugel to complete the scoring. Switch-pitcher Pat Venditte (1-2) earned his first major league win with two innings of scoreless relief.
The Diamondbacks forced extra innings against Oakland lefty Drew Pomeranz. David Peralta's sacrifice fly drove in Ender Inciarte to tie it 4-all in the ninth.
Pomeranz threw three inside pitches to Inciarte that backed him off home plate, the third one sparking a heated exchange of words between the two. After Diamondbacks manager Chip Hale came out to calm Inciarte, he ripped a single up the middle that almost hit Pomeranz.
Mark Canha doubled in Coco Crisp from first base in the seventh, giving the A's a 4-3 lead.
Peralta's home run led off the bottom of the third, his 14th of the season, to give the Diamondbacks a 3-2 advantage. The A's drew even on a homer from Vogt in the fourth.
The Diamondbacks took a 2-0 lead on pair of two-out hits in the second inning, both coming after a throwing error by A's starting pitcher Jesse Chavez.
Inciarte drove in Yasmany Tomas with a line single over the glove of second baseman Sogard, and Chris Owings singled to left to drive in pitcher Allen Webster, who reached on Chavez's bad throw to first base.
Oakland responded by taking advantage of a Diamondbacks error in the top of the third, also after two outs. After Billy Burns walked, Canha reached on a throwing error by third baseman Jake Lamb and Burns hustled around the bases to score. Josh Reddick then tripled to right field, with Canha coming home to tie the score at 2.
Chavez lasted five innings and allowed three runs on eight hits with six strikeouts and a walk, also collecting his first major league hit in the fifth. But he was thrown out at third base after stumbling around second on a single by Burns, and the A's lost a potential scoring opportunity.
Webster yielded three runs, one earned, in five innings. Peralta had three hits and two RBIs for Arizona.
Silvino Bracho made his major league debut in the ninth, the 27th pitcher the Diamondbacks have used this season. That's one shy of tying the team record from 2010.
WALKS TO REMEMBER
Arizona's Paul Goldschmidt drew his 99th and 100th walks, a single-season high for Goldschmidt that tied Luis Gonzalez's club record of 100 in 2001.
Athletics: INF Brett Lawrie sat out with back tightness but could return to the lineup Monday, manager Bob Melvin said.
Diamondbacks: LHP Andrew Chafin was sent down to Triple-A Reno for eight days of rest before he is eligible to return to the majors. Chafin has logged 67 1/3 innings for Arizona in his first full season in the big leagues. ... INF Aaron Hill has a bruised hand but was available to come off the bench.
Athletics: LHP Felix Doubront (1-1, 3.70 ERA) is scheduled to face the Angels on Monday in Oakland.
Diamondbacks: Robbie Ray is coming off a loss to St. Louis last week and seeks his first win since July 7. Ray (3-10, 3.86) faces the Rockies on Monday in Denver.