(select) is not null, like, date_format

Psj·2025년 3월 18일
0

SQL코딩테스트

목록 보기
1/1

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


내풀이

SELECT  member_id, 
		member_name, 
        gender, 
        date_format(date_of_birth, '%Y-%m-%d') as date_of_birth 
from member_profile 
where date_of_birth like "%-03-%" 
	  and gender like "%W%" 
      and tlno is not null 
order by member_id asc;


profile
Software Developer

0개의 댓글

Powered by GraphCDN, the GraphQL CDN