Informatica 3 Liceo Scientifico Scienze Applicate/SubQuery e Group By: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
Riga 114:
where materia='storia'
group by idstudente
having avg(voto) > (select avg(voto)
from Compiti
where materia='storia');
 
 
Riga 132:
select cognome ,nome
from Studenti
where CittaNascita in (select CittaNascita
from Studenti
group by CittaNascita
having count(*) >10);