Select first_name , last_name, e.job_id
From Employees e, Jobs j
Where e.job_id = j.job_id
and job_title = 'Finance Manager'
--(Tiene que estar igual el campo a buscar que en la tabla)--
-- Si no se realiza el lower o upper ---
Select first_name , last_name, e.job_id
From Employees e, Jobs j
Where e.job_id = j.job_id
and lower (job_title) = 'finance manager'
-- Listar todos los empleados que tienen los cargos finance manager , programmer --
Select first_name , last_name, e.job_id
From Employees e, Jobs j
Where e.job_id = j.job_id
and job_title = 'Finance Manager'
or job_title = 'Programmer'
No hay comentarios.:
Publicar un comentario