DP 6 4 Practice
DP 6 4 Practice
Vocabulary
Identify the vocabulary word for each definition below.
Try It / Solve It
1. Display the employee’s last name and employee number along with the manager’s last name and
manager number. Label the columns: Employee, Emp#, Manager, and Mgr#, respectively.
2. Modify question 1 to display all employees and their managers, even if the employee does not
have a manager. Order the list alphabetically by the last name of the employee.
3. Display the names and hire dates for all employees who were hired before their managers, along
with their managers’ names and hire dates. Label the columns Employee, Emp Hired, Manager
and Mgr Hired, respectively.
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
4. Write a report that shows the hierarchy for Lex De Haans department. Include last name, salary,
and department id in the report.
6. Create a report that shows the organization chart for the entire employee table. Write the report
so that each level will indent each employee 2 spaces. Since Oracle Application Express cannot
display the spaces in front of the column, use - (minus) instead.
7. Re-write the report from 6 to exclude De Haan and all the people working for him.
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.