0% found this document useful (0 votes)
164 views

IT 450 Oracle SQL Assignment 2

The document contains instructions for an Oracle SQL assignment involving querying an employee database to return specific fields and records based on various criteria. It asks the student to write queries to: list employee names, departments, and department numbers; count the number of departments; filter employees by department or education; filter by last name; find managers; find departments without managers; create a view with employee details; and create and list a view of management records excluding the president.

Uploaded by

Kevin Doss
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
164 views

IT 450 Oracle SQL Assignment 2

The document contains instructions for an Oracle SQL assignment involving querying an employee database to return specific fields and records based on various criteria. It asks the student to write queries to: list employee names, departments, and department numbers; count the number of departments; filter employees by department or education; filter by last name; find managers; find departments without managers; create a view with employee details; and create and list a view of management records excluding the president.

Uploaded by

Kevin Doss
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Oracle SQL Assignment 2 (Due May 6) 1. List employee names, their department names as well as department numbers. 2.

How many different departments are there in which the employees are working? 3. List names and phone numbers of all employees who are either from Department A00 or have 16 years of formal education. 4. List the name and sex of every employee whose last name begins with "Jo". 5. List names of employees who are managers (use EXISTS). 6. List department(s) which has/have no manager(s) yet. 7. Create a view called PAYROLL for all employees, including first name, last name, department and salary. 8. List all records in the PAYROLL. 9. Create a view called MGMTEAM (Management Team) under President Haas, including employee number, last name, job, salary, department name and project name (Haas's record should be excluded). 10. List all records in the MGMTEAM.

You might also like