OkBublewrap

Data Science Skills 본문

개발/SQL

Data Science Skills

옥뽁뽁 2025. 3. 8. 10:49

Data Science Skills

문제

1. Python, Tableau, PostgresSQL 기술을 보유한 후보자

2. ID 기준 오름차순 정렬

 

 

풀이

select candidate_id
from candidates
where skill in ('Python','Tableau','PostgreSQL')
group by candidate_id
having count(*) = 3
order by candidate_id

1️⃣ 해당 기술 들어간 행만 - 조건1

2️⃣ candidate_id 그룹화 후 세가지 일 경우 - 조건2

3️⃣ candidate_id 기준 오름차순 정렬

 

 

'개발 > SQL' 카테고리의 다른 글

Unfinished Parts  (0) 2025.03.08
Page With No Likes  (0) 2025.03.08
Histogram of Tweets  (0) 2025.03.08
SQL 문자열 다루기  (0) 2025.03.04
585. Investments in 2016  (0) 2025.02.13