-
[SQL] data.world tutorial SQL Pivot 문 예제 풀이데이터 분석/DB & SQL 2020. 5. 4. 00:41
PIVOT enables you to see rows as columns in a query result. 피벗테이블은 row 여러 개를 column 으로 옮겨서 요약 정리한다. PIVOT (집계값 FOR 대상컬럼 IN ("컬럼1", "컬럼2", ... "컬럼N")) https://docs.data.world/documentation/sql/concepts/advanced/PIVOT.html PIVOT Learn about PIVOT in this SQL tutorial. Visit for a full course on learning the basics of SQL. docs.data.world 엑셀에서 원하는 결과값을 값에 넣고, 요약기준을 row 와 column 에 추가하는 것과 같다. (이 때 c..