Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2) Consider the relational database state COMPANY attached to this exam. Suppose that all the relations were created by (and hence are owned by) user

2) Consider the relational database state COMPANY attached to this exam. Suppose that all the relations were created by (and hence are owned by) user X, who wants to grant the following privileges to user accounts A, B, C, D, and E:

2.1 Account A can retrieve or modify any relation except DEPENDENT and can grant any of these privileges to other users.

2.2 Account C can retrieve or modify WORKS_ON but can only retrieve the Fname, Minit, Lname, Ssn attributes of EMPLOYEE.

2.3 Account D can retrieve any attribute of EMPLOYEE or DEPENDENT and can modify DEPENDENT.

2.4 Account E can retrieve any attribute of EMPLOYEE but only for EMPLOYEE tuples that have Dno = 5.

2.5 Write SQL statement to grant these privileges. Use views where appropriate.

2.1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 3 Lnai 6323

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

3642159389, 978-3642159381

More Books

Students also viewed these Databases questions

Question

romex nusose uine

Answered: 1 week ago