Who _____ this book ______?

Who _____ this book ______?

A.did, written

B.was, written by

C.did, write

D.was, written

正确答案是B