喬過去幾個月為了準備考試十分勞累。這句話的英文怎麼說?

Joe has been working like a dog for the past few months preparing for a test.