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

  Display the customerid from the orders table

Display the CustomerID from the Orders table and the sum of the associated ItemPrice multiplied by Quantity using Gross Sales (with a space) as the column name from the OrderItems table.

  Write sql statement to display first-last name of students

Write a SQL statement to display the First and Last name of students who have the Status greater than 1 and less than 10. Use BETWEEN.

  Calculate days between ordering and shipping

Calculate the Tax on an Order, Calculate the Total Shopper Spending - Develop a SELECT statement using the BB_SHOPPER table to produce a list of each shopper in the database and his or her respective totals.

  What could the mds that violate 4nf be

Let's define the rating of a director to be the average rating of all his/her movies. Find the names and ratings of all directors who have directed movies starring Al Pacino.

  Create a view named customer addresses

Create a view named CustomerAddresses that shows the shipping and billing

  Write down sql needed to create employee table

Write down SQL needed to create employee table containing the following data: employeeID, text, length of 5, primary key lastName, text, length of 25

  Display account number and balance for all customers

This assessment item is designed to test your understanding of arrays/arraylists, objects, classes, methods, sorting and searching.

  Write a script that declares a variable

Write a script that declares a variable and sets it to the count of all products in the Products table. If the count is greater than or equal to 7, the script should display a message that says,

  Write pl-sql block which displays last name

Write PL/SQL block which displays last name and salary of following people. Each of these can be done separately as PL/SQL, first to test and get output lines

  Create student sorting table

Student.txt in the attachment contains the roster of a class. Each student object has the following fields: student id, last name, first name, academic level.Create a RosterClass to store the student database in vector.

  Create a new database in sql server and run

Create a new database in SQL Server and run the following CREATE TABLE commands. Note that you must run the CREATE TABLE statements in the order presented (and load the data in the order presented) to avoid conflicts resulting from foreign key con..

  Execute queries to confirm that the basket order status

Execute queries to confirm that the basket order status and product stock levels have been appropriately modified by the trigger.

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