Develop queries for the given questions

Assignment Help Database Management System
Reference no: EM133692856

Database Design and Management

Demonstration and plan

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

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.

537_Leadership team.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: EM133692856

Questions Cloud

How is the blog organized : What do I not like about this blog? Why? How is the blog organized? Why? What is the format? Why? What is the author's purpose?
Do you respond in ways that honor christ in every situation : What are some personal trigger points which frustrate you, irritate you, and basically make you lose your patience?
Show employees who have worked at university shortest time : You are asked to use MySQL to find the answers to the questions below, Show employees who have worked at the University the shortest amount of time
What are the practical implications or applications thereof : How are God's love and grace demonstrated in this particular Old Testament book? What are the practical implications or applications thereof?
Develop queries for the given questions : 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
Connection between the bible and christianity : From a Christian worldview, is it ethical or unethical for a company to collect, store, and use biometric data?
Relationship between the religion and education : Examine the relationship between the religion and education. Investigate how educational policies, practices, or institutions interact with the beliefs.
Describe the concept from above that sounds confusing : Describe the concept from above that sounds confusing, counterintuitive or just plain wrong. What questions does this Writing Concept prompt you to ask?
What were the findings from the study : What were the findings from the study? Paraphrase those findings and with a scholarly voice. Include a citation.

Reviews

Write a Review

Database Management System Questions & Answers

  Suppose that we have a ternary relationship r between entity

Suppose that we have a ternary relationship R between entity sets A, B, and C such that A has a key constraint and total participation andB has a key constraint

  Benefits of using databases and dbmss

Assignment: Research organizational benefits of using databases and DBMS's. Supplement your research with a review of your lessons. Post a response to the discussion board: Respond to the following statements and, if appropriate, include personal e..

  What is the key for r

What is the key for R? Decompose R into 2NF, then 3NF relations and what you know about the relation to show that this MD cannot violate 4NF

  Why is technical architecture important to a data warehouse

Why is the technical architecture important to a data warehouse? Discuss the back room and front room components in relation to the technical architecture.

  Sort ascending by consultant id and date opened

Sort ascending by consultant ID and Date Opened. Don't show tickets with category ID of 0. HINT: You will require to use SELECT query with an alias in builder for the column.

  Under which conditions would each type of loop be more

there are 3 kinds of loops-for loop while loop and do while loop. under which circumstances would each kind of loop be

  Develop an entity relationship model

NIT5130 - Database Analysis and Design - Victoria University - College of Engineering and Science - Develop an Entity Relationship model to characterize

  Create a database administration plan

What is your rationale for the transaction management plan, database security procedure, backup plan, and recovery model that you proposed for the case study

  How would you go about defining users needs

Your employer earns $50 million in annual sales and employs 500 workers. - Who else (role, department) and how many people would you select to be a member of the team? How would you go about defining users' needs?

  Discuss the properties of erm diagram

Imagine that you work for a consulting firm that offers information technology and database services. Part of its core services is to optimize.

  Create a fully expanded ERD

HS2021- Database Design and Use - Holmes Institute - Create a fully expanded ERD based on the information in the following narrative

  Validity of the collected data and include the survey report

Describe the easy and difficult aspects of creating and conducting an online questionnaire. Assess the reliability of the collected data and include the survey report. Assess the validity of the collected data and include the survey report

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