https://school.programmers.co.kr/learn/courses/30/lessons/276035

 

프로그래머스

SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프

programmers.co.kr

 

 

  • 문제는 어렵지 않았지만 함정이 존재했다.
  • Front End를 가진 code가 여러 개이다. 즉, 똑같은 개발자가 여러 명이 존재하게 되는 것을 제거해줘야 한다.
  • 처음엔 distinct 사용법을 잘 몰라서 group by를 사용해서 해결했다.

 

 

select distinct a.id, a.email, a.first_name, a.last_name
from developers a inner join skillcodes b
on (a.skill_code & b.code) = b.code
where b.category like "Front End"
order by a.id

+ Recent posts