Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

First/Last function missing right parentheses error...?

2776946Aug 14 2015 — edited Aug 15 2015

working on some analytical function....

with this simple one...

select

keep (dense_rank first order by sum(salary) desc)

from employees;

I am getting a ora-00907 error.

Textbook I'm using is a 9i/10 version, i don't know of any updates that may have affected this syntax but this is a rudimentary version of the textbook example.

Any tips on fixing this?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2015
Added on Aug 14 2015
4 comments
487 views