SQL
General Aggregate Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Returns a `LIST` containing the `arg` expressions for the "top" `n` rows ordered by `val` descending. |
| **Example** | `max_by_n(A, B, 2)` |
| **Alias(es)** | `argMax(arg, val, n)`, `arg_max(arg, val, n)` |