Banco de dadosSql
- (FGV 2014)
Considere uma tabela T com a seguinte instância.
f g h
5 2 1 3 2 2 4 5 1 2 3 2
O comando
delete from t where exists (select * from t t2 where t2.f<t.g)
remove
A) zero linhas.
B) uma linha.
C) duas linhas.
D) três linhas
.
E) quatro linhas.
Próximo:
EXERCÍCIOS - Exercício 336
Vamos para o Anterior: Exercício 334
Tente Este: Exercício 124
Primeiro: Exercício 1
VOLTAR ao índice: Banco de dados