Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Government Polytechnic, Porbandar

Computer Engineering Department

Semester: 6 Subject: PPD

Practical Exercise – 10

AIM: MySQL GRANT and REVOKE.

1. Give brief overview of How to create user accounts and how to give privileges.
2. Give brief overview of GRANT and REVOKE command.
3. Use below tables:
Faculty
Faculty_id Faculty_name Department Joining_date

1) Create an account named as college and give all rights.

2) Create an account named as student without any privileges.

3) Grant create, insert and update privileges to student account.

4) Create faculty table from student account and Grant select privilege on faculty table to
college account.

5) Revoke select privilege on faculty from college.

You might also like