by 헐레벌떡 [SQL Query] 정렬 SUM [2013.04.08 01:32:12]
SELECT
indate
, point
,
SUM
(point) OVER(
ORDER
BY
indate) sum_point
FROM
point
DESC
;
-- 요런 방법도 --
ROWS
BETWEEN
CURRENT
ROW
AND
UNBOUNDED FOLLOWING) sum_point