SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select first_name, last_name, department_name, country_name from hr.employees e join hr.departments d on (e.department_id = d.department_id) join hr.locations l on (d.location_id = l.location_id) join hr.countries c on (l.country_id = c.country_id) where d.department_name ='Shipping' or d.department_name = 'Finance' and l.country_id = 'US' order by e.last_name

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear