Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/01/2015, 03:28
general9000
 
Fecha de Ingreso: octubre-2006
Mensajes: 59
Antigüedad: 17 años, 6 meses
Puntos: 0
Which of the following statements are equivalent

En esta pregunta del examen de certificacion oracle
nos piden encontrar 2 sentencias equivalentes



Which of the following statements are equivalent? (Choose two answers.)

a) select employee_id from employees e join departments d on e.department_id= d.department_id
where e.salary < (select min(salary) from employees) and d.department_id=10;

b) select employee_id from employees
where salary < (select min(salary) from employees where department_id=10);

c) select employee_id from employees
where salary < all (select salary from employees where department_id=10);

d) select employee_id from employees
where salary not >= any (select salary from employees where department_id=10);


Lo que inicialmente llega a pensar en probar las combinaciones
A con B
A con C
A con D

luego

B con C
B con D

luego

C con D


Que estrategia usarían ustedes.???

GRacias!!