글
프로그래머스 레벨3 오랜 기간 보호한 동물(1)(오라클SQL, LEFT join)
SQL프로그래밍
2023. 4. 3. 19:28
728x90
SMALL




-- 코드를 입력하세요
SELECT *
from (select T1.name, T1.datetime
from ANIMAL_INS T1
left join ANIMAL_OUTS T2
on T1.animal_id = T2.animal_id
where T2.animal_id is null
order by T1.datetime)
where rownum<=3;
728x90
'SQL프로그래밍' 카테고리의 다른 글
SQLD 시험 결과 발표 (0) | 2023.04.07 |
---|---|
프로그래머스 레벨3 있었는데요 없었습니다(오라클SQL, JOIN) (0) | 2023.03.15 |
프로그래머스 레벨4 우유와 요거트가 담긴 장바구니(오라클SQL, INTERSECT, 셀프 조인) (0) | 2023.03.14 |
프로그래머스 레벨1 역순 정렬하기(오라클SQL, 개쉬움) (0) | 2023.03.13 |
프로그래머스 레벨1 동물의 아이디와 이름(오라클SQL) (0) | 2023.03.13 |