코딩 테스트/프로그래머스
[프로그래머스 2024/01/26] 아픈 동물 찾기
미뿌감
2024. 1. 26. 14:42
728x90
https://school.programmers.co.kr/learn/courses/30/lessons/59036
프로그래머스
코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.
programmers.co.kr
1. 접근 방법
where문을 이용, intake_condition = 'Sick' 인 친구만 찾도록 해주었다.
2. 코드
SELECT animal_id, name from animal_ins
where intake_condition = 'Sick'
728x90