Question: Lab 7 Create and execute SQL statements to perform the following actions, using the JustLee Books database: Create a new user account. The account name

Lab 7
Create and execute SQL statements to perform the following actions, using the
JustLee Books database:
Create a new user account. The account name should be a combination of your first
initial and your last name.
Attempt to log in to Oracle with the newly created account.
Assign privileges to the new account that allow connecting to the database, creating
new tables, and altering an existing table.
Using an account with the required privileges, create a role named CUSTOMERREP that
allows inserting new rows in the ORDERS and ORDERITEMS tables and deleting rows
from these tables.
Assign the account created in Assignment 1 the CUSTOMERREP role.
Log in to Oracle with the new account created in Assignment 1. Determine the privileges
currently available to the account.
Revoke the privilege to delete rows in the ORDERS and ORDERITEMS tables from the
CUSTOMERREP role.
Remove the CUSTOMERREP role from the account created in Assignment 1.
Delete the CUSTOMERREP role from the Oracle 12 c database.
Delete the user account created in Assignment 1.
Lab 7 Create and execute SQL statements to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!