Merging of two previous companies

Assignment Help Basic Computer Science
Reference no: EM132361562

You are a DBA for the accounting firm AFS. The firm is a merging of two previous companies so they need to implement a new human resource system. You have created a relation about employees as follows:

Employee(ename, dept, salary, address, telephone, job).

For authorization reasons, the HR director asked you to create two views for her:

  • EmployeeNames that displays only the employee name (ename).
  • DeptInfo that lists the average salary for each department (dept, avgsalary).

a. Show the view definition statements for EmployeeNames and DeptInfo.

b. What privileges should be granted to a user who needs to know only average department salaries for the HR and CS departments? 

c. The HR director is taking an extended vacation, and to make sure that emergencies can be handled, she want to authorize her boss Joe to read and modify the Employees relation and the EmployeeNames relation (and Joe must be able to delegate authority, because he is too far up the management hierarchy to do any actual work). Show the appropriate SQL statements. Can Joe read the DeptInfo view?

d. After returning from her (wonderful) vacation, she found a note from Joe, indicating that he authorized his secretary Mike to read the Employees relation. She asked you to revoke Mike's SELECT privilege on Employees, but she does not want to revoke the rights she gave to Joe, even temporarily. Can you do this in SQL?

Reference no: EM132361562

Questions Cloud

What is the total number of student in the college : If the number of participating student is 300, out of which 100 are boys. What is the total number of student in the college
Discuss one male reproductive system disorder : Discuss one male reproductive system disorder and relate how you would plan and intervene. Discuss one diagnosis related to transgender care and how you would.
How does doctoral degree online help you achieve your goals : What do you find beneficial about pursuing your doctoral degree online? How does working toward a doctoral degree online help you achieve your personal.
How the social media tools you selected are most appropriate : Explain how the social media tools you selected are most appropriate for your intended audience and health service in your marketing plan.
Merging of two previous companies : The firm is a merging of two previous companies so they need to implement a new human resource system. You have created a relation about employees as follows:
What are the benefits of the quality improvement initiative : Write an executive summary (750-1,000 words) to present to the board, from which the board will make its decision to fund your program or project.
Critique an existing health promotion campaign : PUBH611 - Health Promotion - Australian Catholic University - Essay – Critiquing a health campaign - critique an existing health promotion campaign
How might you target questions for building a health history : How might you target your questions for building a health history based on the patient's social determinants of health? What risk assessment instruments would.
Explain the pathophysiology of the associated alterations : Write a brief description of a patient scenario involving the disorder and the factor you selected. Explain how the factor might impact your selected disorder.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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