Giants right fielder Hunter Pence made a diving catch to rob Placido Polanco of a likely go-ahead single to end the 11th as Miami left runners on first and second in back-to-back innings. The Giants beat the Marlins at home for the first time since July 28, 2010.
Barry Zito pitched seven impressive with a heavy heart only three days after his father's death.
Mike Dunn (2-2) allowed Gregor Blanco's infield single to start the 11th. Ryan Webb relieved and gave up Buster Posey's infield single. Pence was intentionally walked and Sanchez singled to left for his third game-ending hit.