Procura

Banco de dadosSql


EXERCÍCIOS - Exercício 335

  • (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






Cadastre-se e ganhe o primeiro capítulo do livro.
+
((ts_substr_ig=0.00ms))((ts_substr_id=6.18ms))((ts_substr_m2=0.00ms))((ts_substr_p2=0.53ms))((ts_substr_c=1.30ms))((ts_substr_im=0.76ms))
((total= 9ms))