Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 4 of the examination. (Note: you are to ignore
the changes made in question 3)
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
11.(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David J. Auer David M. Kroenke

13th Edition

B01366W6DS, 978-0133058352

More Books

Students also viewed these Databases questions