Escolar Documentos
Profissional Documentos
Cultura Documentos
select*from aluno;
select*from inscricao;
select*from aluno;
select*from disciplina;
select*from curso;
--5.Qual foi a média obtida no exame de SINF em 2008? (média)
select avg(notaExame) from inscricao where anoLetivo=2008 and ref in
(select ref from disciplina where nome like 'SINF');
--6.Que alunos foram ao exame de SINF mas não foram ao recurso em 2007? (num, nome)
select num from inscricao where notaExame>0 and anoLetivo=2013 and ref in
(select ref from disciplina where nome like 'Calculo I')except
select num from inscricao where notaRecurso>0 and anoLetivo=2013 and ref in
(select ref from disciplina where nome like 'SINF');