Create a function that finds the average salary of employees

Assignment Help Database Management System
Reference no: EM133826643

Database Design and Management

Assessment - SQL Demonstration and analysis

Assessment - Coding task and Video presentation

Task

This assessment evaluates your SQL querying proficiency and your ability to justify and explain query logic. You will receive a database schema, data, and a scenario. You can use Gen AI tools for specific tasks only. The assessment consists of a SQL query task (Part A) and a detailed video explanation (Part B).

Assessment Description

In this assessment, you will use a case study provided as a supplementary document. Your task is to retrieve data on the given database using MySQL to find answers to the questions in the Assessment Instructions. The database contains thousands of rows of data, making it impractical to find answers manually. Get Expert Writing Service Now!

Learning outcome 1: Investigate the use of Relational Database Management Systems in organisations.
Learning outcome 2: Construct database models.
Learning outcome 3: Create queries to manage data using a database query language.

Assessment Instructions

Part A: SQL Querying
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. In addition, you can use Gen AI tools to get an idea about how to answer Questions (1 - 10) only, and responses to the SQL queries should be restricted to only the clauses used in workshop materials.

Question 1: Display the first names of all employees who work in the department located in Sydney in alphabetical order.

Question 2: Show employees who have worked at the University the shortest amount of time. Question 3: Display the names of all employees whose age is a palindrome.

Question 4: Create a procedure to list the departments along with the number of employees in each department.

Question 5: Create a function that finds the average salary of employees in each department. Question 6: Find the names and salaries of employees who are older than 40 years.

Question 7: Show the employee details and their department names for those employees who have a "Lecturer" title.

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

Question 9: Add a new attribute called "EmployeeInitials" to the Employees table.

Question 10: Write a query that populates "EmployeeInitials", based off the existing stored names. Question 11: Write 250 words explaining the integrity of this database. Is it up to standard? If yes, explain why and how. If not, what is wrong with the database's integrity?

Part B: Video Explanation
You should record a video discussing the following:
- Justify each SQL query in detail, including the syntax, the purpose of the query, and the appropriate output.
- Ensure your video is clear and audible.
- Show your SQL queries and the database schema while you explain.

Reference no: EM133826643

Questions Cloud

Which attribute of possible living of the client illness : A clients experience heart attack 2 years ago since then they have. Which attribute of possible living of the client illness could this client exemplify?
What is most likely the patients diagnosis : An 80 yo female presents to the outpatient clinic with her daughter who states, I think my mother is having a drug. What is most likely the patient's diagnosis?
What is the medical team must ensure that informed consent : The medical team must ensure that informed consent is obtained in a manner that respects the patient's cultural values.
Diverse organisational stakeholders : Describe the potential impact of these problems on user satisfaction, organisational goals, and business outcomes - Tailor your presentation to diverse
Create a function that finds the average salary of employees : Create a procedure to list the departments along with the number of employees in each department and Create a function that finds the average salary
How you ensure that health center adheres to patient bill : How can you ensure that the health center adheres to the Patient Bill of Rights by providing clear and comprehensive information to empower patients?
What would you suspect : If a patient presents with sudden onset of paralysis on one side of his face and the patient cannot wrinkle his forehead, what would you suspect?
What is one implication for your community related to a life : The community you serve exhibits disparities in life expectancy, influenced. What is one implication for your community related to a longer life expectancy?
Influencing the intention to use mobile banking in australia : Short review of an appropriate body of literature and discussing the contributions of this potential research. Please follow the two steps below to prepare

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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