Question
Consider the relational database schema of above. Suppose that all the relations were created by (and hence are owned by) user Jane Smith , who
- Consider the relational database schema ofabove.Suppose that all the relations were created by (and hence are owned by) userJane Smith, who wants to grant the following privileges to user accounts A:
(a) Account A can retrieve or modify any relation except DEPENDENT; A can grant any of these privileges to other users.
(e) Suppose that the privilege in part (a) is given to account A is with GRANT OPTION, but only so that account A can grant it to at most five accounts, and each of these accounts can propagate the privilege to other accounts but without the GRANT OPTION privilege. How would you use the horizontal and vertical propagation limits in this case?
Write SQL statements to grant the above privileges. Use views if they are appropriate.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started