Cadernos de Questões

Provas Favoritas

Filtros Salvos

Foram encontradas 60 questões.
#2345772

Observe o script SQL abaixo em conformidade com PostgreSQL 9.5 ou superior:


create table t1 (valor int not null);

insert into t1 values (1); insert into t1 values (2); insert into t1 values (3);

create table t2 (valor int not null);

insert into t2 values (2); insert into t2 values (3); insert into t2 values (6);


Assinale a alternativa que apresenta a operação de junção correspondente ao resultado apresentado.

  • SELECT t1.valor FROM t1 LEFT JOIN t2 ON t1.valor=t2.valor 1, 2, 3
  • SELECT t2.valor FROM t1 LEFT JOIN t2 ON t1.valor=t2.valor 1, 2, 3
  • SELECT t1.valor FROM t1 INNER JOIN t2 ON t1.valor=t2.valor 1, 2, 3, 6
  • SELECT t1.valor FROM t1 FULL OUTER JOIN t2 ON t1.valor=t2.valor 2, 3
  • SELECT t1.valor FROM t1 RIGHT JOIN t2 ON t1.valor=t2.valor 1, 2, 3
Fale com IAgo
IAgo - Assistente IAProva
IA
Olá! Sou o IAgo, seu assistente aqui no IAProvatec 😊
Veja como posso te ajudar:
Agora