Oracle syntax error [duplicate] Oracle syntax error [duplicate] oracle oracle

Oracle syntax error [duplicate]


Oracle doesn't support the limit clause. That's a MySQL/Postgres thing.

There are alternatives, although they're often a lot more involved

http://www.oracle.com/technology/oramag/oracle/06-sep/o56asktom.html

The simplest equivalent is:

select * from abcd where name like 'a%' and ROWNUM <= 10;