ERROR: column "books.featured" must appear in the GROUP BY clause or be used in an aggregate function