Show employees who have worked at the university

Assignment Help PL-SQL Programming
Reference no: EM133618434 , Length: word count:1000

Database Design and Management Kaplan Business School

Assessment - Demonstration and plan

Your Task

This demonstration assessment is to be completed individually.
You will be given a database schema, data, and a scenario.
You are to carefully analyse the database, ensuring you understand the stored data.
You must write an SQL query for each question below.
You must also answer the additional question at the end of the assessment.

Assessment Description

University of Australia (UoA) is a university with 24 departments located all across Australia. These departments act as the work-space for each student and employee, with a total of 20,000 employees working at UoA.

You have been hired by UoA as a Database Administrator to do some data retrieval on their database. You have been given the database schema and data, as seen below.

160_Database schema.jpg

Employees(EmployeeID, DepartmentID, SalaryID, Title,
EmployeeFirstName , EmployeeLastName, Gender, yearHired,
birthyear, PerformanceBonus)
Departments(DepartmentID, DepartmentName, Location)
SalaryClass(SalaryID, Salary)
DepartmentEmployee(EmployeeID, DepartmentID)

A member of the leadership team at UoA, Chris Taverly, is interested in the data stored in this database and has asked you a variety of questions. As there are thousands of rows of data in this database, it is not possible to find answers to these questions by eye. You are asked to use MySQL to find the answers to the questions below.

Data Files

Once found on MyKBS, you must download the following files:

Assessment_Database.sql Assessment_Employee_Data.sql Assessment_Data.sql

Assessment Instructions

As an individual, you must download the database and data files and load them into MySQL. Once loaded, you must develop queries for the following questions:

Note: You should include a comment above each query, specifying which question you are answering.

Question 1: Show the first five thousand employees in the employees table

Question 2: Display all employee first names in alphabetical order

Question 3: Show employees who have worked at the University the shortest amount of time

Question 4: Display the names of all employees whose age is a palindrome

Question 5: Write a query to display all male and female employees who were not born in 1993 and who will not receive a performance bonus

Question 6: Is there anything in this database that you would improve? If no, explain why. If yes, what would you change and why? (200 words) You must include this in your .sql file as a comment)

Reference no: EM133618434

Questions Cloud

Efforts of one group to eradicate opposing groups : Is the term used to describe the efforts of one group to eradicate opposing groups by such activities as murder, rape,
Continually recruiting more revolting enslaved people : It was able to evade Roman tracking units by confusing its route. It was continually recruiting more revolting enslaved people, which made it harder to defeat.
Genocide is so reprehensible and indefensible : Genocide is so reprehensible and indefensible that it is difficult to read the perspectives of the perpetrators as you have here.
Hobbies bridge act authorizes modification of bridges : The Hobbies Bridge Act authorizes the modification of certain bridges over navigable waters of the United States,
Show employees who have worked at the university : Database Design and Management - Write a query to display all male and female employees who were not born in 1993 and who will not receive a performance
Significantly influences women religious practices : create a title for my thesis "In South Africa, marital status significantly influences women's religious practices, with single, married, divorced,
Discuss how anti-black prejudice : Drawing from the film, Ethnic Notions, discuss how anti-Black prejudice in America has been intentionally produced historically by white society
Perform routine business activities in alignment : Illustrate how information systems are used to perform routine business activities in alignment with business strategies
Fair Labor Standards Act : With the passage of the Fair Labor Standards Act in 1938 the Federal Government for the first time guaranteed what?

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd