출처: https://astrocosmos.tistory.com/202 [ASTROCOSMOS:티스토리] SQL IS_NULL] NULL 처리하기 :: 하나둘셋넷
728x90

SQL IS_NULL] NULL 처리하기

 

 

-- 코드를 입력하세요
SELECT ANIMAL_TYPE, IFNULL(NAME, 'No name') AS NAME, SEX_UPON_INTAKE
    FROM ANIMAL_INS
    ORDER BY ANIMAL_ID;

 

 

728x90

+ Recent posts