When i tried to execute this statement:
select salary,DEPARTMENT_ID from EMPLOYEES order by 1 fetch first 15 rows only;
I got an error as follows:
ORA-00933: SQL command not properly ended
I executed this in SQL Developer (17.3.1), if that matters.
select * from v$version;and append it's result to the question. My guess is that a version of your database is earlier than 12c, but this clausefetch first ...was introduced in 12c and it doesn't work in earlier versions.