option
Cuestiones
ayuda
daypo
buscar.php

cuestiones

COMENTARIOS ESTADÍSTICAS RÉCORDS
REALIZAR TEST
Título del Test:
cuestiones

Descripción:
cuestiones prácticas

Fecha de Creación: 2026/06/01

Categoría: Otros

Número Preguntas: 29

Valoración:(0)
COMPARTE EL TEST
Nuevo ComentarioNuevo Comentario
Comentarios
NO HAY REGISTROS
Temario:

¿Cuáles son las ciudades en las que vive más de un suministrador?. a. select distinct ciudad from s, s x where s.ciudad = x.ciudad and s.sn<x.sn;. b. select distinct s.ciudad from s, s x where s.ciudad = x.ciudad and s.sn<>x.sn;. c. select distinct ciudad from s x where ciudad in(select ciudad from s where sn<>x.sn);. d. select distinct s.ciudad from s, s x where s.ciudad=x.ciudad and s.sn<x.sn;.

Obtener los códigos de las partes fabricadas en una ciudad en la que vive al menos un suministrador y en la cual se monta al menos un proyecto. a. select distinct pn from spj, p where spj.pn =p.pn and exists(select * from s where ciudad=p.ciudad) and exists(select * from j where ciudad=p.ciudad);. b. select pn from p where exists(select * from s here ciudad=p.ciudad) and exists(select * from j where ciudad=p.ciudad). c. select distinc pn from s, p, j, spj where s.sn=spj.sn and p.pn=spj.pn and j.jn=spj.jn and s.ciudad=p.ciudad and p.ciudad=j.ciudad. d. select distinc pn from p, s, j where p.ciudad=s.ciudad and p.ciudad=j.ciudad.

Obtener los códigos de las partes no usadas en el proyecto 'j1'. a. select pn from p minus select pn from spj where jn = 'j1';. b. select pn from p where pn not in(select pn from spj where jn='j1');. c. select pn from p where not exists(select * from spj where pn = p.pn and jn='j1');. d. select pn from p where not exists(select * from spj where pn <> p.pn and jn='j1');.

Obtener los códigos de los proyectos que no usan la parte 'p1'. a. select jn from j where jn not in(select jn from spj where pn='p1');. b. select jn from j minus select jn from spj where pn='p1';. c. select jn from j where not exists(select * from spj where jn=j.jn and pn='p1');. d. select jn from j where not exists(select * from spj here jn<>j.jn and pn='p1');.

Obtener los códigos de los proyectos que solo usan partes no vendidas por el suministrador 's1'. a. select distinct jn from spj where jn not in(select jn from spj where pn not in(select pn from spj where sn='s1'));. b. select distinct jn from j where jn not in(select jn from spj where pn in(select pn from spj where sn='s1'));. c. select distinct jn from spj x where not exists(select * from spj where jn=x.jn and pn in(select pn from spj where sn='s1'));. d. select distinct jn from spj where jn not in(select jn from spj where pn in(select pn from spj where sn='s1'));.

Obtener los códigos de los proyectos que usan todas las partes que no han sido vendidas por el suministrador 's1'. a. select jn from j where not exists(select pn from p where not exists(select * from spj where pn=p.pn and sn='s1')and not exists(select * from spj where jn=j.jn and pn=p.pn));. b. select jn from j where not exists(select pn from spj x where pn not in(select pn from spjwhere sn='s1') and not exists(select * from spj where jn=j.jn and pn=x.pn));. c. select jn from j where not exists(select pn from p where pn not in(select pn from spj where sn='s1') and not exists(select * from spj where jn=j.jn and pn=p.pn));.

Obtener los códigos de los suministradores que solo venden partes no usadas por el proyecto 'j1'. a. select sn from s where sn not in(select sn from spj where on in(select pn from spj where jn='j1'));. b. select distinct sn from spj where sn not in(select sn from spj where pn in(select pn from spj where jn='j1'));. c. select distinct sn from spj x where not exists(select * from spj where sn=x.sn and pn in(select pn from spj where jn='j1'));. d. select distinct sn from spj where sn not in(select sn from spj where pn not in(select pn from spj where jn='j1'));.

Obtener los códigos de los suministradores que venden cada parte roja a cada proyecto de Telde. a. select sn from s a where not exists(select pn from p b where color='rojo' and not exists(select sn, pn from s x, p y where not exists(select jn from j where ciudad='Telde' and not exists(select * from spj where sn=x.sn and pn=y.pn and jn=j.jn)) and sn=a.sn and pn=b.pn));. b. select sn from s where not exists(select pn, jn from p,j where color='rojo' and j.ciudad='Telde' and not exists(select * from spj where sn=s.sn and pn=p.pn and jn=j.jn));. c. select sn from s where not exists(select on from p x where not exists(select jn from j where ciudad='Telde' and not exists(select * from spj, p where spj.pn=p.pn and color='rojo' and p.pn=x.pn and jn=j.jn)) and not exists(select * from spj where pn=x.pn and sn=s.sn));.

Obtener los nombres de proveedores que vendan al menos una parte roja que haya sido usada por algún proyecto de Telde. a. select distinct snombre from s where sn in(select sn from spj x where exists(select * from spj y where pn=x.pn and 'Telde' = (select ciudad from j where jn=y.jn) and 'rojo' in(select color from p where pn=y.pn)));. b. select distinct snombre from s where sn in(select sn from spj where pn in(select pn from spj where jn in(select jn from j where ciudad='Telde') and pn in(select pn from p where color='color')));. c. select distinct snombre from s where sn in(select sn from spj x where exists(select * from spj where pn=x.pn and 'Telde'=(select ciudad from j where jn=x.jn) abd 'rojo in(select color from p where pn=x.pn)));.

Obtener los códigos de las partes fabricadas en una ciudad en la que vive al menos un suministrador y en la cual se monta al menos un proyecto. Selecciona una o más de una. a. Select distinct pn from spj p where spj pn=p.pn and exists (select* where ciudad = p.ciudad) and exists (select* from j where ciudad=p.ciudad);. b. select pn from p where exists (select* from s where ciudad=p.ciudad) and exists (select* from j where ciudad=p.ciudad);. c. select distinct pn from s, p, j, spj where s.sn=spj.sn and p.pn = spj.pn and j.jn=spj.jn and s.ciudad=p.ciudad and p.ciudad=j.ciudad;. d. select distinct pn from s, p, j where p.ciudad=s.ciudad and p.ciudad=j.ciudad;.

Obtener los códigos de los proyectos que no usan la parte 'P1'. a. select jn from j where jn not in (select jn rom spj where pn='p1');. b. select jn from j minus select jn from spj where pn='p1');. c. select jn from j where not exists (select* where jn=j.jn and pn='p1');. d. select jn from j where not exists (select* from spj where jn<>j.jn and pn='p1');.

Obtener los códigos de los suministradores que venden cada parte roja a cada proyecto de Telde. Seleccione una o más de una: a. select sn from s.a where not exists (select pn from s.x, p.y where not exists (select jn from j where ciudad='Telde' and not exists (select* from spj where sn=x.sn and pn=y.pnand jn=j.jn));. b. select sn from s where not exists (select pn, jn from p, j where color='rojo' and j ciudad='Telde' and not exists (select* from spj where sn=s.sn and pn=p.pn and jn=j.jn));. c. select sn from s where not exists (select pn from p.x where not exists(select jn from j where ciudad='Telde' and not exists (select* from spj, p where spj.p.pn and color='rojo' and p.pn=x.pn and jn=j.jn)) and not exists (select* from spj where pn=x.pn and sn=s.sn));.

Obtener los códigos de los suministradores que sólo venden partes no usadas por el proyecto 'j1' Seleccione una o más de una: a. select sn from s where sn not in (select sn from spj where pn in (select pn from spj where jn='j1'));. b. select distinct sn from spj where sn not in (select sn from spj where pn in (select pn from spj where jn='j1'));. c. select distinct sn from spj.x where not exists (select* from spj where sn=x.sn and pn in (select pn from spj where jn='j1'));. d. select distintc sn from spj where sn not in (select sn from spj where pn not in (select pn from spj where jn='j1'));.

Obtener los códigos de las partes fabricadas en una ciudad en la que vive el al menos un suministrador y en la cual se monta al menos un proyecto. a. select distinct pn from p,s,j where p.ciudad=s.ciudad and p.ciudad=j.ciudad;. b. selet pn from p where exists (select* from s where ciudad=p.ciudad) and exists (select* from j where ciudad=p.ciudad);. c. select distintic pn from spj, p where spj.pn=p.pn and exists (select* from s where ciudad=p.ciudad) and exists(select* from j where ciudad=p.ciudad);. d. select distinct pn from s,p,j,spj where s.sn=spj.pn and j.jn=spj.jn and s.ciudad=p.ciudad and p.ciudad=j.ciudad;.

Obtener los códigos de las partes fabricadas en Telde que los proveedores de Telde no venden. Seleccione una o más de una: a. (p JOIN (s WHERE ciudad='Telde'))[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn]. b. (p WHERE ciudad='Telde')[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn]. c. (p[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn]) INTERSECT (p WHERE ciudad='Telde')[pn]. d. p[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn].

Obtener los códigos de los proyectos que no usan partes vendidas solamente por el suministrador 'S2'. Seleccione una. a. j[jn] MINUS (spj[pn] MINUS (spj WHERE sn<>'S2')[pn])[jn]. b. j[jn] MINUS (spj JOIN (spj WHERE sn<>'S2')[pn])[jn]. c. j[jn] MINUS (spj JOIN (spj[pn] MINUS (spj WHERE sn<>'S2')[pn]))[jn].

Obtener los códigos de los suministradores que sólo venden partes usadas en el proyecto 'J1'. Seleccione una. a. spj[sn] MINUS (spj JOIN (p[pn] MINUS (WHERE jn='J1')))[sn]. b. spj[sn] MINUS (spj JOIN (p[pn] MINUS (WHERE jn='J1')[pn]))[sn]. c. s[sn] MINUS (spj JOIN (p[pn] MINUS (WHERE jn='J1')[pn]))[sn].

Obtener los códigos de los proyectos de Telde que usan todas las partes no vendidas por el suministrador 'S2'. Seleccione una. a. ((spj[jn,pn] DIV (spj[pn] MINUS (spj WHERE sn='S2')[pn])) JOIN j) WHERE ciudad='Telde')[jn]. b. ((spj[jn,pn] DIV (p[pn] MINUS (spj WHERE sn='S2')[pn])) UNION (j WHERE ciudad='Telde')[jn]. c. ((j WHERE ciudad='Telde') JOIN spj)[jn,pn] DIV (p[pn] MINUS (spj WHERE sn='S2')[pn]).

Códigos de las partes no vendidas por los suministradores de 'Telde'. Seleccione una o más de una. a. p[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn]. b. (p JOIN (s WHERE ciudad='Telde'))[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn]. c. (p WHERE ciudad='Telde')[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn]. d. (p[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn] INTERSECT (p WHERE ciudad='Telde')[pn].

Obtener las ciudades cuyos suministradores venden, entre otros, todas las partes. Seleccione una. a. ((s JOIN spj)[sn,ciudad,pn] DIV p[pn]9[ciudad]. b. ((spj[sn,pn] DIV p[pn]) JOIN s)[ciudad]. c. (s JOIN spj)[ciudad,pn] DIV p[pn].

Obtener los códigos de partes no usadas en proyectos a los que sólo les vende el suministrador 'S2'. Seleccione una. a. p[pn] MINUS (spj[jn] MINUS (spj WHERE sn<>'S2')[jn])[pn]. b. p[pn] MINUS (spj JOIN (spoj[jn] MINUS (spj WHERE sn<>'S2')[jn])[pn]. c. p[pn] MINUS (spj JOIN (spj WHERE sn='S2')[jn])[pn].

Obtener los códigos de los suministradores que sólo venden partes no usadas en el proyecto 'J1'. Seleccione una. a. spj[sn] MINUS (spj JOIN (spj WHERE jn='J1')[pn])[sn]. b. s[sn] MINUS (spj JOIN (spj WHERE jn='J1')[pn])[sn]. c. spj[sn] MINUS (spj JOIN (spj WHERE jn<>'J1')[pn])[sn].

Obtener los códigos de las partes fabricadas en Telde que los proveedores de Telde no venden. Seleccione una o más de una. a. (p JOIN (s WHERE ciudad='Telde')[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn]. b. (p WHERE ciudad='Telde')[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn]. c. (p[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn]) INTERSECT (p WHERE ciudad='Telde')[pn]. d. p[pn] MINUS (spj JOIN (s WHERE ciudad='Telde')[sn])[pn].

Obtener los códigos de los proyectos que no usan partes vendidas solamente por él suministrador 'S2'. Selecciona una. a. j[jn] MINUS (spj[pn] MINUS (spj WHERE sn<>'S2')[pn])[jn]. b. j[jn] MINUS (spj JOIN (spj WHERE sn<>'S2')[pn])[jn]. c. j[jn] MINUS (spj JOIN (spj[pn] MINUS (spj WHERE sn<>'S2')[pn])[jn].

Obtener los códigos de los suministradores que sólo venden partes usadas en el proyecto 'J1'. Seleccione una. a. spj[sn] MINUS (spj JOIN (p[pn] MINUS (spj WHERE jn='J1')))[sn]. b. spj[sn] MINUS (spj JOIN (p[pn] MINUS (spj WHERE jn='J1')[pn]))[sn]. c. s[sn] MINUS (spj JOIN (p[pn] MINUS (spj WHERE jn='J1')[pn]))[sn].

Obtener los códigos de los proyectos de Telde que usan todas las partes no vendidas por el suministrador 'S2'. Seleccione una. a. ((sp[jn,pn] DIV (spj[pn] MINUS (spj WHERE sn='S2')[pn])) JOIN j) WHERE ciudad='Telde')[jn]. b. ((sp[jn,pn] DIV (p[pn] MINUS (spj WHERE sn='S2')[pn])) UNION j) WHERE ciudad='Telde')[jn]. c. ((j WHERE ciudad='Telde') JOIN spj)[jn,pn] DIV (p[pn] MINUS (spj WHERE sn='S2')[pn]).

Obtener los códigos de los proyectos de Telde que usan todas las partes no vendidas por el suministrador 'S2'. a. ((spj[jn,pn] DIV (spj[pn] MINUS (spj WHERE sn='S2')[pn] JOIN j) WHERE ciudad='Telde')[jn]. b. ((j WHERE ciudad='Telde') JOIN spj)[jn,pn] DIV (p[pn] MINUS (spj WHERE sn='S2')[pn]. c. ((spj[jn,pn] DIV (p[pn] MINUS (spj WHERE sn='S2')[pn])) UNION (j WHERE ciudad='Telde')[jn].

Obtener los códigos de los proyectos que usan partes vendidas solamente por el suministrador 'S2'. Seleccione una. a. (spj JOIN (spj[pn] MINUS (spj WHERE sn<>'S2')[pn]))[jn]. b. (spj JOIN (spj[pn] MINUS (spj WHERE sn='S2')[pn]))[jn]. c. (spj JOIN (spj WHERE sn='S2')[pn])[jn].

Obtener los códigos de los suministradores que no venden a proyectos que solo usan partes rojas. Seleccione una o más de una. a. s[jn] MINUS (spj JOIN (spj[jn] MINUS (spj JOIN (p WHERE colos<>'Rojo'))[jn]))[sn]. b. s[jn] MINUS (spj JOIN (spj[jn] MINUS (spj JOIN (p WHERE colos<>'Rojo'))[jn])[jn])[sn]. c. s[jn] MINUS (spj JOIN (j[jn] MINUS (spj JOIN (p WHERE colos<>'Rojo'))[jn])[jn])[sn]. d. spj[jn] MINUS (spj JOIN (spj[jn] MINUS (spj JOIN (p WHERE colos<>'Rojo'))[jn])[jn])[sn].

Denunciar Test