This is a drinking song written by songwriter and entertainer Larry Vincent. The earliest printed date for the song is March 1945 in the underground mimeographed songbook Songs of the Century. This is a collection of verses from various sources. There is no particular order to these and depending on the rate of alcoholic consumption by the singer(s), the verses can be sung in any order or, more probably, some will be omitted.
I learned it from Oscar Brand on Bawdy Songs and Backroom Ballads 1951.