MIAMI Pablo Sandoval's tie-breaking two-run single in the 16th inning lifted the San Francisco Giants past the Miami Marlins, 6-3, on Thursday.