Application Question(s) PS: This is a group assessment, max: 3 members per group, use hypothetical data...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Application Question(s) PS: This is a group assessment, max: 3 members per group, use hypothetical data where necessary. Question 1 (1st Group Member) Write an SQL query to differentiate between system privileges and object privileges in a Database. Question 3 (1st Group Member) Create a role named finance role and grant it the following privileges: Question 2 (3rd Group Member) (5 marks): You have a table named employees in your Oracle database. Create a user named hr_user and grant SELECT and INSERT object privileges on the employees table to this user. Provide the SQL commands to achieve this. (7 marks): • SELECT privilege on the invoices table • INSERT privilege on the transactions table 30 Marks (3 marks): Next, create a user named finance_user and assign the finance_role to this user. Provide the SQL commands to perform these tasks. Question 5 (3rd Group Member) Write SQL queries to demonstrate the following: Question 4 (2nd Group Member) (8 marks): Consider a scenario where you have a complex SQL query that involves joining multiple tables (orders, customers, and products). Write an SQL script to create this query and grant SELECT privilege on the necessary tables to a user named report_user so that they can execute this query successfully. Explain the steps you took and why each privilege is needed as comments on your SQL script. End of Formative Assessment 4 (7 marks): • Grant the CREATE TABLE system privilege to a user named admin_user. • Revoke the UPDATE object privilege on the inventory table from a user named inventory manager, [Total = 30 Marks] Grand Total: 30 Rubric Criteria Question 1: Differentiating Privileges Question 2: Granting Object Privileges Question 3: Using Roles Question 4: Granting Privileges for a Query Question 5: Granting/Revoking Privileges Total: Excellent (3 Marks) (5 Marks) (7 Marks) (8-7 Marks) (7 Marks) Good (4 Marks) (2 Marks) (6-5 Marks) (6-5 Marks) Satisfactory (6-5 Marks) (3 Marks) (4-3 Marks) (4-3 Marks) (4-3 Marks) Needs Improvement (1 Mark) (2-1 Marks) (2-1 Marks) (2-1 Marks) (2-1 Marks) Inadequate (0 Mark) (0 Mark) (0 Mark) (0 Mark) (0 Mark) Mark allocated /30 Application Question(s) PS: This is a group assessment, max: 3 members per group, use hypothetical data where necessary. Question 1 (1st Group Member) Write an SQL query to differentiate between system privileges and object privileges in a Database. Question 3 (1st Group Member) Create a role named finance role and grant it the following privileges: Question 2 (3rd Group Member) (5 marks): You have a table named employees in your Oracle database. Create a user named hr_user and grant SELECT and INSERT object privileges on the employees table to this user. Provide the SQL commands to achieve this. (7 marks): • SELECT privilege on the invoices table • INSERT privilege on the transactions table 30 Marks (3 marks): Next, create a user named finance_user and assign the finance_role to this user. Provide the SQL commands to perform these tasks. Question 5 (3rd Group Member) Write SQL queries to demonstrate the following: Question 4 (2nd Group Member) (8 marks): Consider a scenario where you have a complex SQL query that involves joining multiple tables (orders, customers, and products). Write an SQL script to create this query and grant SELECT privilege on the necessary tables to a user named report_user so that they can execute this query successfully. Explain the steps you took and why each privilege is needed as comments on your SQL script. End of Formative Assessment 4 (7 marks): • Grant the CREATE TABLE system privilege to a user named admin_user. • Revoke the UPDATE object privilege on the inventory table from a user named inventory manager, [Total = 30 Marks] Grand Total: 30 Rubric Criteria Question 1: Differentiating Privileges Question 2: Granting Object Privileges Question 3: Using Roles Question 4: Granting Privileges for a Query Question 5: Granting/Revoking Privileges Total: Excellent (3 Marks) (5 Marks) (7 Marks) (8-7 Marks) (7 Marks) Good (4 Marks) (2 Marks) (6-5 Marks) (6-5 Marks) Satisfactory (6-5 Marks) (3 Marks) (4-3 Marks) (4-3 Marks) (4-3 Marks) Needs Improvement (1 Mark) (2-1 Marks) (2-1 Marks) (2-1 Marks) (2-1 Marks) Inadequate (0 Mark) (0 Mark) (0 Mark) (0 Mark) (0 Mark) Mark allocated /30
Expert Answer:
Answer rating: 100% (QA)
I apologize for the repetition in the questions Lets proceed with answering the revised questions Question 1 1 Group Member To differentiate between system privileges and object privileges in a databa... View the full answer
Related Book For
An Introduction To Statistical Methods And Data Analysis
ISBN: 9781305465527
7th Edition
Authors: R. Lyman Ott, Micheal T. Longnecker
Posted Date:
Students also viewed these programming questions
-
Organizations require faster decision making to be competitive in today's marketplace. Data comes in faster and requires immediate conversion. Real-time data warehousing ( RDW ) is also known as...
-
Why would the probability of an employer offering retiree health insurance increase with the number of employees for large firms over 300 workers. Support your answer with scholarly resources.
-
Construct a synthetic one-year zero-coupon bond using the information. All bonds are free of default risk and have face value equal to $100. The annual coupon of 12% is paid in semi-annual...
-
As programs become more complex, it becomes increasingly important to plan or "design" your code before writing it. Designing your code will help you organize its logic. It will also help you keep...
-
The wedge is used to level the floor of a building. For the floor loading shown, determine the horizontal force P that must be applied to move the wedge forward. The coefficient of static friction...
-
Discuss how knowledge of counseling theory is important to effective counseling strategies and alignment of these theories with counseling goals.
-
The data in CarDepreciation given in Exercise 3.93 contains information on both New price and Depreciation for a sample of 20 automobile models. (a) Find the correlation between New price and...
-
The following data relate to the operations of Slick Software, Inc., during 2011. Continuing operations: Net sales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
-
The stockholders' equity section of Company's balance sheet as of April 1 follows. On April 2, Company declares and distributes a 15% stock dividend. The stock's per share market value on April 2 is...
-
The Fashion Rack has a monthly accounting period. All transactions are recorded in a general journal. Postings are made from the general journal to the accounts receivable ledger, accounts payable...
-
Demonstrates the good knowledge of health problem including most of the social determinants and behavioral determinants? Explain briefly
-
When arriving at the traffic light closest to the authors home, there is a 25% chance that the light will be red. Express the indicated degree of likelihood as a probability value between 0 and 1.
-
When rolling a pair of dice at the Bellagio Casino in Las Vegas, there is 1 chance in 36 that the outcome is a 12. Express the indicated degree of likelihood as a probability value between 0 and 1.
-
A gambler plans to play the casino dice game called craps, and he plans to place a bet on the pass line. Let A be the event of winning. Based on the rules used in almost all casinos, P(A) = 244/495....
-
Decide whether the system in Problem 5 is stable. A linear dynamic system is stable if the homogeneous solution of its mathematical model, subjected to the prescribed initial conditions, decays. More...
-
Banks charge billions of dollars per year in overdraft, insufficient funds, or "bounced" check fees. As a group project, survey several local financial institutions to determine their fees and...
-
9x of #2 Find a power series representation for f(x)= x tan- '(x) and determine the interval of nvergence 17 7 0 A
-
Explain the regulation of the secretions of the small intestine.
-
Biofeedback is a treatment technique in which people are trained to improve their health by using signals from their own bodies. Specialists in many different fields use biofeedback to help their...
-
The focal point of an agricultural research study was the relationship between when a crop is planted and the amount of crop harvested. If a crop is planted too early or too late farmers may fail to...
-
Refer to Exercise 3.45. Use a scatterplot to plot the price per roll and number of sheets per roll. In exercise a. Do the 24 points appear to fall on a straight line? b. If not, is there any other...
-
Jupiter's is considering an investment in time and administrative expense on an effort that promises one large payoff in the future, followed by additional expenses over a 10-year horizon. The cash...
-
A large company has the opportunity to select one of seven projects-A, B, C, D, E, F, G-or choose the null (donothing) alternative. Each project requires a single initial investment as shown in the...
-
Management is considering three alternatives to satisfy an urgent need. Each of the alternatives will completely satisfy the need, so no combinations have to be considered. The first costs, operating...
Study smarter with the SolutionInn App