728x90
https://school.programmers.co.kr/learn/courses/30/lessons/59040
728x90
SELECT animal_type, count(animal_id) as count
FROM animal_ins
GROUP BY animal_type
ORDER BY animal_type;
728x90
'Problem Solving > Programmers' 카테고리의 다른 글
[프로그래머스, 59412] 입양 시각 구하기(1) (mysql) (0) | 2024.03.18 |
---|---|
[프로그래머스, 132202] 진료과별 총 예약 횟수 출력하기 (mysql) (0) | 2024.03.17 |
[프로그래머스, 59409] 중성화 여부 파악하기 (mysql) (0) | 2024.03.14 |
[프로그래머스, 131529] 카테고리 별 상품 개수 구하기 (mysql) (0) | 2024.03.13 |
[프로그래머스, 131535] 조건에 맞는 회원수 구하기 (mysql) (0) | 2024.02.09 |