Display all employee first names in alphabetical order

Assignment Help PL-SQL Programming
Reference no: EM133617399 , Length: word count:1500

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

 

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: EM133617399

Questions Cloud

What were some warning signs that relationship was troubled : Reflect on an interpersonal relationship or dating relationship that fizzled and failed. What were some warning signs that the relationship was troubled?
Ebola disease in your community : Explain how experimental study design can be applied to Ebola disease in your community.
Muscle aches and unproductive cough : A patient went to the ER and the following assessment findings were noticed by the nurse: headache, fever, muscle aches and an unproductive cough.
Principles of outcomes-based education : Read more on the principles of Outcomes-Based Education. Evaluate how OBE principles are applied in Nursing Leadership and Management Syllabi of a BSN program.
Display all employee first names in alphabetical order : Write a query to display all male and female employees who were not born in 1993 and who will not receive a performance bonus
What makes consent voluntary in context of clinical trials : How might the concerns be minimized/mitigated/addressed? If not, explain what makes consent voluntary in the context of clinical trials for pharmaceuticals.
Explain key life event that have influence saras functioning : Explain key life events that have influenced Sara's psychological functioning. Be sure to substantiate what makes them key in your perspective.
This reflective activity will help you transfer things : This reflective activity will help you transfer the things you've learned into long-term memory.
What were the key issues and challenges identified : Locate and share a recent news story or case related to child protection or advocacy. What were the key issues and challenges identified?

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