Oracle syntax error [duplicate]
问题 This question already has answers here : How do I limit the number of rows returned by an Oracle query after ordering? (16 answers) Closed 3 months ago . I got the following error in Oracle: SELECT * FROM abcd WHERE name LIKE 'a%' LIMIT 10 * ERROR at line 1: ORA-00933: SQL command not properly ended What is the problem with the command? 回答1: 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