2013-07-27 17:36:04 UTC
1.Write a hierarchical query to display the organization chart of the employees table.
Ensure the query starts with the employee who has no manager. Make the query
return the employee first and last names along with the last name of his/her manager
2 Write a query that displays the department_id, job_id and the total salary for each
job_id within a department. Make the query return subtotals of salary per
department_id and a grand total of all salaries across the company. Use the
EMPLOYEES table for this query.
3. Write a query that will combine the following columns: employee first and
last_name, department_id, job_id, salary from the employees table, the employee_id,
start_date, end_date and job_id from job_history and the department_name and
location_id from the departments table. The queries should return one single output.