correcting the query to fetch the six latest books