Write a query that returns the employees with initials

Assignment Help Database Management System
Reference no: EM133538995 , Length: word count:2000

Database Design and Management

Demonstration and analysis

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.

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.

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

Chris Taverly, the member of the leadership team at UoA was impressed with your previous work and has approached you for a second time, asking you more questions. Chris has asked you for to retrieve more data from the database and has also asked you to examine the integrity of the database. 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: Add a new attribute called "EmployeeInitials" to the Employees table

Question 2: Display the first names of all employees who work in the department located in Sydney

Question 3: Display employee first and last names and work out the original salary for all employees and their new salary after their (10%) bonus is applied

Question 4: Display how many employees will not receive a performance bonus

Question 5: Write a query that returns the employees with initials that are a palindrome and also return employees without palindrome initials, but output 'not a palindrome!'

Question 6: Write a query that populates EmployeeInitials, based off the existing stored names

Question 7: Which joins did you use in your queries and why? Would other joins have worked?

Question 8: Write 250 words explaining the integrity of this database. Is it up to standards? If yes, explain why and how. If no, what is wrong with the database's integrity?

Reference no: EM133538995

Questions Cloud

What are the arguments against the use of dietary supplement : What are the arguments supporting the use of dietary supplements? Who needs them? What are the arguments against the use of dietary supplements?
Develop an advanced customer relationship management : TECH6100 Intermediate Programming - Create unit tests and a test-driven development environment and Use exception handling and debugging to identify and manage
How will you alter your approach next time : Was there information you wished you had available but did not? How will you alter your approach next time?
Understanding of legal concepts and framework explored : The purpose of this portion of the assignment is to assess your understanding of the legal concepts and framework explored in this course.
Write a query that returns the employees with initials : Write a query that returns the employees with initials that are a palindrome and also return employees without palindrome initials, but output 'not
What suggestions do you have for operations managers : What are the most recent trends and challenges that Operations Departments faced in 2021 as related to New product design? Based on the analysis
Is there an issue based in the state the group resides : Is there an issue based in the state the group resides? Are there specific rules applying to government support for either group(s)?
What legal advice would you give to jfc regarding trade mark : Jesus Fried Chicken (JFC) is a Mexican fast food restaurant chain, popular in that country. What legal advice would you give to JFC regarding trade mark?
Discuss main ideas in the article to include in the essay : The Beginner's Guide is a great resource, as well as "In the News," and the latest information on science, legal, and other educational resources.

Reviews

Write a Review

Database Management System Questions & Answers

  Create a violation of 1st normal form

Find or create an example of a violation of a normal form that you would allow, tell why you are allowing the violation and explain how you would protect against anomalies.

  Program that reads the data from the file into an array

Write a program that- Reads the data from the file into an array of structure when the form is loaded

  Explain planning proactive concurrency control methods

Evaluate which method would be efficient for planning proactive concurrency control methods and lock granularities. Assess how your selected method can be used to minimize the database security risks that may occur within a multiuser environment.

  Write a script that deletes the gettoplovendors procedure

Use the Management Studio to write a script that deletes the GetToplOVendors procedure and the ApClrObjectsEx assembly. Check that the procedure and assembly exist before deleting them.

  Create an erd that represents the entities and attributes

Create an ERD that represents the entities, attributes, the relationships between entities, and the cardinality and optionality of each relationship that are described by this business rule.

  What is meant by data independence

What is meant by data independence? Explain your answer and identify two benefits of separating application software from the database management system.

  Create a view named customeraddresses

Write a SELECT statement that returns these columns from the CustomerAddresses view that you created in exercise 1: CustomerID, LastName, FirstName, BillLine1.

  Create database tables using libreoffice base

COMR2002 BUSINESS INFORMATION SYSTEMS DATABASE APPLICATION ASSIGNMENT. Create database tables using LibreOffice Base

  Create documentation describing the principles

Create documentation describing the principles and importance of normalization in relation to this project and the process by which this project was normalized.

  What are the common features of esss

What are the common features of ESSs? What specific types of decisions were each ESS designed to aid in? What type of company is likely to use each?

  Build data warehouse tables in sql

Use the OLTP logical schema below to build data warehouse tables in SQL - create data warehouse solution in SQL for the dimensional model that you propose

  Find the sids of suppliers who supply every part

Find the sids of suppliers who supply every part. Find the sids of suppliers who supply every red part. Find the sids of suppliers who supply every red or green part.

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