group 함수 group by having pivot LAG, LEAD RANK ~ WITHIN GROUP ~ RANK ~ OVER ~ PARTITION BY DENSE_RANK ROW_NUMBER SUM ~ OVER ~ RATIO_TO_REPORT CREATE