ji-0630 / CodingTest

코딩테스트 연습 기록
0 stars 0 forks source link

3월에 태어난 여성 회원 목록 출력하기 #194

Closed ji-0630 closed 1 year ago

ji-0630 commented 1 year ago

문제 설명

image

ji-0630 commented 1 year ago

나의 풀이

SELECT MEMBER_ID, MEMBER_NAME, GENDER, date_format(DATE_OF_BIRTH, "%Y-%m-%d") as DATE_OF_BIRTH
from MEMBER_PROFILE
where month(DATE_OF_BIRTH) = 3
and TLNO is not null
and GENDER = "W"
order by MEMBER_ID