

Comando 1:
select Nome, Saldo
from Clientes, Contas
where CPF = Cliente
order by Nome, Saldo;
Comando 2:
select Nome
from Clientes, Contas
where CPF = Cliente
and Numero in (
select Conta
from Contas_Fundos
group by Conta
having Sum(Saldo) > 40000)
order by Nome;
Comando 3:
select distinct t1.Nome, t3.Nome, t1.Rentabilidade
from Fundos t1, Fundos t2, Categorias t3
where t1.Categoria = t3.Codigo
and t1.Rentabilidade = t2.Rentabilidade
and not t1.Codigo = t2.Codigo
and not t3.Risco = 'Alto'
order by t1.Nome, t3.Nome, t1.Rentabilidade;
Considerando as tabelas e os comandos SQL apresentados, julgue o item seguinte.
A execução do comando 1 produz o seguinte resultado.
Ana 2.000,00
Claudia 1.000,00
Francisco 1.000,00