Austin Slater hit a tiebreaking bases-loaded double in the ninth inning and the San Francisco Giants rallied from an early four-run deficit, beating the Arizona Diamondbacks 7-5 Wednesday night and snapping a six-game skid. The victory helped the Giants avoid a series sweep. The Diamondbacks, who were 2-17 against San Francisco last season, won the first two games of the series.