Complex sentence: MacKenzie was taught at Queen Elizabeth Grammar School, Wakefield and trained as a doctor and served in the Second Boer War.
Split into simpler sentences: MacKenzie was taught at Queen Elizabeth Grammar School, Wakefield. He trained as a doctor, and served in the Second Boer War.