https://school.programmers.co.kr/learn/courses/30/lessons/299307
코드설명
CASE WHEN 문제입니다.
코드
SELECT ED.ID,
CASE
WHEN ED.SIZE_OF_COLONY <= 100 THEN 'LOW'
WHEN ED.SIZE_OF_COLONY <= 1000 THEN 'MEDIUM'
ELSE 'HIGH'
END AS 'SIZE'
FROM ECOLI_DATA AS ED
ORDER BY ED.ID ASC