I was doing a composition and I had to use the relative pronoun in the pair of sentences.
This is the path. He came by this path.
And its answer was This is the path by which he came.
But is this grammatically correct to say?
This is the path that he came by.