Notes
![]() ![]() Notes - notes.io |
FROM Studenti
GROUP BY Classe
2) SELECT Classe, Descrizone, MAX(Esito) as voto_massimo
FROM Studenti, Voto, Materia
WHERE voto.matricola=studente.matricola and voto.codice_materia=materia.codice_materia
GROUP BY Classe, Descrizione
HAVING Classe='III' and Descrizione='Matematica'
3) SELECT AVG(Esito) as media_voti, Descrizone
FROM Studenti, Voto, Materia
WHERE voto.matricola=studenti.matricola and materia.cod_materia=voto.cod_materia and cognome='Rossi'
GROUP BY Descrizione
HAVING Descrizione='Inglese'
4) SELECT Descrizione, COUNT(Esito) as numero_prove
FROM Voto, Materia
WHERE voto.cod_materia=materia.cod_materia and Data beetween'2017-09-01' and '2017-12-31'
GROUP BY Descrizione
5) SELECT Cognome, Nome, AVG(Esito) as media_voti
FROM Studenti, Voto
WHERE studenti.matricola=voto.matricola
GROUP BY Cognome, Nome
ORDER BY Cognome, Nome //in ordine alfabetico
6) SELECT Cognome, Nome, COUNT(Esito) as suff_inform
FROM Studenti, Voto, Materia
WHERE voto.matricola=studenti.matricola and materia.cod_materia=voto.cod_materia and Descrizione='Informatica' and Esito>=6
GROUP BY Cognome, Nome
ORDER BY Cognome, Nome
7) SELECT Descrizione, COUNT(voto.Cod_Materia) as num_prove
FROM Materia, Voto
WHERE voto.cod_materia=materia.cod_materia
GROUP BY Descrizione
HAVING COUNT(Voto.Cod_Materia)>4
8) SELECT MAX(Esito) as voto_max, MIN(Esito) as voto_min
FROM Studeti, Voto
WHERE studenti.matricola=voto.matricola and Cognome='Rossi'
9) SELECT Descrizione, COUNT(cod_insegnante) as num_insegnanti
FROM Materia
GROUP BY Descrizione
10) SELECT Descrizione, AVG(Esito) as voto_medio
FROM Materia, Voto
WHERE materia.cod_materia=voto.cod_materia
GROUP BY Descrizione
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team