Question: For each of the following, write SQL statements to create views where needed and to grant the indicated privileges for the University database with

For each of the following, write SQL statements to create views where needed and to grant the indicated

For each of the following, write SQL statements to create views where needed and to grant the indicated privileges for the University database with this schema: Student(stuld, lastName, firstName, major, credits) Class(classNumber, facld, schedule, room) Enroll(stuld, classNumber, grade) a. Give permission to read the tables Student and Class to user 201. b. Create a view of Enroll that does not include the grade attribute, and give user 201 permission to read and update the view. \

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To grant permissions and create views in the University database with the given schema you can use S... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!