Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started