gsemmobile

HR 1

May 4th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.27 KB | None | 0 0
  1. SELECT em.first_name, em.salary
  2. FROM employees em
  3. JOIN departments d ON em.department_id = d.department_id
  4. JOIN locations l ON d.location_id = l.location_id
  5. JOIN countries con ON l.country_id = con.country_id
  6. WHERE em.job_id LIKE 'IT_%' AND con.country_id LIKE 'US';
Add Comment
Please, Sign In to add comment