[Programmers/Level 1] 아픈 동물 찾기

2020. 6. 16. 14:56코딩테스트 준비/Programmers

https://programmers.co.kr/learn/courses/30/lessons/59036?language=oracle

 

MySQL

SELECT animal_id, name
from animal_ins
where intake_condition = "Sick"
order by animal_id

Oracle

SELECT animal_id, name
from animal_ins
where intake_condition = 'Sick'
order by animal_id

 

Oracle은 문자열을 ""로 감싸면 안된다!