I uploaded an update of my application on the server. And it threw me a problem in the query, when executing it inside MySQL, it generated the error in the incompatibility of the function "OVER PARTITION BY ID"
Attached small example.
My doubt is that before uploading it to the server, I was developing the application using XAMPP and at no time had it given me an error regarding the use of these functions.
In this case, I don't know what could be done about it, to find out if it is some version of the update.
I would greatly appreciate your attention and help in advance, thank you.