Observe as tabelas FUNCIONARIOS, PROJETOS e PARTICIPACOES de...

Próximas questões
Com base no mesmo assunto
Q918826 Banco de Dados

Observe as tabelas FUNCIONARIOS, PROJETOS e PARTICIPACOES definidas abaixo, usando SQL, que representam funcionários e a participação destes em projetos.


Create table PROJETOS

(codp char(2) not null primary key,

cliente varchar(100) not null,

orcamento numeric(15,2) not null,

pais char(2) not null);


create table FUNCIONARIOS

(matr char(2) not null primary key,

nomef varchar(100) not null,

salario numeric(8,2) not null,

pais char(2) not null);


create table PARTICIPACOES

(codp char(2) not null,

matr char(2) not null,

horas integer not null,

primary key (codp, matr),

foreign key (codp) references PROJETOS,

foreign key (matr) references FUNCIONARIOS);


Considere a consulta SQL abaixo.


Imagem associada para resolução da questão


O que essa consulta SQL recupera?

Alternativas