The San Francisco Giants scored five runs in the seventh and eighth innings, including two RBI singles from Austin Slater to register a come-from-behind win over the Colorado Rockies.