Atenção:
Nas três questões a seguir, considere a tabela T mostrada abaixo com a respectiva instância.
T
Nas três questões a seguir, considere a tabela T mostrada abaixo com a respectiva instância.
T
| a | b | c |
|---|---|---|
| 1 | 2 | NULL |
| 2 | 3 | NULL |
| 5 | NULL | NULL |
| 4 | 2 | NULL |
Considerando a tabela T, o resultado do comando SQL
select T.a from T
where exists
(select *
from T t2, T t3
where T.a = t2.b+t3.b)
tem uma coluna e, além da linha de títulos, exibe:
select T.a from T
where exists
(select *
from T t2, T t3
where T.a = t2.b+t3.b)
tem uma coluna e, além da linha de títulos, exibe:
- A)1
- B)5
4 - C)1
5
4 - D)2
5
4 - E)1
2
5
4