Questão #12863802012

Banco de Dados (TI) — Data mining

Observe os cinco comandos SQL mostrados a seguir.

1. select distinct y.* from x,y

where x.b=y.a 2.

select y.* from y

where y.a in (select b from x) 3.

select y.* from y

where exists (select * from x where y.a=x.b) 4.

select distinct y.* from y, (select b from x) z

where y.a=z.b 5.

select y.* from x,y

where x.b=y.a

Sabendo-se que não há dois registros iguais na tabela Y, o

número do comando que produz um resultado diferente de

todos os demais é: