martedì 20 gennaio 2009

COMPITO IN CLASSE DEL 19/01/2009

Esercizi svolti e relativa esecuzione



es 1
select studente.nome, materia.nome,voto.voto from studente, materia, voto
where studente.idStudente=voto.idStudente and materia.idMateria=voto.idMateria order by studente.nome asc;
es2
select studente.nome, materia.nome, modulo.nome, voto.voto from studente, materia, modulo, voto
where studente.idStudente=voto.idStudente and materia.idMateria=voto.idMateria and materia.idMateria=modulo.idMateria and studente.nome='Paperino';
es3
select studente.nome, voto.voto, materia.idMateria from studente, voto, materia
where studente.idStudente=voto.idStudente and materia.idMateria=voto.idMateria and studente.nome='Tizio' and voto.voto<6;
es4
select idMateria, voto from voto where idMateria=1 group by idMateria;
es5
select idMateria, count(voto) from voto where idMateria=1 group by idMateria;
es6
select studente.nome, count(voto) as 'numero voti' from voto, studente
where studente.idStudente=voto.idStudente and voto.idStudente<6 group by voto.idStudente;
es7
select studente.nome, avg(voto) as 'media voti' from voto, studente
where studente.idStudente=voto.idStudente group by voto.idStudente;
es8
select docente.nome, materia.nome, modulo.nome, programmazione.mmaaInizio, programmazione.mmaaFine from docente, materia, modulo, programmazione
where materia.idMateria=modulo.idMateria and docente.idDocente=programmazione.idDocente and materia.idMateria=programmazione.idMateria and modulo.idModulo=programmazione.idModulo;



LEZIONE HTLM


Testo per creare le pagine in html: con questo linguaggio(html/css) possiamo creare, modificare e abbellire le nostre pagine web.



Corrispettivo del testo in htlm

domenica 11 gennaio 2009