You have been given the task of documenting the process and commands required for creating a new user and assigning privileges to that user for one or more of the tables in a DBA’s practice database layout below. This process will be documented schematically in the table below that will: -  identify all SQL commands (using proper role names, table names, user names, etc. and proper syntax), -  identify which user (DBA or NEW USER) should execute each command, and -  detail the expected outcome based on your knowledge of Oracle data administration, roles, and granting and revoking privileges to roles. Initially, the new user will not be able to do anything, including any selects, inserts, updates, or deletes on any of the DBA’s tables. The DBA will create a role and assign the new user to that role. Then, the DBA will grant and revoke various select, insert, update or delete privileges to the role. It is your responsibility to determine the outcome. You will not be able to execute any of these commands in a live environment. The DBA would like for you to complete this documentation to help a new intern learn the process. The intern will arrive early n

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

You have been given the task of documenting the process and commands required for creating a new user and assigning privileges to that user for one or more of the tables in a DBA’s practice database layout below.

This process will be documented schematically in the table below that will:

  • -  identify all SQL commands (using proper role names, table names, user names, etc. and proper syntax),

  • -  identify which user (DBA or NEW USER) should execute each command, and

  • -  detail the expected outcome based on your knowledge of Oracle data administration, roles, and granting and revoking

    privileges to roles.

    Initially, the new user will not be able to do anything, including any selects, inserts, updates, or deletes on any of the DBA’s tables. The DBA will create a role and assign the new user to that role. Then, the DBA will grant and revoke various select, insert, update or delete privileges to the role. It is your responsibility to determine the outcome.

    You will not be able to execute any of these commands in a live environment. The DBA would like for you to complete this documentation to help a new intern learn the process. The intern will arrive early next week.

    The database relational schema and sample data are shown below. You should study the tables and data to become familiar with the layout prior to completing this work.

1. The DBA would like to execute a select on this view and make it available to all users in the role and commit his work.

2. The new user hears about this new view and wishes to try it out by doing a select of all records on the view.

3. The DBA would like to create another role and grant INSERT and DELETE access to all four (4) of his tables from this database to the following users: student1, student2, student3, student4 and student5.

BOOK LIST
Book Number ISBN Number-
Book Name
Category Num -
10-385-19237-1
San Francisco Encore
20-9604222-O-X
The Memphis Cookbook
Charlotte Cooks Again
4
30-9613214-1-5
40-9603946-5-6
Colorado Cache Cookbook
50-960-79142-6
Atlanta Cooknotes
Beyond Parsley
Out of Our League
The Beatles Anthology
Net Force
60-9607076-1-1
BOOK.CATEGORIES
7 09605788-0-3
8 0811826848
Category Num - Category
1 Biography
2 Fiction
3 Non Fiction
90-425-17139-6
10 0684846098
Nothing Like It in The World
Tuesdays with Morri
Flags of Our Fathers
11 0385484528
3
4 Cookbooks
12 0553111337
3
5 History
I CARD HOLDERS
Cardholder First_Name - Last Name -
1 Robert
2 John
3 Judy
Address
City
State
Zip Code
Downs
100 E. Town St.
San Francisco CA
95409
41
Johnson
2345 7th Avenue
Denver
CO
80222
Toon
4012 Main Street
Memphis
TN
38118
4 Barbara
Brown
2310 W. Fifth Avenue Richmond
VA
23286
5 Robert
6 Carol
7 Janice
8 Will
9 Judy
10 Betty
Smith
25110 Central Park
Denver
co
80222
Carter
199 South Fourth
Richmond
VA
23286
Johns
2020 State St.
Greensboro
NC
27408
Hamilton
56 E. Main St.
Columbus
OH
43215
Smith
490 E. Lincoln
San Francisco CA
95409
Olivette
55 Sunshine Coast
San Francisco CA
94588
BOOKS CHECKED OUT
Cardholder Number Book Number Date Checked Out Due_Date Actual_Return_Date -
10
29-Dec-00
08-Jan-02
06-Dec-00
16-Dec-00
20-Dec-00
07-Dec-00
17-Dec-00
15-Dec-00
15-Dec-00
25-Dec-00
28-Dec-00
6
12
02-Jan-02
12-Jan-02
3.
01-Jan-02
11-lan-02
02-Jan-02
12-Jan-02
10
1
01-Dec-00
11-Dec-00
05-Dec-00
10
0S-Dec-00
15-Dec-00
20-Dec-00
Yersien.
10.1.2 12/12/20
Transcribed Image Text:BOOK LIST Book Number ISBN Number- Book Name Category Num - 10-385-19237-1 San Francisco Encore 20-9604222-O-X The Memphis Cookbook Charlotte Cooks Again 4 30-9613214-1-5 40-9603946-5-6 Colorado Cache Cookbook 50-960-79142-6 Atlanta Cooknotes Beyond Parsley Out of Our League The Beatles Anthology Net Force 60-9607076-1-1 BOOK.CATEGORIES 7 09605788-0-3 8 0811826848 Category Num - Category 1 Biography 2 Fiction 3 Non Fiction 90-425-17139-6 10 0684846098 Nothing Like It in The World Tuesdays with Morri Flags of Our Fathers 11 0385484528 3 4 Cookbooks 12 0553111337 3 5 History I CARD HOLDERS Cardholder First_Name - Last Name - 1 Robert 2 John 3 Judy Address City State Zip Code Downs 100 E. Town St. San Francisco CA 95409 41 Johnson 2345 7th Avenue Denver CO 80222 Toon 4012 Main Street Memphis TN 38118 4 Barbara Brown 2310 W. Fifth Avenue Richmond VA 23286 5 Robert 6 Carol 7 Janice 8 Will 9 Judy 10 Betty Smith 25110 Central Park Denver co 80222 Carter 199 South Fourth Richmond VA 23286 Johns 2020 State St. Greensboro NC 27408 Hamilton 56 E. Main St. Columbus OH 43215 Smith 490 E. Lincoln San Francisco CA 95409 Olivette 55 Sunshine Coast San Francisco CA 94588 BOOKS CHECKED OUT Cardholder Number Book Number Date Checked Out Due_Date Actual_Return_Date - 10 29-Dec-00 08-Jan-02 06-Dec-00 16-Dec-00 20-Dec-00 07-Dec-00 17-Dec-00 15-Dec-00 15-Dec-00 25-Dec-00 28-Dec-00 6 12 02-Jan-02 12-Jan-02 3. 01-Jan-02 11-lan-02 02-Jan-02 12-Jan-02 10 1 01-Dec-00 11-Dec-00 05-Dec-00 10 0S-Dec-00 15-Dec-00 20-Dec-00 Yersien. 10.1.2 12/12/20
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
SQL Query
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education