when trying to execute the query
SELECT *
FROM A, B
WHERE A.id = B.idA
AND (SELECT count(*) FROM A WHERE A.id=B.idA) < 2
i get the message ORA-00936: missing expression. And the point where the exception is given is the SELECT statement in the subquery.
Does anybody know why i get this message? In the syntax description of the SELECT statement it says i can use a subquery...
SELECT *
FROM A, B
WHERE A.id = B.idA
AND (SELECT count(*) FROM A WHERE A.id=B.idA) < 2
i get the message ORA-00936: missing expression. And the point where the exception is given is the SELECT statement in the subquery.
Does anybody know why i get this message? In the syntax description of the SELECT statement it says i can use a subquery...