Contact Us
Projects | Assignments
sellfycode@gmail.com
More
Get Homework Help
English
Español
Português
Français
Deutsch
Italiano
Русский
close
Contact Us
Projects | Assignments
sellfycode@gmail.com
Starting from:
$20
Add to cart
Write the correct SQL statements to grant the following privileges Solved
An owner of a relational database (ADMIN) created the following relations:
STUDENT = (ID, NAME, TOTAL_CREDIT, DEP_NUMBER)
INSTRUCTOR = (ID, NAME, SALARY, DEP_NUMBER)
COURSES = (COURS_ID, TITLE, DEP_NUMBER, CREDITS)
DEPARTMENT = (DEP_NUMBER, BUILDING, BUDGET)
The ADMIN user wants to pass privileges to other accounts X, Y and Z. Write the correct SQL statements to grant the following privileges.
1-Account X can retrieve or modify any relation except COURSES and can pass any of these privileges to other accounts.
2- Account Y can retrieve all the attributes of STUDENT and COURSES except TOTAL_CREDIT, DEP_NUMBER for both relations. [2 marks]
3- Account Z can retrieve any attribute of INSTRUCTOR but only for those whom working on the IT (DEP_NUMBER=2). [1 mark]
Starting from:
$20
Add to cart
1 file (12.8KB)
More products
UCS1411-Lab 7 Implementation of Banker’s Algorithm (Deadlock Avoidance) Solved
$30
Add to cart
UCS1411-Lab 6 Implementation of Producer/Consumer Problem using Semaphores Solved
$30
Add to cart
UCS1411-Lab 5 InterProcess Communications using Shared Memory Solved
$30
Add to cart