Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Window functions and GROUP BY
Summary and Review
18. Summary


Excellent. It's time to wrap things up. Let's review what we learned in this section:

  • Window functions can only appear in the SELECT and ORDER BY clauses.
  • If you must use window functions in other parts of the query, use a subquery.
  • If the query uses aggregates or GROUP BY, remember that the window function can only see the grouped rows, not the original rows.

Are you ready for a short quiz?


Click Next exercise to continue.