174. 12세 이하인 여자 환자 목록 출력하기

김해준's avatar
Jan 02, 2026
174. 12세 이하인 여자 환자 목록 출력하기

사용언어 : MySQL

문제
notion image
notion image
풀이
SELECT PT_NAME, PT_NO, GEND_CD, AGE, ifnull(TLNO,'NONE') as TLNO from patient where age < 13 and gend_cd = 'W' order by age desc, pt_name asc;
notion image
Share article