Andy Samberg knows he has his work cut out for him. Describing his duties as host of the upcoming 67th Emmys to reporters a few weeks ago, he said, "You don't want to overstay your welcome, but don't want to do so little that people don't know you are there."

On top of that, the Emmy host has to keep viewers at home entertained, poke fun at the dignitaries in the auditorium without alienating them, and serve as a brand ambassador for the network hosting the show (this year, it's Fox, home of Samberg's "Brooklyn Nine-Nine"), the Television Academy, and the medium of television itself.

As the Sept. 20 awards ceremony approaches, Samberg is no doubt studying the performances of recent Emmy hosts. Here's a crib sheet for the rookie emcee and for viewers at home, ranking the hosts of the last 20 Emmy shows.