MariaDB starting with 10.2

Window functions were first introduced in MariaDB 10.2.0.

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