Joe Panik's bases-loaded sacrifice fly snapped a ninth-inning tie Wednesday night and lifted the San Francisco Giants to their second straight victory over the Los Angeles Dodgers, a 3-2 decision.