Preview

Employment and Salary

Good Essays
Open Document
Open Document
839 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Employment and Salary
CIS183: Oracle SQL Programming
Lab #2, Due 2/15/2011
All exercises will be completed using your class login (c183_#) on the class server.
Using the HR schema (which has been created in your class login), complete the following questions:
After Lesson 2: 1. The HR department needs a report that displays the last name and salary of employees who earn more than $12,000. 2. Write a query that displays the last name and department number for employee number 176. 3. Write a query to display the last name and salary for any employee whose salary is not in the range of $5,000 to $12,000. 4. Create a report to display the last name, job ID, and hire date for employees with the last names of Matos and Taylor. Order the query in ascending order by the hire date. Label your columns with descriptive column aliases. 5. Display the last name and department ID of all employees in departments 20 or 50 in ascending alphabetical order by name. 6. The HR department needs reports that displays the last name and hire date for all employees who were hired in 1994. 7. Create a report to display the last name and job title of all employees who do not have a manager. 8. Create a report to display the last name, salary, and commission of all employees who earn commissions. Sort data in descending order of salary and commissions.
Use the column’s numeric position in the ORDER BY clause. 9. Members of the HR department want to have more flexibility with the queries that you are writing. They would like a report that displays the last name and salary of employees who earn more than an amount that the user specifies after a prompt. 10. The HR department wants to run reports based on a manager. Create a query that prompts the user for a manager ID and generates the employee ID, last name, salary, and department for that manager’s employees. The HR department wants the ability to sort the report on a selected column. 11. Display all employee’s names in which the

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Labor union’s potentially are interested in this information because he or she is most interested in the company’s financial statements, precisely net income, and stockholder’s equity to evaluate the security the employee wages and increase in wages.…

    • 312 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Mis562 Week 2

    • 2131 Words
    • 9 Pages

    2. SQL> --2. List employees name, job, and salary that is a manager and has a salary > $1,000…

    • 2131 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Week2 Discussion2 DBMS

    • 480 Words
    • 3 Pages

    Given the business rule “an employee may have many degrees,” discuss its effect on attributes, entities, and relationships. (Hint: Remember what a multivalued attribute is and how it might be implemented.)…

    • 480 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    SQL Queries

    • 423 Words
    • 2 Pages

    Query 3: Find the names and ID's of all faculty members, sorted in reverse alphabetical order by name. The result should be a two column table (SELECT should only be two in order for the table to be 2 columns)…

    • 423 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    4. Given the guidelines presented in this chapter, identify flaws in the design of the Report of Employees shown below. What assumptions about users and tasks did you make in order to assess this design? Redesign this report to correct these flaws. The •…

    • 412 Words
    • 12 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Math Part One

    • 365 Words
    • 2 Pages

    You will find the necessary employee data in the Excel spreadsheet titled Company Data. Download and open the spreadsheet, which lists data for all full-time employees. Employees 001 through 014 are all the employees in the sales department and employees 045 through 062 are all the employees in the advertising department.…

    • 365 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CIPD 3RAI

    • 610 Words
    • 2 Pages

    The following data is collected from an employee either prior to their commencement of employment or the day that they start with us:…

    • 610 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Data Protection Act 1998

    • 843 Words
    • 4 Pages

    Data collection of employees benefits HR department to comply with legal requirements. For example visas, legal employee contracts and Insurances.…

    • 843 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    By the database, we know that 11 people from the department 1; 100 people from the department 2; 177 people from the department 3; So,…

    • 1009 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Walmart

    • 2506 Words
    • 11 Pages

    Based on your review and analysis of the annual report, prepare a ten to twelve (10-12) page report in which you:…

    • 2506 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    Assignment 1 CS 275

    • 597 Words
    • 3 Pages

    22b) Customer, Payment, Order, Invoice, Order Line, Product (all entities) will be needed for the SQL query.Assignment #1, 11th Edition…

    • 597 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Financial Statement Analysis

    • 4324 Words
    • 18 Pages

    Who reads financial statements? List at least three different categories of user. For each category, provide an example of the type of information they might be interested in and discuss why.…

    • 4324 Words
    • 18 Pages
    Good Essays
  • Good Essays

    Business Ethics

    • 1050 Words
    • 4 Pages

    Before reporting, to gather sufficient evidence to support further investigation is needed. By observing the related-employees and finding related-documents as much as possible to serve as facts helping support the report.…

    • 1050 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    To create a system that can record all the data for Ah Chai Mini Cinema.…

    • 377 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Sudhakar

    • 1718 Words
    • 7 Pages

    1. Consider the following table named "GYM" with details about Fitness products being sold in the store.…

    • 1718 Words
    • 7 Pages
    Satisfactory Essays