Oracle
 sql >> Base de données >  >> RDS >> Oracle

Erreur de requête SQL :"parenthèse droite manquante manquante"

Essayez ceci mais pas testé

select * from hospital where hospitalid =
 (select hospitalid from doctor group by hospitalid having count ( doctorid ) =
  (select max ( doctoramt ) from
      (select count (doctorid) as doctoramt from doctor group by hospitalid) as tbltemp)));