Fred Lewis beats out double play to give Giants 5-4 win

Posted: Updated:

PHOENIX - Pinch-hitter Fred Lewis beat out a double-play grounder with the bases loaded to drive in the go-ahead run in the eighth inning as the San Francisco Giants beat the Arizona Diamondbacks 5-4 last night to breathe a bit of life into their playoff hopes.

The victory moved the Giants within four games of idle Colorado in the National League wild-card chase with 12 games to play.

Mark Reynolds drove in two runs with his 43rd homer of the season and Justin Upton's single scored the other two for Arizona.

Pablo Sandoval doubled and singled for the Giants, who took advantage of three Diamondbacks errors.

Brian Wilson allowed a two-out single to Stephen Drew in the ninth, then struck out Upton looking on a 3-2 pitch for his 35th save.