The second sentence is the right one . But you could exchange the word diminished for the word less , as it will sound smoother if it read ''The lifespan of a person working the graveyard shift over 20 years is considerably less as compared to someone who worked 9-5.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.