Suponha as relações abaixo. Considere, então, a seguinte consulta SQL: select idfilial from filial where idfilial not in ( (select idfilial from frota where tipo = 'M' and idfilial is not null group by idfilial) union (select idfilial from filial where idfilial not in (select idfilial from bairro_de group by idfilial having count(*) > 1) ) ) Quantos registros de dados o resultado da execução da consulta apresenta?
Suponha as relações abaixo.
Considere, então, a seguinte consulta SQL:
select idfilial
from filial
where idfilial not in
(
(select idfilial
from frota
where tipo = 'M' and
idfilial is not null
group by idfilial)
union
where
idfilial not in (select idfilial
from bairro_de
group by idfilial
having count(*) > 1)
)
Quantos registros de dados o resultado da
execução da consulta apresenta?
0
1
2
3
4
Navegue em mais questões
{TITLE}
{CONTENT}