haju__log
[lv.2] 고양이와 개는 몇 마리 있을까 본문
반응형
SELECT ANIMAL_TYPE,COUNT(ANIMAL_TYPE) AS 'count'
FROM ANIMAL_INS
GROUP BY ANIMAL_TYPE
ORDER BY ANIMAL_TYPE ASC;
반응형
SELECT ANIMAL_TYPE,COUNT(ANIMAL_TYPE) AS 'count'
FROM ANIMAL_INS
GROUP BY ANIMAL_TYPE
ORDER BY ANIMAL_TYPE ASC;