💻 하나씩 차곡차곡/프로그래머스 (SQL)
[JOIN/LEVEL3] 있었는데요 없었습니다 (MySQL/Oracle)
뚜루리
2024. 11. 13. 00:00
728x90
320x100
MySQL/Oracle
SELECT A.ANIMAL_ID, A.NAME
FROM ANIMAL_INS A, ANIMAL_OUTS B
WHERE A.ANIMAL_ID = B.ANIMAL_ID
AND A.DATETIME > B.DATETIME
ORDER BY A.DATETIME
728x90
320x100