-
level 2. 동명 동물 수 찾기SQL/SQL 연습문제 풀이 2022. 1. 16. 21:41반응형
https://programmers.co.kr/learn/courses/30/lessons/59041
-- MySQL SELECT NAME, count(NAME) AS COUNT FROM ANIMAL_INS GROUP BY NAME HAVING COUNT>1 ORDER BY NAME -- Oracle, MySQL SELECT NAME, count(NAME) AS COUNT FROM ANIMAL_INS GROUP BY NAME HAVING count(NAME)>1 ORDER BY NAME
반응형