SQL
General Aggregate Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Finds the row with the minimum `val`. Calculates the `arg` expression at that row. This function is [affected by ordering](#::order-by-clause-in-aggregate-functions). |
| **Example** | `min_by(A, B)` |
| **Alias(es)** | `argMin(arg, val)`, `arg_min(arg, val)` |