You should be using IN
not =
:
select emp_fname, emp_lname
from EMPLOYEE
where job_code IN
(select job_code
from employee
where emp_fname = 'larry'
and emp_lname = 'smith');
The reason being that you are comparing a value to the set returned by the subquery.