I\'m looking for analytical function like PARTITION BY in MySQL (see the docs for more info)
Analytic functions compute an aggregate valu
There is a commercial product for SQL Server that provides in-database analytic functions and it can be connected to an oracle or MySQL database via 'linked servers'/odbc - here is an article describing it: http://westclintech.com/Blog/tabid/132/EntryId/88/Using-XLeratorDB-with-MySQL-and-other-RDBMS-s.aspx
This requires having a Windows o/s and SQL Server 2005 or later (which the Express version is free)