Syntax

    1. mysql> select topn_array(k3,3) from baseall;
    2. | topn_array(`k3`, 3) |
    3. +--------------------------+
    4. +--------------------------+
    5. 1 row in set (0.02 sec)
    6. mysql> select topn_array(k3,3,100) from baseall;
    7. | topn_array(`k3`, 3, 100) |
    8. +--------------------------+
    9. | [3021, 2147483647, 5014] |