https://school.programmers.co.kr/learn/courses/30/lessons/144855
SELECT CATEGORY, SUM(SALES) AS TOTAL_SALES FROM BOOK A JOIN BOOK_SALES B ON A.BOOK_ID = B.BOOK_ID WHERE SALES_DATE LIKE '2022-01-%' GROUP BY CATEGORY ORDER BY CATEGORY ASC;