The United Nations held a vote on the death penalty. This is how countries voted
(worldcoalition.org)
What would be interesting is whether there are any countries that voted differently from what they currently do (ie countries that have the death penalty but voted for a moratorium, or the other way round).