Pedro Alvarez has been named to replace Carlos Gonzalez on the National League squad for next week's Home Run Derby.

Gonzalez pulled out because of a sprained middle finger on his right hand.

Alvarez has hit 23 homers this season.