TOP_N function
Returns the top N rows of the table based on specified criteria.
Syntax
top_n(<table>, <limit>)
Parameter | Type | Description |
---|---|---|
table | vt | The table from which to select the top N rows. |
limit | int | The number of rows to return. |
Returns the top N rows of the table based on specified criteria.
top_n(<table>, <limit>)
Parameter | Type | Description |
---|---|---|
table | vt | The table from which to select the top N rows. |
limit | int | The number of rows to return. |