이름이 있는 동물의 아이디

Updated:

is not null옵션을 이용하고, 오름차순을 해줘야 하기 때문에 오름차순을 해주는 것이 중요하다

by SQL

-- 코드를 입력하세요
SELECT ANIMAL_ID
from animal_ins
where name is not null
order by animal_id

Leave a comment