Imagem de fundo

XYabcd134523571357924681select *from x left join y on x.a=y.corder by x.aConsiderando-s...


X


Y

a

b


c

d

1

3

4

5


2

3

5

7



1

3

5

7

9

2

4

6

8

1


select *

from x left join y on x.a=y.c

order by x.a


Considerando-se as tabelas e o comando SQL mostrados acima, é correto concluir que esse comando produz:

A

1, 2, 1, 2

3, 3, 3, 4

5, 7, 5, 6

B

1, 2, 1, 2

3, 4, 3, 3

NULL, NULL, 4, 5

5, 6, 5, 7

C

1, 2, 1, 2

3, 3, 3, 4

NULL, NULL, NULL, NULL

5, 7, 5, 6

D

1, 2, 1, 2

3, 3, 3, 4

4, 5, NULL, NULL

5, 7, 5, 6

E

1, 2

3, 3

4, 5

5, 7