SQL

1.ROLLUP과 CUBE함수

post-thumbnail

2.테이블 3개 JOIN

post-thumbnail

3.인라인 뷰와 WITH 구문

post-thumbnail