MySQL Forums
Forum List  »  Oracle

Re: Oracle Analytic Functions (aggregates)
Posted by: delirii
Date: December 28, 2006 05:17AM

Is there any way to write a workaround for this type of query (FIRST_VALUE) ?

How to select the fist value in a 2 rows ordered result set ?

For instance in this ordered result set :

A B
'aaa' 'a'
'bbb' 'a'
'ccc' 'b'
'ddd' 'a'
'eee' 'c'
'fff' 'b'

only return the values :

'aaa' 'a'
'ccc' 'b'
'eee' 'c'

And maintain this order...

Options: ReplyQuote


Subject
Views
Written By
Posted
9991
October 20, 2004 11:42AM
Re: Oracle Analytic Functions (aggregates)
3934
December 28, 2006 05:17AM


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.