GROUP BYselect 검색의 결과로 나오는 정보를 그룹화 해준다.# group by 앞과 뒤의 칼럼명은 동일. # 아래 두 쿼리의 결과는 같다.select 컬럼명 from 테이블명 group by 컬럼명;select distinct 컬럼명 from 테이블명; select item_type from rating group by item_type; item_type------------- drink canned_food ramengroup 이후에 나오는 컬럼명은 컬럼 순서대로 숫자 지정 가능select 컬럼명1,컬럼명2 from 테이블명 group by 1, 2;select 컬럼명1,컬럼명2 from 테이블명 group by 2, 1;group by로 새로운 group을 생성하고 결과를 리턴하는데 이..