문제
풀이
SELECT a.animal_id, a.name
from animal_outs a left join animal_ins b
on a.animal_id = b.animal_id
where b.animal_id is null
order by a.animal_id;
'algorithm' 카테고리의 다른 글
[programmers] MySQL - Lv.3 헤비 유저가 소유한 장소 (0) | 2022.09.28 |
---|---|
[HackerRank] MySQL - Higher Than 75 Marks (0) | 2022.09.27 |
[HackerRank] MySQL - Weather Observation Station 12 (0) | 2022.09.26 |
[programmers] MySQL - Lv.3 있었는데요 없었습니다 (join) (0) | 2022.09.26 |
[HackerRank] MySQL - Weather Observation Station 11 (0) | 2022.09.24 |