Open main menu

CDOT Wiki β

Changes

J.Y.S

366 bytes added, 23:30, 19 October 2010
5.
''James''
<pre>
select last_name, salary, job_id
from employees
where salary > (select max(salary)
from employees join departments
using (department_id)
join locations
using (location_id)
where upper(city) in ('TORONTO','OXFORD'))
and upper(job_id) not like '%PRES';
</pre>
1
edit