취소되지 않은 진료 예약 조회하기 select a.pt_no, a.PT_NAME, c.PT_NO, b.MCDP_CD, b.DR_NAME, c.APNT_YMD from appointment c join patient a on a.PT_NO = c.PT_NO join doctor b on c.MDDR_ID = b.DR_ID where c.APNT_CNCL_YN = 'N' and c.mcdp_cd = 'CS' and left(date(c.APNT_YMD),10) = '2022-04-13' 답안 SELECT YEAR(S.Sales_date) AS YEAR, MONTH(S.sales_date) AS MONTH, COUNT(DISTINCT(S.user_id)) AS PURCHASED_USERS, ROUND((COU..