Create and execute SQL statements to perform the following actions,

Create and execute SQL statements to perform the following actions, using the JustLee Books database: 

1. Create a new user account. The account name should be a combination of your first initial and your last name. 

2. Attempt to log in to Oracle 11g with the newly created account. 

3. Assign privileges to the new account that allow connecting to the database, creating new tables, and altering an existing table. 

4. 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. 

5. Assign the account created in Assignment 1 the CUSTOMERREP role. 

6. Log in to Oracle 11g with the new account created in Assignment 1. Determine the privileges currently available to the account. 

7. Revoke the privilege to delete rows in the ORDERS and ORDERITEMS tables from the CUSTOMERREP role. 

8. Remove the CUSTOMERREP role from the account created in Assignment 1. 

9. Delete the CUSTOMERREP role from the Oracle 11g database. 

10. Delete the user account created in Assignment 1.

 

Leave a Comment

Your email address will not be published. Required fields are marked *

GradeEssays.com
We are GradeEssays.com, the best college essay writing service. We offer educational and research assistance to assist our customers in managing their academic work. At GradeEssays.com, we promise quality and 100% original essays written from scratch.
Contact Us

Enjoy 24/7 customer support for any queries or concerns you have.

Phone: +1 213 3772458

Email: support@gradeessays.com

© 2024 - GradeEssays.com. All rights reserved.

WE HAVE A GIFT FOR YOU!

15% OFF 🎁

Get 15% OFF on your order with us

Scroll to Top