๋ฐ์ํ
https://school.programmers.co.kr/learn/courses/30/lessons/132203
-- ์ฝ๋๋ฅผ ์
๋ ฅํ์ธ์
SELECT DR_NAME, DR_ID, MCDP_CD,
date_format(HIRE_YMD, "%Y-%m-%d") as HIRE_YMD
from DOCTOR
where MCDP_CD = "CS" or MCDP_CD = "GS"
order by HIRE_YMD desc, DR_NAME asc
๋ฐ์ํ