Add detail to book sql