문제링크
SELECT CATEGORY, SUM(SALES) AS TOTAL_SALES FROM BOOK_SALES S JOIN BOOK B ON S.BOOK_ID = B.BOOK_ID WHERE YEAR(SALES_DATE) = 2022 AND MONTH(SALES_DATE) = 1 GROUP BY B.CATEGORY ORDER BY CATEGORY