اخواني اخواتي الكرام اعضاء الموقع
لدي هذا السؤال وصعب علي فهمه واتمنى من حضراتكم مساعدتي على فهمه
EMPLOYEE
FNAME\\ MINIT\\ LNAME \\ SSN \\ BDATE \\ ADDRESS \\ SEX \\ SALARY \\ SUPERSSN \\\\ DNO
DEPARTMENT
DNAME \\ DNUMBER \\ MGRSSN \\ MGRSTARTDATE
DEPT_LOCATION
DNUMBER \\ DLOCATION
PROJECT
PNAME \\ PNUMBER \\ PLOCATION \\ DNUM
WORKS_ON
ESSN \\ PNO \\ HOURS
DEPENDENT
ESSN \\ DEPENDENT_NAME \\ SEX \\ BDATE \\ RELATIONSHIP
Suppose that all the relations were created by user X who wants to grant the following privileges to user account A, B, C, D, and E.
a) Account A can retrieve or modify any relation except dependent and grant any of these privileges to other users.
B) Account B can retrieve all the attributes of employee and department except for salary, mgrssn, and mgrstartdate.
c) Account C can retrieve or modify works_on but can only retrieve the fname , minit , lname , and ssn attributes of employee and the pname and pnumber attributes of project.
d) Account D can retrieve any attributes of employee or dependent and can modify dependent.
e) Account D can retrieve any attributes of employee but only for employee tuples that have dno=3.
f) Write SQL statements to grant these privileges.
فانا لم افهم مالمقصود من هذا السؤال
فاتمنى منكم افادتي
ولكم مني جزيل الشكر