Top Banner
1. SELECT ra FROM HISTORICO WHERE cod_disc='BD' AND ano=2015 AND nota <5 2. SELECT a.RA, a.NOME, a.NOME from HISTORICO h, ALUNOS a where cod_disc='BD' and ano=2015 and nota <5 and a.RA=h.RA 3. SELECT distinct(p.NOME) from PROFESSORES p, TURMA t where p.COD_PROF=t.COD_PROF and t.ANO=2015 and t.COD_DISC='BD'
22

Prova Pronta

Sep 22, 2015

Download

Documents

Banco de Dados
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

1.SELECT raFROM HISTORICOWHERE cod_disc='BD' AND ano=2015 AND nota