MariaDB starting with 10.2

Window functions were first introduced in MariaDB 10.2.0.

Note: The documentation is still in progress, and not all features have been added yet.

Window functions perform calculations across a set of rows related to the current row