Pular para o conteúdo principal

Questão de Governança de TI — Auditoria de TI — FGV 2024

Governança de TIAuditoria de TI
Código
fg091492
Banca
FGV
Órgão
Prefeitura de Nova Iguaçu - RJ
Ano
2024
Nível
Superior
Cargo
Auditor Fiscal do Tesouro Municipal
Para fins de investigação, os auditores da empresa desejam saber os nomes dos clientes que contrataram empréstimos em todas as financeiras.Assinale a consulta que apresenta o resultado desejado pelos auditores.
  1. Aselect c.nome from tb_cliente c where exists ( select 1 from tb_emprestimo e where e.id_cliente = c.id_cliente )
  2. Bselect c.nome from tb_cliente c where id_cliente = all ( select id_financeira from tb_emprestimo )
  3. Cselect c.nome from tb_cliente c where not exists ( select id_financeira from tb_financeira except select e.id_financeira from tb_emprestimo e where e.id_cliente = c.id_cliente )
  4. Dselect distinct c.nome from tb_financeira f natural join tb_emprestimo e full join tb_cliente c on c.id_cliente = e.id_cliente
  5. Eselect distinct c.nome from tb_financeira natural join tb_emprestimo natural join tb_cliente c
Revelar gabarito e comentário

GabaritoC — select c.nome from tb_cliente c where not exists ( select id_financeira from tb_financeira except select e.id_financeira from tb_emprestimo e where e.id_cliente = c.id_cliente )

Link permanente: /questoes/fg091492