You are on page 1of 1

select count(*) from employees; select * from employees; minus select count(*) from employees, departments,locations where employees.

Department _id=departments.department_id and departments.location_id=locations.location_id; desc employees; desc departments; desc locations; select last_name, phone_number, department_name from employees,departments where employees.Department_id=departments.department_id; select last_name,department_name, city from employees, departments,locations whe re employees.Department_id=departments.department_id and departments.location_id=locations.location_id; select * from departments; select last_name,department_name, state_province from employees, departments,loc ations where employees.Department_id=departments.department_id and departments.location_id=locations.location_id and employees.department_id='30';

You might also like