Buster Posey and Brandon Crawford had three hits apiece, and Alex Dickerson added a home run, powering the host San Francisco Giants to a 6-3 win over the Arizona Diamondbacks on Friday night. Rookie right-hander Shaun Anderson (3-2) took a lead into the sixth inning, and four relievers combined for 3 1/3 innings of one-run ball, helping the Giants beat the Diamondbacks in San Francisco for the first time in five tries this season. Using a 12-hit attack, the Giants scored in five different innings, including twice in the seventh to turn a tight game into a 6-2 advantage.