60, 61, 62, 63, 64
60 년, 월, 성별 별 상품 구매 회원 수 구하기SELECT YEAR(SALES_DATE) YEAR, MONTH(SALES_DATE), GENDER, COUNT(DISTINCT U.USER_ID) USERS FROM USER_INFO U JOIN ONLINE_SALE O ON U.USER_ID=O.USER_ID WHERE GENDER IS NOT NULL GROUP BY 1, 2, 3 ORDER BY 1, 2, 3 61 서울에 위치한 식당 목록 출력하기SELECT I.REST_ID, REST_NAME, FOOD_TYPE, FAVORITES, ADDRESS, ROUND(AVG(REVIEW_SCORE), 2) SCORE FROM REST_INFO I JOIN REST_REVIEW R ON I.REST_ID..