๋ฐ์ํ
https://school.programmers.co.kr/learn/courses/30/lessons/59043
-- ์ฝ๋๋ฅผ ์
๋ ฅํ์ธ์
SELECT I.ANIMAL_ID, I.NAME
from ANIMAL_INS I join ANIMAL_OUTS O on I.ANIMAL_ID = O.ANIMAL_ID
where I.DATETIME > O.DATETIME
order by I.DATETIME asc
๋ฐ์ํ