added sql question for registering the sold books