[SQL문제풀기] Python 개발자 찾기(SELECT)

250107
이나겸's avatar
Jan 07, 2025
[SQL문제풀기] Python 개발자 찾기(SELECT)
Contents
Q.풀이

Q.

notion image
 
 

풀이

  • where skill_1 = 'Python' or skill_2 = 'Python' or skill_3 = 'Python'
    • skill_1, skill_2, skill_3 중 하나라도 ‘Python’ 값을 가진 레코드만 조회
  • order by id asc
    • id 기준으로 오름차순 정렬
select id, email, first_name, last_name from developer_infos where skill_1 = 'Python' or skill_2 = 'Python' or skill_3 = 'Python' order by id asc;
 
Share article

Nakyeom's Study