1. 문제: code: SELECT P.PRODUCT_CODE,sum(P.PRICE*O.SALES_AMOUNT) as SALESfrom PRODUCT Pjoin OFFLINE_SALE O on P.PRODUCT_ID = O.PRODUCT_IDGROUP BY P.PRODUCT_CODEORDER BY SALES; Answer:'ORDER BY SALES DESC, P.PRODUCT_CODE ASC'에 써야 함 참고 자료:https://forstella.tistory.com/32 TIL(Today I Learned)_데일리루틴_24.11.08.Fri데일리루틴 SQLMySQL 상품 별 오프라인 매출 구하기 정답입니다.SELECT P.PRODUCT_CODE, SUM(P.PRICE * O.SALES_AMOUNT) ..