Question: Consider the following relational schema . titles e CHARACTER VARYINGEO) birth date DATE first name CHARACTER VARYING(14) last same CHARACTER VARYING() gender CHARACTER hire date
Consider the following relational schema . titles e CHARACTER VARYINGEO) birth date DATE first name CHARACTER VARYING(14) last same CHARACTER VARYING() gender CHARACTER hire date DATE from date DATE d DATE salaries salary MMERICE from, date DATE DATE dept-no CHARACTER(4) emp ne NUMERICID) from date DATE DATE dept no CHARACTER4) dept emp emp.ne NUMERICED) from date DATE to date DATE points) Retrieve the ids (i.e., emp_no) of employees who had worked in the Research (10 department and had the 'Manager title 1) 2) (10 points) Retrieve the ids (i.e., emp_no) of employees whose name are 'Laurentiu Cesareni' and who had worked in neither the Development' department nor the 'Research' department. 3) (10 points) Retrieve the first names of employees who had managed the 'Sales' department. 4) (10 points) Count the number of employees who had worked in more than one department. 5) (10 points) Retrieve the first names of employees who have the highest salaries among people who had worked in the 'Sales' department
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
