Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 1 ( 5 Marks ) 1 . Create three users with the following usernames: a . _ 1 ( for instance, kyt 0 1

Task 1(5 Marks)
1. Create three users with the following usernames:
a._1(for instance, kyt012_1)
b._2
c._3
d. Set all passwords to be the same as the username.
2. Use GRANT statement(s) to grant _1 the privileges to alter
relational tables, to drop relational tables, and to read and write relational tables in the
database created in the previous step. The privilege must be granted such that _1 is able to grant the privileges to the other users.
3. Use GRANT statement(s) to grant _2 the privileges to read
data from the Book and Author tables. The privilege must be granted such that the _2 is NOT able to grant the privileges to the other users.
4. Use ALTER USER statement to set the resource limits of _3:
total number of queries issued per hour must be set to 100, and total number of updates
issued per hour must be set to 10.
University of Wollongong
School of Computing and Information Technology
CSIT115 Data Management and Security
Page 2 of 3
5. Use ALTER USER statement(s) to expire the password of _2.
6. Use SELECT statement(s) to retrieve and display the privileges granted to all the users.
7. Save the SQL commands and the result from step (6) into a text file. The file name must
be __task1.txt. Example: T1_1234567_task1.txt.

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_2

Step: 3

blur-text-image_3

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

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions

Question

=+from: a) a MNEs perspective? and b) the HRM managers perspective?

Answered: 1 week ago