Erdinc Notes
Friday, February 20, 2015
over partition by
Used to show sum of a column:
Example:
select
COL1
,
COL2
,
sum(
COL2
)
over
(partition
by
(
COL1
))
as
TOTAL
from
TEST_TABLE
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment