Skip to main content

Two – Database programming evaluation practical

Two – Database programming evaluation practical
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 tasks listed
in this instruction.
Task 1: Create three tables with relevant keys as suggested in the above diagram
Task 2: Insert record of 10 employees in the employee table
Task 3: Insert record of 5 departments in the department table
Task 4: Insert record of 5 salary levels in the salary table
Task 5: Write a query to display the information about the employees in the employee
table
Task 6: Write a query to display the name of all the employees
Task 7: Write a query to display the name of all the employees and their jobname.
Task 8: Write a query in SQL to display the unique jobname for all the employees
Task 9: Write a query to increase the salary for all the employees by 12%. Display the
empname, jobname and salary after the increment
Task 10: Write a query to display the employee names with minimum and maximum
salary.
Click Here For More Details on How to Work on this Paper......
Need a Professional Writer to Work on this Paper? Click Here and Get this Essay Done ………
Task 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
Task 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.)
Task 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.)
Task 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.
Task 15: Write a query to display employeeid, employee name, jobname and date of
joining of all the employees who joined after year 2001.
Task 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)
Task 17: Write a query to display the list of all the employees in the descending order
of their salaries.
Task 18: Write a query to count the number of employees in the employee table.
Task 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
Task 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
Task 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.
Task 22: Write a query to update the salary by 15% of the employee whose employee
name is ROBERT.
Task 23: Write a query to find the number of staff working in each department and the
sum of their salaries.
Task 24: Write a query to find all employees with the string ‘Avenue’ in their address

Comments

Popular posts from this blog

Tracy, one of your friends, is in the early stages of conducting a feasibility analysis for a small business consulting company.

Tracy, one of your friends, is in the early stages of conducting a feasibility analysis for a small business consulting company. Understanding the target audience and the marketing mix is a mandatory step for achieving success in her new venture. Branding is equally important. In this assignment, you will act as a consultant to Tracy to find the best answers to her problems related to understanding the market and planning and executing the correct marketing strategies. Tasks: Respond to the following questions: How would you advise Tracy to approach the following topics? Market segmentation Selection of a target market Development of a positioning strategy You are familiar with the concept of branding and know that because her company is new, she will have to build a brand from scratch. What needs to be done in this case? Submission Details: By the due date assigned,post your responses to this Discussion Area. Through the end of module, respond to at least two of your classmates' p...

Case 7.1, “His Team Gets the Best Assignments” (pp. 151–152)

Case 7.1, “His Team Gets the Best Assignments” (pp. 151–152) There have been many stories throughout history of leaders who have been corrupted by their power. The very definition of leadership as “a process by which an individual influences the group to achieve a common goal” (Northouse, 2016, p. 6) implies the power to exert influence. Leaders must exert power in order to lead, but they must also strive to understand the complexities of power. Research by French and Raven (1959) and by others (Burns, 1976; Neck & Manz, 1994) provides insight on the types, or bases, of power available to a leader, the process of choosing among those bases, and the motivations for leaders’ choices (Northouse, 2016, p. 379). Recent researchers (Barbuto & Warneke, 2014; Vevere, 2014) also explore the effectiveness of using individual bases of power in particular situations and the effects certain bases of powers have on leaders and those they lead. Armed with this information, leaders can avoid u...

Scenario: You have been promoted to senior level manager of a company with low employee morale and decreased productivity

Scenario: You have been promoted to senior level manager of a company with low employee morale and decreased productivity. You have been tasked with developing a strategic plan for the workforce to present to the CEO and other members of the leadership team.  Chosen Organization :Kaiser Permanente Hospital Create a 10- to 12-slide PowerPoint® presentation including the following:  Explain rationale for plan Discuss SWOT of organization Summarize one year plan of action Flowchart of one year plan Give an overview of Budget for plan Evaluate the potential benefit of the plan Write conclusion Proper citation of animation or graphics is required if any is used Click Here For More Details on How to Work on this Paper...... Need a Professional Writer to Work on this Paper?  Click Here and Get this Essay Done ………