Can you help me know what maybe the error in my sql?ORA-00936: I'm having missing expressionerror but I cannot find the error.
select p.nompr
from produit p
where p.idpr=(select o.idpr
from objet o,enchere e
where o.idobj=e.idobj
group by o.idpr
having(count(*)=select Max(count (o1.idpr))
from objet o1,enchere e1
where o1.idobj=e1.idobj
group by o1.idpr) );