1. Create a new schema (user) with name and password of your choosing. (5 points) 2....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Create a new schema (user) with name and password of your choosing. (5 points) 2. At least four (4) tables must be created in the database with the minimum of four (4) columns in each table. Overall minimum of sixteen (16) columns must be created. Apply appropriate column datatypes, constraints (e.g., NOT NULL, CHECK), primary keys, and foreign keys. (25 points) 3. Insert (populate) data into the tables. Minimum of five (5) records for each table should be provided. (20 points) 4. Create two (2) roles (e.g., user, manager, developer, etc.). Assign appropriate privileges for each role. One of the roles should be able to INSERT, UPDATE, and DELETE data in all tables. Then, create two (2) user for each role. (10 points) 5. Create two (2) queries that utilize JOINS and GROUP Functions. Your queries should return results that are meaningful for the company. (10 points) 6. Create two (2) stored procedures that involve INSERT, UPDATE, or DELETE data in the database. (10 points) 7. Create two (2) stored functions that return calculation values. You should create functions that are essential and useful for the company. (10 points) 8. Create PL/SQL block that drops tables, users, roles, stored procedures, and stored functions. Add these blocks to proper location in your script. (10 points) 1. Create a new schema (user) with name and password of your choosing. (5 points) 2. At least four (4) tables must be created in the database with the minimum of four (4) columns in each table. Overall minimum of sixteen (16) columns must be created. Apply appropriate column datatypes, constraints (e.g., NOT NULL, CHECK), primary keys, and foreign keys. (25 points) 3. Insert (populate) data into the tables. Minimum of five (5) records for each table should be provided. (20 points) 4. Create two (2) roles (e.g., user, manager, developer, etc.). Assign appropriate privileges for each role. One of the roles should be able to INSERT, UPDATE, and DELETE data in all tables. Then, create two (2) user for each role. (10 points) 5. Create two (2) queries that utilize JOINS and GROUP Functions. Your queries should return results that are meaningful for the company. (10 points) 6. Create two (2) stored procedures that involve INSERT, UPDATE, or DELETE data in the database. (10 points) 7. Create two (2) stored functions that return calculation values. You should create functions that are essential and useful for the company. (10 points) 8. Create PL/SQL block that drops tables, users, roles, stored procedures, and stored functions. Add these blocks to proper location in your script. (10 points)
Expert Answer:
Answer rating: 100% (QA)
1 Create a new schema with name and password sql CREATE USER myuser IDENTIFIED BY mypassword 2 Creat... View the full answer
Related Book For
Database Systems Design Implementation and Management
ISBN: 978-1285196145
11th edition
Authors: Carlos Coronel, Steven Morris
Posted Date:
Students also viewed these literature questions
-
royalites received by writers, inventors, and orginators of other creative works who are not in the business
-
A regular language is a language that can be defined by a regular expression. 0 2 . 1 Complete the unshaded cells of Table 1 to show which of the statements about regular languages are true and which...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
What are the main technical challenges faced by firms that wish to internationalise their selection and assessment approaches?
-
Journalize the following transactions. Include dates and a brief explanation for each journal entry. July 1: Issued common stock for $10,000 July 5: Sold services on account for $5,000 July 9:...
-
Refer to the previous question. Suppose that Road Ramblers phone system can only keep four calls on hold at any time, the average profit margin of each call is $55, and sales reps cost the company...
-
In its 2002 annual report to shareholders, Aon Corporation described its mandatorily redeemable preferred stock as follows: In January 1997, Aon created Aon Capital A, a wholly-owned statutory...
-
Suppose your elasticity of demand for your parking lot spaces is 0.5, and price is $20 per day. If your MC is zero, and your capacity at 9 A.M. is 96%full over the last month, are you optimizing?
-
Question 5 of 13 View Policies Show Attempt History < Current Attempt in Progress 2.89/6 : On July 31, 2022. Oriole Company had a cash balance per books of $6,315.00. The statement from Dakota State...
-
THANKSGIVING PERIODIC TABLE UNSCRAMBLE Use The Element Symbols (Found On The Periodic Table) Suggested By The Following Clues To Make A Word Or Phrase (Foods Included) Related To Thanksgiving You May...
-
An explanation of how to calculate WACC Discuss asset beta and equity beta and debt beta Compare and contrast the processes of mergers and acquisitions. Determine the motivating factors that lead to...
-
What principles underlie successful ecosystem restoration, and how can restoration practices be adapted to account for climate change ?
-
Explain how Each Mitigation Procedure Helps Reduce Negative Impact of Liquidity risk for companies.
-
Bookkeeper Knowledge Testing 1 - There are errors on the balance sheet and income statement. Please identify these errors and describe the correction to be made. 2 - The company has sold a vehicle in...
-
You are a senior trainee accountant in your audit firm s technical department. Your responsibility is to advise fellow staff members, conducting an audit, on statutory and corporate governance...
-
K Analyze Global Air's cost-volume-profit relationships Global Air is considering a new flight between Atlanta and Los Angeles. The average fare per seat for the flight is $760. The costs associated...
-
Economic feasibility is an important guideline in designing cost accounting systems. Do you agree? Explain.
-
What is the difference between UNION and UNION ALL? Write the syntax for each.
-
Given the scenario and the requirements in Problem 2, answer the following questions: a. What recommendations will you make regarding the type and characteristics of the required database system? b....
-
Write a query to produce the number of invoices and the total purchase amounts by customer, using the output shown in Figure P7.35 as your guide. CUS CODE Number of Invoices Total Customer Purchases...
-
1.7 Limitations of Comparative Advantage. The key to understanding most theories is what they say and what they don't. Name four or five key limitations to the theory of comparative advantage.
-
1.6 Post-LIBOR Scandal. Why do you think the UK government has resolved against the total elimina- tion of LIBOR benchmarks after the scandal?
-
1.9 Aidan's Globalization. After reading the chapter's description of Aidan's globalization process, how would you explain the distinctions between interna- tional, multinational, and global...
Study smarter with the SolutionInn App