Imagem de fundo

Observe o resultado de uma consulta mostrado a seguir...

Nas questões 53 até 60 considere um banco de dados relacional constituído pelas tabelas X, Y e Z, cujas instâncias são mostradas a seguir.

Imagem associada para resolução da questão

Observe o resultado de uma consulta mostrado a seguir.

                                  Imagem associada para resolução da questão

O comando SQL que NÃO produz o resultado acima é:


A

select x.*

from x

where not exists (select * from z where z.a=x.a)

union all

select y.*

from y

where not exists (select * from z where z.c=y.c)


B

select 6 a, 3 b

union

select y.*

from y

where not exists (select * from z where z.c=y.c)


C

select x.*

from x

where not exists (select * from z where z.a=x.a)


D

select x.*

from x

where not exists (select * from z where z.a=x.a)

union select 6,3


E

select x.*

from x

where not exists (select * from z where z.a=x.a)

union all

select 6,3