I can't run this query so I offer no guarantees - plus I am not sure what you are after - it looks like you want the warehouse associated with an employee of a particular department....at any rate - no harm in trying:
SELECT w.warehouse
FROM
warehouse w, department d, employee e
WHERE
w.whid = d.warehouse AND
d.deptID = e.department AND
e.department = 1
hope that helps - cheers
"Knowledge is gained when different people look at the same information in different ways"