343. 보호소에서 중성화한 동물

김해준's avatar
Feb 23, 2026
343. 보호소에서 중성화한 동물

언어 : MySQL

문제

notion image
notion image
notion image

풀이 과정

ANIMAL_INS 테이블 데이터 확인
notion image
ANIMAL_INS의 동물 정보 중 중성화를 하지 않은 조건으로 탐색
notion image
ANIMAL_OUTS 테이블 데이터 확인
notion image
ANIMAL_OUTS의 동물 데이터 중 중성화를 기준으로 탐색
notion image
현재 ANIMAL_OUTS테이블에 조건을 설정했던 ANIMAL_INS 테이블 조인하기
notion image
동물의 아이디와 종, 이름만 조회하기(아이디 순서로 정렬)
notion image
notion image
Share article