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
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 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 the CUSTOMERREP role.
Log in to Oracle with the new account created in Assignment 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
Delete the CUSTOMERREP role from the Oracle c database.
Delete the user account created in Assignment
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
