Content deleted Content added
m →ROW_NUMBER() window function: {{mono}} |
m →RANK() window function: {{mono}} |
||
Line 273:
=== RANK() window function ===
The <code>RANK() OVER</code> window function acts like {{mono|ROW_NUMBER}}, but may return more or less than ''n'' rows in case of tie conditions, e.g. to return the top-10 youngest persons:
<syntaxhighlight lang="
SELECT * FROM (
SELECT
|