Preview

Exercises

Good Essays
Open Document
Open Document
604 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Exercises
PRACTICE SET 1 1. Your first task is to determine the structure of the DEPARTMENTS and EMPLOYEES tables and its contents. 2. The HR department wants a query to display the last name, job code, hire date, and employee number for each employee, with employee number appearing first. Provide an alias STARTDATE for the HIRE_DATE column. 3. The HR department needs a query to display all unique job codes from the EMPLOYEES table. 4. The HR department wants more descriptive column headings for its report on employees. Name the column headings Emp #, Employee, Job, and Hire Date, respectively. 5. The HR department has requested a report of all employees and their job IDs. Display the last name concatenated with the job ID (separated by a comma and space) and name the column Employee and Title. 6. To familiarize yourself with the data in the EMPLOYEES table, create a query to display all the data from that table. Separate each column output by a comma. Name the column title THE_OUTPUT.

PRACTICE SET 2
The HR department needs your assistance with creating some queries. 1. Due to budget issues, the HR department needs a report that displays the last name and salary of employees who earn more than $12,000. (6 rows) 2. Create a report that displays the last name and department number for employee number 176. (1) 3. The HR departments needs to find high-salary and low-salary employees. Display the last name and salary for any employee whose salary is not in the range of $5,000 to $12,000. (55) 4. Create a report to display the last name, job ID, and start date for the employees with the last names of Matos and Taylor. Order the query in ascending order by start date. 5. Display the last name and department number of all employees in departments 20 and 50 in ascending alphabetical order by name. 6. Display the last name and salary of employees who earn between $5,000 and $12,000 and are in department 20 or 50. Label the columns

You May Also Find These Documents Helpful

  • Good Essays

    The organization currently employs 130 employees in a departmentalized system. Each department is supervised by a department director who is responsible for the communication and documentation to support internal and external transactions that occur in his or her department. For example, the housekeeping director orders all of the cleaning supplies for the facility and sends the purchase orders he completes for the supplies to the accounting office upon delivery of the goods.…

    • 1014 Words
    • 4 Pages
    Good Essays
  • Better Essays

    Use the Internet to research and evaluate two (2) commercial HR database systems for your organization. Evaluate the advantages and disadvantages of each system and, based on your knowledge of human resources and database systems, propose one (1) package that would fit the needs of your organization. Suggest three (3) specific reasons why you would recommend that system over the other.…

    • 1062 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    Bi: describe the terms and conditions of your employment as set out in your contract of employment agreement ?…

    • 2110 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    Capterra Hr

    • 1395 Words
    • 6 Pages

    Use the Internet to research and evaluate two (2) commercial HR database systems for your organization. Evaluate the advantages and disadvantages of each system and, based on your knowledge of human resources and database systems, propose one (1) package that would fit the needs of your organization. Suggest three (3) specific reasons why you would recommend that system over the other.…

    • 1395 Words
    • 6 Pages
    Good Essays
  • Powerful Essays

    Jesse Owens

    • 17385 Words
    • 68 Pages

    The information in this book was the best available at press time. Watch for additional information and changes.…

    • 17385 Words
    • 68 Pages
    Powerful Essays
  • Satisfactory Essays

    Statistics

    • 428 Words
    • 2 Pages

    Provide comprehensive employee records like, personal details, working hours, role, job and department data, emergency contacts, employment contract records information, company property record.…

    • 428 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Traveler Import Cars Inc.

    • 447 Words
    • 2 Pages

    Number of individuals had to report to two or more supervisors. No employee knew who exatly was his direct supervisor and to whom should he report.…

    • 447 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Business Studies

    • 345 Words
    • 2 Pages

    For P1 describe the types of information used in the organisation, choosing one from each of the following categories: verbal, written, on-screen, multi-media, web-based. You should also describe the source and purpose of the information. A table is provided to get you started but you might like to produce your work as a presentation or a report in order to tackle the M1 task below simultaneously.…

    • 345 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    g. Find the names of all employees who earn more than every employee of Small Bank Corporation.…

    • 1070 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    The following documentation will help all Human Resource (HR) professionals in their search to hire and put together the perfect Data Entry team for their company. In any business, one of the most important things to consider is the staff that is hired. There is always the trickle-down effect and each person on that “umbrella” is just as important in the day to day operation as the person above or below them.…

    • 2600 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    Hjgbjhhljk

    • 2358 Words
    • 10 Pages

    Display the department number and number of clerks in each department. SELECT deptno, count(job) FROM emp WHERE job = ’CLERK’ GROUP BY deptno; Display the department number and total salary of employees in each department that employs four or more people. SELECT deptno, sum(sal) FROM emp GROUP BY deptno HAVING count(empno) >= 4; Display the employee number of each employee who manages other employees with the number of people he or she manages. SELECT mgr, count(mgr) FROM emp WHERE mgr IS NOT NULL GROUP BY mgr;…

    • 2358 Words
    • 10 Pages
    Good Essays
  • Powerful Essays

    SQL: Queries

    • 6089 Words
    • 25 Pages

    SQL-QUERIES 1. Display all the information of the EMP table? A) select * from emp; 2. Display unique Jobs from EMP table? A) select distinct job from emp; B) select unique job from emp; 3. List the emps in the asc order of their Salaries? A) select * from emp order by sal asc; 4. List the details of the emps in asc order of the Dptnos and desc of Jobs? A)select * from emp order by deptno asc,job desc; 5. Display all the unique job groups in the descending order? A)select distinct job from emp order by job desc; 6. Display all the details of all ‘Mgrs’ A)Select * from emp where empno in ( select mgr from emp) ; 7. List the emps who joined before 1981. A) select * from emp where hiredate < (’01-jan-81’); 8. List the Empno, Ename, Sal, Daily sal of all emps in the asc order of Annsal. A) select empno ,ename ,sal,sal/30,12*sal annsal from emp order by annsal asc; 9. Display the Empno, Ename, job, Hiredate, Exp of all Mgrs A) select empno,ename ,job,hiredate, months_between(sysdate,hiredate) exp…

    • 6089 Words
    • 25 Pages
    Powerful Essays
  • Satisfactory Essays

    Minimum 50 pages. Company/background information must not exceed 20% of the report. Font: 12, 1.5 spacing, Page margin 1’ top, bottom and Right. Left margin 1.3”. Use referencing where required. All headings and sub-headings must logically be leveled. This part also be provided with header and footer in all the pages. Header contains title of the Report and footer contains at least page numbers.…

    • 499 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Civil Law

    • 3076 Words
    • 13 Pages

    Lester John A. Lomeda Wilfredo T. Bonilla, Jr. Raissa S. Saipudin Bernadette Faustine C. Balao Marc Mikhaele J. Santos Victor Lorenzo L. Villanuea President Vice‐President Secretary Treasurer Auditor Public Relations Officer…

    • 3076 Words
    • 13 Pages
    Satisfactory Essays
  • Good Essays

    economics

    • 1917 Words
    • 8 Pages

    The organization will operate in 5 departments discussed behind. Each department will be managed by directors (e.g. director operations) who will be responsible for the employees under him/ her and tasks being carried out in the particular department.…

    • 1917 Words
    • 8 Pages
    Good Essays

Related Topics