Explanation:
A adverb is a dependent clause that functions as an adverb.
This means that this part of a sentence could not stand on its own a separate sentence without the independent part of the sentence.
Answer:
I know a doctor whose last name is Doctodoctor.
If it's "The last names Doctodoctor" then it sounds like you're talking about your last name.