The code for subquery1.sql is: SELECT lastName, firstName ,officeCode FROM employees WHERE officeCode not IN ( SELECT officeCode FROM offices WHERE country = 'USA' );