Yasmany Tomas hit a go-ahead home run in the fourth, Paul Goldschmidt drove in two runs, and the Arizona Diamondbacks beat the San Francisco Giants 6-2 on Thursday for a four-game sweep.
It was the first ever four-game sweep for the D-backs in San Francisco, and just the second four-game home sweep the Giants have suffered since they began play at AT&T Park in 2000.
Tyler Wagner (1-0) allowed two hits in five relief innings of Shelby Miller as Arizona wrapped up a 7-3 road trip. The win was the first of Wagner's career.
— Tyler Wagner (@_TylerWagner_) April 21, 2016
The benches cleared and both teams were warned in the eighth after Josh Osich hit Arizona's David Peralta with a pitch for the second straight day. Peralta walked toward the mound, but there were no ejections.
Jake Lamb went 7 for 15 with a homer, triple and four doubles during the series with two more hits in the finale against Johnny Cueto (3-1), who was tagged for his first loss since joining the Giants on a $130 million, six-year contract.
Lamb's 16 total bases were the second most in a single series at AT&T Park behind Matt Williams' 17 during a five-game set from Sept. 21-25, 2000.
Jean Segura added a two-run triple in the ninth as Arizona won for the eighth time in the last 10 against San Francisco and 12th in 14 at AT&T Park, including six shutouts.
The Giants, who began the season as an NL West favorite, are searching for answers -- and clutch hitting -- after losing their fifth straight and eighth in nine. They are 3 for 35 with runners in scoring position during the skid.
Miller's short day was done after he walked four straight batters to begin the third. He missed a chance for his first win a day after Zack Greinke earned his first victory since joining the D-backs on a $206.5 million deal in December.
Miller threw six straight balls, walking Cueto, leadoff man Denard Span, Joe Panik and Hunter Pence to force in San Francisco's first run. Brandon Belt's double-play groundout tied it.
The five walks by Miller were his most in 26 starts since six with Atlanta at Arizona last June 2.
Before the game, Giants pitcher Jake Peavy played Prince hits in the clubhouse in tribute to the star pop singer, who died Thursday at age 57. Peavy, a musician himself and aficionado, chose "Nothing Compares To U" and "Little Red Corvette" and said, "It's emotional." "Raspberry Beret" played over the ballpark sound system shortly before first pitch.
More Prince songs played between innings all afternoon.