Freddy Sanchez doubled in the tying run in the sixth inning, then put San Francisco up for good with a two-run single in the seventh and the Giants won their fourth in a row by beating the Arizona Diamondbacks 5-3 on Saturday night.