Those query work:
SELECT field FROM table WHERE id IN (1,2,3);
SELECT field FROM table WHERE id IN (1);
Why do I have error in this query? (ORA-00936: missing expression
)
SELECT field FROM table WHERE id IN ();
how can I say "empty set"?
I have this application that recieve the ids from the user, and they can send 0,1, or as many as they want.
I normally use hibernate and HQL syntax but I have the equivalent error at the end with empty list