Question: Assume that a user root with a password 'root' has created a database called THERAPY and inside the database the user root has created the
Assume that a user root with a password 'root' has created a database called THERAPY and inside the
database the user root has created the tables given on page of the examination. Note: you are to ignore
the changes made in question
Write SQL statements that performs the action listed in the following as a user root.
a The user root would like to create a new user account called Jabesh with a password
'verypower'. The total number of times Jabesh can connect to the server per hour must be set to
Note: you can only use one SQL statement
b The new user Jabesh must have the rights to execute CREATE TABLE and CREATE VIEW
statements in the database THERAPY with right to propagate the privilege to the other users.
c The new user Jabesh must have access in write mode to the relational tables THERAPIST, BRANCH
with NO right to propagate such privilege to other users.
d The new user Jabesh must have the UPDATE privilege to a relational table BRANCH and column
BranchName with rights to propagate the privilege to the other users.
e The management wanted to remove all privileges from an existing user Jabesh to the database
THERAPY.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
