Does mysql have the equivalent of Oracle's “analytic functions”?

后端 未结 4 1699
旧时难觅i
旧时难觅i 2020-11-29 05:17

I\'m looking for analytical function like PARTITION BY in MySQL (see the docs for more info)

Analytic functions compute an aggregate valu

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-29 05:57

    No, it is one of the main lack of MySQL, compared to others DBMS like MSSQL, Oracle, PostgreSQL. I strongly doubt to see Window Functions in MySQL in any future, especially after Oracle acquisition of MySQL ...

    Update 04/2018

    MySQL 8.0 now supports window functions.

提交回复
热议问题