In the second sentence, where subordinates the clause where she went for dinner.
Relative pronouns may only stand alone when they are used as an interrogative to ask a question.
For details see.
For example;โข A is a pronoun that is used to introduce a.