Oracle
 sql >> Database >  >> RDS >> Oracle

Errore query SQL:"parentesi destra mancante mancante"

Prova questo ma non testato

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)));