[ํ๋ก๊ทธ๋๋จธ์ค] ์ค์ฑํ ์ฌ๋ถ ํ์ ํ๊ธฐ (String, Date/Oracle(SQL))
SELECT ANIMAL_ID, NAME, (CASE WHEN SEX_UPON_INTAKE NOT LIKE '%Intact%' THEN 'O' ELSE 'X' END)
FROM ANIMAL_INS
ORDER BY ANIMAL_ID;
[MongoDB] MongoDB Terms, query corresponding to SQL (0) | 2022.01.19 |
---|---|
[ํ๋ก๊ทธ๋๋จธ์ค] ์ด๋ฆ์ el์ด ๋ค์ด๊ฐ๋ ๋๋ฌผ ์ฐพ๊ธฐ (String, Date/Oracle(SQL)) (0) | 2021.03.03 |
[ํ๋ก๊ทธ๋๋จธ์ค] ๋ฃจ์์ ์๋ผ ์ฐพ๊ธฐ (SQL String, Date / Oracle) (0) | 2021.02.16 |
[HackerRank] The Report (SQL/JOIN) (0) | 2021.02.06 |
[HackerRank] Average Population of Each Continent (SQL/JOIN) (0) | 2021.02.01 |