#set($publisher = $db.publisher.fetch("$query.publisher_id")) #set($book = $db.book.fetch("$query.book_id"))
$publisher.name
$book.title