PHOENIX -- Randy Winn is giving the San Francisco Giants exactly what they were hoping for when they acquired him from Seattle just before the trade deadline.
Winn homered twice, scoring the Giants' first and last runs in their 9-4 win over the Arizona Diamondbacks on Saturday night. Moises Alou had three hits, including a three-run homer, and San Francisco regrouped for an easy victory after falling behind 3-0.
Winn, who had six homers in the American League, has five in the NL since July 31. But his attention was on the race for the NL West title.
"Right now we've got to win. That's the bottom line, that's what we've got to focus on," he said.
The Giants' fourth straight victory and sixth in seven games moved them into second place, 6½ games behind San Diego. San Francisco leapfrogged Los Angeles in the standings after the Dodgers lost 11-1 at Colorado.
Noah Lowry withstood a three-run first to pitch six innings and win his sixth consecutive start. He allowed three runs, seven hits and four walks, striking out seven.
"To win six straight has really turned this year around for me, and hopefully I can finish it strong down the stretch," Lowry said. "But I can't take all the credit, because these guys have gone out and played great defense behind me and swung the bats. Just like today, a perfect example - I give up three runs and we come back a couple of innings later and put up a four-spot."
Mike Matheny hit a two-run single, and Todd Linden and Ray Durham each added an RBI double for the Giants.
Arizona's Alex Cintron had a two-run homer and a double, and Luis Terrero and Luis Gonzalez each drove in a run. But the Diamondbacks, who were second in the division before the Giants came to town, couldn't halt their skid, losing their fourth in a row and 15th in 20 games.
Lowry (12-11) had a major league-best 0.69 ERA in August, when he allowed only three earned runs. The Diamondbacks matched that in the first, but then couldn't handle the 24-year-old left-hander.
Lowry protected his 4-3 lead by working out of a bases-loaded jam in the sixth. He gave up hits to Conor Jackson and Kelly Stinnett, then walked pinch-hitter Tony Clark to load the bases with one out. But Lowry struck out Royce Clayton and retired Cintron on an easy fly to right.
"He pitched to the toughest, Clark, and then had to do some business with the bases loaded," Giants manager Felipe Alou said. "This is the man we've been talking about the last couple of months, the way he goes about improving and (handling) pressure."
Arizona manager Bob Melvin also saw that as the turning point.
"To actually have a chance to go ahead, and then it flips over to the other side," Melvin said.
The Giants padded the cushion with four runs in the seventh to go up 8-3, and Winn added his second solo shot in the eighth.
Jack Taschner worked two perfect innings for the Giants, striking out the side in the eighth.
Winn, San Francisco's leadoff hitter, homered off Claudio Vargas (8-8) and Oscar Villarreal. Winn's only other two-homer game was on July 30, 2003, for Seattle against Detroit.
Cintron lined his homer into the left-field stands with Clayton aboard after a walk, and Terrero made it 3-0 with a single after Shawn Green walked, stole second and went to third on Jackson's single.
"He was struggling with his command the first inning," Cintron said. "But after that he shut it down, you know. He started to throw strikes and make you hit a pitch, inside, away, changeup, curveball. You can't do too much after that."
The lead only lasted until the third, when the Giants scored four times with one out.
Winn began the rally with his solo shot on an 0-2 pitch. Vargas then walked Omar Vizquel and gave up a single to J.T. Snow before Alou's 423-foot shot deep into the grandstand on a 1-2 pitch.
Vargas allowed four runs, seven hits and four walks in six innings.
The Giants hadn't won four straight since June 28-Aug. 1. They also had a four-game streak May 21-25. ... Clark, who stayed in the game at 1B, got into his 1,200th game. ... The Giants, whose spring training headquarters are in nearby Scottsdale, are 39-25 at Bank One Ballpark, winning five straight. ... Arizona 3B Troy Glaus didn't come out for the fourth inning after re-injuring a strained tendon in his left knee. The team said he is day-to-day. ... Matheny's two-run single gave him a career-high 51 RBI. His previous best was 50 last year with St. Louis.