Questão de Banco de Dados — SQL — NCE-UFRJ 2009
Banco de DadosSQL
- Código
- qg809141
- Banca
- NCE-UFRJ
- Órgão
- UFRJ
- Ano
- 2009
- Nível
- Superior
- Cargo
- NCE - - Analista - Tecnologia da Informação
Uma consulta SQL para apresentar o nome do professor da primeira série, turno da tarde, seria:
- Aselect proffrom alunowhere turno = ‘T’ and serie = 1;
- Bselect professor.nomefrom professor, alunowhere turno = ‘T’ and serie = 1 and aluno.prof = professor.registro;
- Cselect nomefrom professorwhere aluno.turno = ‘T’ and aluno.serie = 1;
- Dselect nomefrom professor, alunowhere turno = ‘T’ and serie = 1 and aluno.prof = professor.registro;
- Eselect nomefrom professor, aluno where turno = ‘T’ and serie = 1 and aluno.prof = professor.registrogroup by registro;