+ All Categories
Home > Documents > Prova Pronta

Prova Pronta

Date post: 22-Sep-2015
Category:
Upload: leonardo-redaelli
View: 227 times
Download: 2 times
Share this document with a friend
Description:
Banco de Dados
22
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'
Transcript

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

Recommended