MySQL Forums
Forum List  »  Oracle

Mysql supports 'partition by' analytical function?
Posted by: Bhanu Nadendla
Date: September 05, 2008 03:40AM

Hi All,

I am wroking on Migrating my Oracle databse to Mysql where I need to convert all oracle syntax in the views to Mysql syntax.

one of them is partition function.

Oracle query:
select
COL1,
COL2,
row_number() over (partition by COL1 order by COL2 desc) as rate_index
from Table1;

is there any way to use same loginc in the Mysql.

please help me

Thanks
Prakash

Options: ReplyQuote


Subject
Views
Written By
Posted
Mysql supports 'partition by' analytical function?
3960
September 05, 2008 03:40AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.