Mysql workaround for window functions

前端 未结 4 995
南方客
南方客 2020-12-19 06:52

I have an event table that has the following fields:

event_id
event_type 
event_time

Given a duration D and a number k<

4条回答
  •  半阙折子戏
    2020-12-19 07:16

    Notice that this lack of functionality is a thing of the past with MySQL 8 and later: https://dev.mysql.com/doc/refman/8.0/en/window-functions.html

提交回复
热议问题