Загрузка данных


(
  SELECT author_id
  FROM book  
  GROUP BY author_id
  HAVING SUM(amount) < 20
);