Definition statements for employeenames and deptinfo

Assignment Help Basic Computer Science
Reference no: EM132360174

Question

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: EM132360174

Questions Cloud

Decrease the poverty and inequality in usa and mexico : Explain how globalization has either helped increase or decrease the poverty and inequality in USA and Mexico.
Distinguish between structured systems analysis : Distinguish between structured systems analysis and structured systems design, indicating the tasks involved in each clearly.
What would widgets supply unlimited report as the ending : What would Widgets Supply Unlimited report as the ending balance of retained earnings for 2018? Assume a 35% tax rate for all years.
Explain purely pharmacological issues in brief : Prior to beginning work on this discussion, read the required chapters from the text and review the required articles for this week. Humans have engaged.
Definition statements for employeenames and deptinfo : 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:
Fields for manual data entry and display : Should you use codes in fields for manual data entry and display. Describe how a particular business information system uses codes in one of its manual data.
Term vulnerability in the context of network security : Briefly describe the term vulnerability in the context of network security and provide THREE (3) examples of vulnerabilities in a network.
Compute the amount of net income for the month : Determine how much owner's equity increased for the month. Compute the amount of net income for the month.An analysis of the transactions made by Peat Deloitte
Develop a research paper by adding background : Develop a research paper by adding background and contribution to knowledge sections to your existing foundational research elements document

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What system is father of almost all modern multiuser systems

Why is the top-down approach to information security superior to the bottom-up approach?

  Assess the ease of use and efficiency of using both windows

evaluate the ease of use and efficiency of using both windows and unix file management systems. of the two file

  Navigate to the computer manufacturer website

Run Diagnostic Tools and Check for Computer Hardware Errors If your computer is not functioning properly and you believe the problem is related to the computer.

  What is the net present value of investment

Discount rate is 12% what is the net present value (NPV) of this investment? Explain the findings

  Applying concepts you learned in the required readings

Research a company that has moved some of its operations overseas. Discuss how this has directly affected the American workforce.  Applying concepts you learned in the required readings, discuss who has benefited more from this practice: the Unite..

  Find and fix the error in the given code

Find and fix the error. Compile and run the fixed program. Take a screenshot of the result. Paste your screenshot into a Microsoft® Word document that includes the following:

  Are the assumptions and conditions for inference met

They've had a contribution rate of 5% in past campaigns, but a staff member worries that the rate will be lower if they run this campaign as currently designed.

  Discuss the merits of unified architectures vs. proprietary

Discuss the merits of unified architectures vs. proprietary technologies in ensuring standards compliance and cybersecurity?

  Consider a token ring with a ring latency of 200 µs

Answer for both a single active host and for "many" hosts; for the latter, assume there are sufficiently many hosts transmitting that the time spent advancing the token can be ignored. Assume a packet size of 1 KB.

  Write an application that demonstrates using objects

Write an application that demonstrates using objects of each class. Save the files as Horse.java, RaceHorse.java, and DemoHorses.java.

  Number of sources to obtain the relevant information

You will need to research a number of sources to obtain the relevant information. At least four of these sources should be used for your report and your presentation. The resources must be credible, current (no earlier than 2010) and available in ..

  What are some of latest advances in encryption technologies

What are some of the latest advances in encryption technologies?

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