A sore elbow couldn't slow Pablo Sandoval. The San Francisco third baseman hit a two-run homer with one out in the top of the ninth inning and the Giants rallied to beat the Arizona Diamondbacks 2-1 on Tuesday night.