There are countless lists and polls that rank the greatest guitar solos of all time, but I don't think you can rank them - it just comes down to personal preference.
I have compiled a list of songs that frequent these lists and simply put them in chronological order.
Crossroads (Live) by Eric Clapton of Cream, from the album Wheels of Fire (1968)
All Along the Watchtower by Jimi Hendrix of the Jimi Hendrix Experience, from the album Electric Ladyland (1968)
Voodoo Child (Slight Return) by Jimi Hendrix of the Jimi Hendrix Experience, from the album Electric Ladyland (1968)
While My Guitar Gently Weeps by Eric Clapton, from the Beatles album The Beatles (aka, the White Album) (1968)
All Right Now by Paul Kossoff of Free, from the album Fire and Water (1970)
Machine Gun by Jimi Hendrix, from the album Band of Gypsys (1970)
Black Magic Woman by Carlos Santana of Santana, from the album Abraxas (1970)
Statesboro Blues (Live) by Duane Allman and Dickey Betts of the Allman Brothers Band, from the album At Fillmore East (Live, 1971)
Stairway to Heaven by Jimmy Page of Led Zeppelin, from the album Led Zeppelin IV (1971)
Smoke on the Water by Ritchie Blackmore of Deep Purple, from the album Machine Head (1972)
Highway Star by Ritchie Blackmore of Deep Purple, from the album Machine Head (1972)
Time by David Gilmour of Pink Floyd, from the album The Dark Side of the Moon (1973)
Money by David Gilmour of Pink Floyd, from the album The Dark Side of the Moon (1973)
La Grange by Billy Gibbons of ZZ Top, from the album Tres Hombres (1973)
Freebird by Allen Collins of Lynyrd Skynyrd, from the album (Pronounced Leh-nerd Skin-nerd) (1973)
Killer Queen by Brian May of Queen, from the album Sheer Heart Attack (1974)
'Cause We've Ended as Lovers by Jeff Beck, from the album Blow by Blow (1975)
Walk This Way by Joe Perry of Aerosmith, from the album Toys in the Attic (1975)
Bohemian Rhapsody by Brian May of Queen, from the album A Night at the Opera (1975)
Kid Charlemagne by Larry Carlton, from the Steely Dan album The Royal Scam (1976)
Hotel California by Don Felder and Joe Walsh of The Eagles, from the album Hotel California (1976)
Eruption by Eddie Van Halen of Van Halen, from the album Van Halen (1978)
You Really Got Me by Eddie Van Halen of Van Halen, from the album Van Halen (1978)
Sultans of Swing by Mark Knopfler of Dire Straits, from the album Dire Straits (1978)
Another Brick in the Wall Pt.2 by David Gilmour of Pink Floyd, from the album The Wall (1979)
Comfortably Numb by David Gilmour of Pink Floyd, from the album The Wall (1979)
Back in Black by Angus Young of AC/DC, from the album Back in Black (1980)
You Shook Me All Night Long by Angus Young of AC/DC, from the album Back in Black (1980)
Crazy Train by Randy Rhoads of Ozzy Osbourne, from the album Blizzard of Ozz (1980)
Mr. Crowley by Randy Rhoads of Ozzy Osbourne, from the album Blizzard of Ozz (1980)
Rosanna by Steve Lukather of Toto, from the album IV (1982)
Beat It by Eddie Van Halen, from the Michael Jackson album Thriller (1982)
Jump by Eddie Van Halen of Van Halen, from the album 1984 (1984)
Hot For Teacher by Eddie Van Halen of Van Halen, from the album 1984 (1984)
Sweet Child O' Mine by Slash of Guns N' Roses, from the album Appetite for Destruction (1987)
Alive by Mike McReady of Pearl Jam, from the album Ten (1991)
November Rain by Slash of Guns N' Roses, from the album Use Your Illusion 1 (1991)