https://programmers.co.kr/learn/courses/30/lessons/59041
ํ์ด
SELECT NAME, COUNT(NAME)
FROM ANIMAL_INS
GROUP BY NAME
HAVING COUNT(NAME) >= 2 AND NAME IS NOT NULL
ORDER BY NAME
'๐๏ธ Algorithm > โฌ ํ๋ก๊ทธ๋๋จธ์ค' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Programmers] [Summer/Winter Coding(~2018)] [Python] Level1_์์ ๋ง๋ค๊ธฐ (0) | 2022.03.15 |
---|---|
[Programmers] [SQL] ์ ์ ์๊ฐ ๊ตฌํ๊ธฐ(1) (0) | 2022.03.14 |
[Programmers] [SQL] ๊ณ ์์ด์ ๊ฐ๋ ๋ช ๋ง๋ฆฌ ์์๊น (0) | 2022.03.14 |
[Programmers] [SQL] ์ค๋ณต ์ ๊ฑฐํ๊ธฐ (0) | 2022.03.14 |
[Programmers] [SQL] ๋๋ฌผ ์ ๊ตฌํ๊ธฐ (0) | 2022.03.14 |