🙈 헛발질...
select b.animal_id,b.name from animal_outs b
inner join animal_ins a
on a.animal_id = b.animal_id
where a.animal_id IS NULL
order by b.animal_id
A를 기준으로 B와 LEFT JOIN 하려면 => A LEFT JOIN B
🐵 예쁘게 풀기
select b.animal_id,b.name from animal_outs b
left join animal_ins a on a.animal_id = b.animal_id
where a.animal_id IS NULL
order by b.animal_id
select animal_id, name from animal_outs
where animal_id not in (select animal_id from animal_ins);