Instruction
Excellent. It's time to wrap things up. Let's review what we learned in this section:
- Window functions can only appear in the
SELECTandORDER BYclauses. - 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?
Exercise
Click to continue.



