DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
windows aggregate functions in postgresql
SELECT depname, empno, salary, avg(salary) OVER (PARTITION BY depname) FROM empsalary;
Source by www.postgresql.org #
PREVIOUS
NEXT
Tagged:
#windows
#aggregate
#functions
#postgresql
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit