Pinch-hitter Matt Duffy delivered a tiebreaking single in the ninth inning and the San Francisco Giants narrowed their gap in the NL West, beating the Arizona Diamondbacks 4-2 Thursday. The Giants pulled within two games of the division-leading Los Angeles Dodgers, who lost at Colorado 16-2. Duffy's one-out hit came on a full count against closer Addison Reed (1-6). Pablo Sandoval walked with one out, Brandon Crawford singled and pinch-hitter Brandon Belt walked, setting up Duffy.