πŸ“Œ[SQL 문제 풀이] Programmers - 12μ„Έ μ΄ν•˜μΈ μ—¬μž ν™˜μž λͺ©λ‘ 좜λ ₯ν•˜κΈ°

λͺ¨κΉ…Β·2023λ…„ 12μ›” 9일
0
post-custom-banner

πŸ’» 문제

✍️ μ •λ‹΅

SELECT PT_NAME, PT_NO, GEND_CD, AGE, ifnull(TLNO, 'NONE') as 'TLNO'
FROM PATIENT
WHERE AGE <= 12 and GEND_CD = "W"
ORDER BY AGE DESC, PT_NAME
;
profile
λ©ˆμΆ”μ§€ μ•ŠκΈ°

0개의 λŒ“κΈ€