I am not able to execute this query getting
ORA-00933: SQL command not properly ended
00933. 00000 – “SQL command not properly ended”
select count(user_id)
from t_user
where user_id = 2699478, object_id = 1329
and user_id not in
(SELECT owner_user_id FROM t_obj where actual_id = 17447);
You have to replace the comma
,between the two conditionsuser_id=2699478 ,object_id=1329with a proper conditional operators, and use parentheses to express them the way you want, like this: