Explain the factor necessary to ensure referential integrity

Assignment Help PL-SQL Programming
Reference no: EM13325146

The Strayer Oracle Server may be used to test and compile the SQL Queries developed for this assignment. Your instructor will provide you with login credentials to aStrayer University maintained Oracle server.

Imagine that you have been hired as a consultant to assist in streamlining the data processing of an international based organization that sells high-end electronics. The organization has various departments such as payroll, human resources, finance, marketing, sales, and operations. The sales department is the only department where employees are paid a commission in addition to their yearly salary and benefits. All other departments compensate their employees with a yearly salary and benefits only. Commission is paid by multiplying the employee's commission rate by the total amount of product units sold. You have access to the following data sets:

- Employee (EmpNumber, EmpFirstName, EmpLastName, CommissionRate, YrlySalary,

DepartmentID, JobID)

- Invoice (InvNumber, InvDate, EmpNumber, InvAmount)

- InvoiceLine (InvLineNumber, InvNumber, ProductNumber, Quantity)

- Product (ProductNumber, ProductDescription, ProductCost)

- Department (DepartmentID, DepartmentDescription)

- Job (JobID, JobDescription)

Write a two to three (2-3) page paper in which you:

1.  Design a query that will allow the finance department to determine the commissions paid to specific employees of the sales department for the month of December. Note: You will need to generate the tables described above (Employee, Invoice, InvoiceLine, Product, Department, and Job) in order to compare and validate your code. Validated query code must be part of your paper.

2.  Compare the code of the query you designed in Question one (1) to one that would show how much total compensation is paid to each employee for the same month.

3.  Determine and explain the factors necessary to ensure referential integrity.

4.  Create an object-oriented model to show how the tables are interrelated through the use of graphical tools such as Microsoft Visio, or an open source alternative such as Dia. Make sure that you are able to show the relationship types such as 1:M, 1:1, or M:1. Additionally, remember to include the determined factors from the previous assignment requirement. Note: The graphically depicted solution is not included in the required page length.

5.  Identify which data components are the entities and attributes, and the relationship between each using an object representation diagram through the use of graphical tools such as Microsoft Visio, or an open source alternative such as Dia. Note: The graphically depicted solution is not included in the required page length.

6.  Describe how Big Data could be used to assist in the productivity and forecasting of the organization's products and resources.

Your assignment must follow these formatting requirements:

- Be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides; citations and references must follow APA or school-specific format. Check with your professor for any additional instructions.

- Include a cover page containing the title of the assignment, the student's name, the professor's name, the course title, and the date. The cover page and the reference page are not included in the required assignment page length

1.       Thoroughly designed a query that will allow the finance department to determine the commissions paid to specific employees of the sales department for the month of December.

2.       Thoroughly compared the code of the query you designed in Question one (1) to one that would show how much total compensation is paid to each employee for the same month.

3.       Thoroughly determined and explained the factors necessary to ensure referential integrity.

4.       Thoroughly created an object-oriented model to show how the tables are interrelated through the use of graphical tools such as Microsoft Visio, or an open source alternative such as Dia.

5.       Thoroughlyidentified which data components are the entities andattributes, and the relationship between each using an object representation diagram through the use of graphical tools such as Microsoft Visio, or an open source alternative such as Dia.

6.       Thoroughly described how Big Data could be used to assist in the productivity and forecasting of the organization's products and resources.

7.       0-2 errors present

Reference no: EM13325146

Questions Cloud

What is hans marginal rate of substitution : What is Hans' marginal rate of substitution of C for F when utility is maximized?  (To be clear, we mean the value of F in terms of C). Explain.
Evaluate the ph at the equivalence point for the titration : Calculate the pH at the equivalence point for the titration of 0.130 M methylamine (CH3NH2) with 0.130 M HCl. The Kb of methylamine is 5.0× 10-4.
Explain the analyte has reacted to form the conjugate : The half-equivalence point of a titration occurs half way to the end point, where half of the analyte has reacted to form its conjugate, and the other half still remains unreacted. If 0.260 moles of a monoprotic weak acid
Strategies for critical viewing limit this influence : Many psychology experts indicate that watching a lot of violence on television can lead to observational learning of aggressive behavior. How can strategies for critical viewing limit this influence?
Explain the factor necessary to ensure referential integrity : Identify which data components are the entities and attributes, and the relationship between each using an object representation diagram through the use of graphical tools such as Microsoft Visio, or an open source alternative such as Dia.
Compute the direction of the electric field : 10-nC point charge is located at the center of a thin spherical shell of radius 8.0 cm carrying -20 nC distributed uniformly over its surface. What is the magnitude of the electric field 2.0 cm from the point charge
Find out the ph of nh3 solution : Determine the pH of (a) a 0.20 M NH3 solution, (b) a solution that is 0.20 M in NH3 and 0.30 M NH4Cl
Contrast their management styles and philosophies : Entrepreneurship has clearly transformed the world economy. Choose three successful entrepreneurs, and use research to compare and contrast their management styles and philosophies. Feel free to use local entrepreneurs—or even family members. If you ..
Motivation method factor in their overall leadership theory : What are some of the best methods when motivating assignees and why are those methods successful? How does a company have selected motivation method factor into their overall leadership theory?

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Describe what changed in the ddl for each table

Make sure that the 3 additional tables you added in Unit 3 are also shown and have established primary and foreign keys to appropriate tables.

  Statement to display the sku, sku_description

write an sql statement to display the SKU, SKU_Description, WareHouse ID, and QuantityOnHand for all products having a QuantityOnOrder equal to 0. Sort the results in descending order by WareHouse ID and in ascending order by SKU

  Perform the tasks below by using the correct sql statements

Create a view so that supplier 'ASP' can only see his information from the l_foods table.  Call this view_l_foods_ASP.  Show columns supplier_id, product_code, menu_item, description, and price in your view.

  Write select statement to return those rows with due balance

Write SELECT statement which returns those rows with the balance due greater than 1000. Sort result set by InvoiceTotal, with largest invoice first.

  Update stock levels when the order is cancelled

Execute queries to confirm that the basket order status and product stock levels have been appropriately modified by the trigger - the trigger needs to fire when a new status record is added to the BB_BASKETSTATUS table and when the IDSTAGE col..

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Create the needed tables in the sql server environment

Create and submit a screenshot of your database diagram based on the tables, and generate the data definition language (DDL) for each table.

  Write a iterative function that returns the summation

Write and test functions that return summation of all the numbers (items) in the list. Write a recursive function that returns the summation of all the numbers in the list.

  Trigger named products_insert

Create a trigger named Products_INSERT that inserts the current date for the DateAdded column of the Products table if the value for that column is null. Test this trigger with an appropriate INSERT statement.

  Create a pivottable on a new worksheet using the data

Use the data on the Christensen worksheet in the range A1:J19 to create a PivotChart on a new sheet. Use the Type, Issue Price, and Est. Value fields and the default locations. Find the average issue price and average estimated value.

  Write sql commands to implement profile

Write SQL commands which would implement this profile. Next, write query that would list profile, profile resource name, and limit value for the new profile.

  Select distinct cmdclient

SELECT DISTINCT CMDclient.'Client Code SCA' as GuestCode, CMDextras.ArrivalDate as arr, CMDextras.DepartureDate as dep, CMDapr.FirstName as fname, CMDapr.Surname as lname

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd