Instruction
Excellent. It's time to wrap things up.
- Window functions can only appear in the
SELECTandORDER BYclauses. - If you need 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 instead of the original table rows.
Are you ready for a short quiz, then?
Exercise
Click to continue.



