You covered a few songs in the same song, kind of like Weird Al does with those polkas of his. Do you need to get a license for ALL of the songs?
Well...
You will need to get permission from each copyright holder/publisher directly. Medleys are considered derivative works. If you have any questions whether or not this is a derivative work, you should consult a qualified attorney experienced in music and copyright law.