Question: Assume that a user root with a password 'csit 1 1 5 ' created a database called banks. The user executed CREATE TABLE statements given
Assume that a user root with a password 'csit created a database called banks. The user
executed CREATE TABLE statements given on page of the examination paper to create the
relational tables in the database banks. The user root nominates a database banks as a default
database.
Write SQL script that performs the following operations as a user root. Assume that a user root is
already connected to the database.
The user root creates two users: clerk and manager.
mark
The user root grants the read and write access rights on relational table ACCOUNT to the
manager. The read and write access rights cannot be propagated to other roles or users.
mark
The user root grants the rights to insert the rows into relational tables TRANSACTION to
clerk. The access rights can be propagated to other roles or users.
mark
The user root grants the update privilege on all relational tables in the banks database to the
manager. The privilege cannot be propagated to other roles or users.
mark
The user root grants the read access rights to information about the account number, bank
name, and the total number of transactions happened for each account to the manager. The
privilege cannot be propagated to other roles or users.
marks
The user root sets the resource limits for the users created in step and it allows maximum
concurrent connections.
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
