group by 퀴즈 22222 :)![](https://img1.daumcdn.net/thumb/R1024x0/?fname=https%3A%2F%2Ft1.daumcdn.net%2Ftable_attach%2F1195339642%2F097fac96ab8132f6a7948f06a8d3e2b7cf0f8732&scode=cafe)
norah
댓글 0
데이터처리는
from 프롬 > where 웨어 > group by 그룹바이 > having >
select 셀렉트 > oder by 오더바이 순서로!!!!!
Q. 배급사별로 영화편수를 구하세요 (select 배급사, 영화편수) (영화 편수 역순 정렬)
SELECT distribution AS 배급사, COUNT(*) AS distribution
FROM movie
GROUP BY distribution
ORDER BY COUNT(*) DESC;
이렇게 나오네요 :)
댓글 0
댓글 정렬방식 선택
- 선택됨
비로그인 상태입니다 테이블에 앉아보세요!
테이블만의 핵심 기능을 확인해 보세요