eral">OVER</code>.
    For example:

</p><pre class="programlisting">
SELECT sum(salary) OVER w, avg(salary) OVER w
  FROM empsalary
  WINDOW w AS (PARTITION BY depname ORDER BY salary DESC);
</pre><p>
   </p><p>
    More details about window functions can be found in
    <a class="xref" href="sql-expressions.html#SYNTAX-WINDOW-FUNCTIONS" title="4.2.8. Window Function Calls">Section 4.2.8</a>,
    <a class="xref" href="functions-window.html" title="9.22. Window Functions">Section 9.22</a>,
    <a class=