Write a query to display the name of all the employees

Assignment Help Other Subject
Reference no: EM132484391

MIS602 Data Modelling and Database Design - Laureate International Universities

Two - Database programming evaluation practical

Context:

The MIS602 Data Modelling & Database Design subject is designed for you to progressively add to your understanding of data and database management and its relevance with in business context. It also introduces you to some of the key features of database management system and designing database systems that will feature in later modules of this topic. In order for you to do well in this subject, it is imperative that you undertake all of the learning activities in the modules. The learning activities are presented as a way of scaffolding your learning so that you can attempt the building blocks of the assessments and be in a safe environment to fail and to learn from them. Therefore, doing your learning activities and seeking feedback from them from peers and from the learning facilitator is the single best way of preparing for doing well in this assessment.

Instructions:

You need to create the database tables as per below entities and complete the Questions listed in this instruction.

Question 1: Create three tables with relevant keys as suggested in the above diagram

Question 2: Insert record of 10 employees in the employee table

Question 3: Insert record of 5 departments in the department table Question 4: Insert record of 5 salary levels in the salary table

Question 5: Write a query to display the information about the employees in the employee table

Question 6: Write a query to display the name of all the employees

Question 7: Write a query to display the name of all the employees and their jobname. Question 8: Write a query in SQL to display the unique jobname for all the employees

Question 9: Write a query to increase the salary for all the employees by 12%. Display the empname, jobname and salary after the increment

Question 10: Write a query to display the employee names with minimum and maximum salary.

Question 11: Write a query to display the employee id, employee name, jobname of all the employees whose salary is greater than 90,000 P.A.

Question 12: write a query to display the all the details of all the employees whose jobname is Manager. (Hint: While entering the records for employee, make sure to add manager as jobname for a few employees.)

Question 13: Write a query to display the all the details of the employee whose name is Robert. (Hint: While entering the records for employee, make sure to add Robert as empname for at least one employee.)

Question 14: Write a query to display all the details of the employee who work as a manager and have salary greater than 95000 P.A.

Question 15: Write a query to display employeeid, employee name, jobname and date of joining of all the employees who joined after year 2001.

Question 16: Write a query to display the list of all the employees whose annual salary is within the range 55000 and 95000.( Hint: make sure to add the salary in this range while entering records in the employee table)

Question 17: Write a query to display the list of all the employees in the descending order of their salaries.

Question 18: Write a query to count the number of employees in the employee table.

Question 19: Insert a new record in the employee table and add ANALYST as their jobname. The other fields can be added as per your choice

Question 20: Insert a new record in the employee table with the following data fields employee_id= 1011
empname= Janet jobname= PROGRAMMER managerid= 5095
dateofhire= 12-10-2014

salary= 90000 department_iD=2011

Question 21: Write a query to delete the record of the employee whose name is ‘Flynn'. (Hint: Make sure to add a record with employee name ‘Flynn' in the beginning.

Question 22: Write a query to update the salary by 15% of the employee whose employee name is ROBERT.

Question 23: Write a query to find the number of staff working in each department and the sum of their salaries.

Question 24: Write a query to find all employees with the string ‘Avenue' in their address

When you are finished this, prepare a document with all SQL commands used for each Question and summarise your experience. On the morning following submission, the learning facilitator will allocate you another student's document to assess. It is then your turn to assess another student's work. You will have three days to assess the other student's work and to upload your response to Blackboard. In no more than 500 words, provide a critique of that student's work to them. You can choose whether to identify yourself but you should provide constructive feedback, balancing good points and points where the student can improve. You should provide feedback to the other student on their usage of commands and summary document. You are free to use whatever framework you like and the following should be minimum inclusions:
• Comment on the overall usage of SQL statements and commands used
• Provide constructive criticism on how the other student can improve their understanding of SQL statements
• Provide some useful readings the other student may peruse that helps them develop their understanding of SQL statements

Attachment:- Database programming evaluation practical.rar

Reference no: EM132484391

Questions Cloud

What are vodafone key competences or strengths : What are Vodafone's key competences or strengths and weaknesses.
What impact the elements of the financial statements model : How will the Year 1 year-end adjustment to recognize the partial expiration of the contract impact the elements of the financial statements model?
Design a marketing mechanism to change : You have been hired by the Walton family to design a marketing mechanism to change the images of Walmart, Inc. from its current state
How you will handle the concerns of current employees : You are the senior Human Resources representative in a large organization with locations throughout the United States. The company has a long history of taking.
Write a query to display the name of all the employees : Write a query to display the name of all the employees and Write a query to display the employee names with minimum and maximum salary
How many years will it take to deplete an account : An investor has a principal amount of $P. If he desires a payout (return) of 0.1P each year, how many years will it take to deplete an account
Discuss authentic leadership : Discuss authentic leadership. How it is different from other theories of leadership?
Who is the independent auditor of your company : Who is the independent auditor of your company? Who pays that auditor? How much is the total stockholders' equity for the most recent year reported?
Why nuvasive decided to issue convertible bonds : A university found that 20% of its students withdraw without completing the introductory statistics course. Assume that 20 students registered for the course.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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