Determine the commissions paid to specific employees of sale

Assignment Help PL-SQL Programming
Reference no: EM13313617

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:

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.

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.

Determine and explain the factors necessary to ensure referential integrity.

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.

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.

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.

Include charts or diagrams created in Excel, Visio, MS Project, or one of their equivalents such as Open Project, Dia, and OpenOffice. The completed diagrams / charts must be imported into the Word document before the paper is submitted.

Reference no: EM13313617

Questions Cloud

What is the percentage lost by the window : A wall in a house contains a single window. The window consists of a single pane of glass whose area is 0.18 m2 and whose thickness is 7 mm. what is the percentage lost by the window
A person chooses between leisure and consumption : A person chooses between leisure and consumption. The utility derived from any combination of leisure and consumption is given by the formula: u = LC - 88C where u is utility, L is the number of leisure hours per week, and C is the number of dolla..
Determine min horizontal force p required to hold the crate : Determine the minimum horizontal force P required to hold the crate from sliding down the plane. The crate has a mass of 70kg and the coefficient of static friction between the crate and the plane is μs = 0.45.
Calculate minimum force he must exert to get moving back : a contestant in a winter games event pushes a 31 kg block of ice across a frozen lake. the coefficient of static friction is 0.1, Calculate minimum Force he must exert to get moving back
Determine the commissions paid to specific employees of sale : 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.
Determine when the crates begin to slide at an angle : Crates A and B weigh 300 lb and 110 lb, respectively. They are connected together with a cable and placed on the inclined plane. If the angle θ is gradually increased, determine when the crates begin to slide.
What is the linear speed of a point on its edge : a grindstone has a radius of 6.00 cm and rotates at 7000 rpm. What is the linear speed of a point on its edge
Determine the inclination theta of the ladder : Determine the inclination θ of the ladder if the coefficient of static friction between the friction pad A and the ground is μs= 0.3. Assume the wall at B is smooth. The center of gravity for the man is at G.
What is the difference in air pressures : Hurricane winds of 95 m/h are blowing over the flat roof of a well sealed house. What is the difference in air pressure between the inside and outside of the house

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  How to select the primary key

How to select the primary key from the candidate keys? How do foreign keys relate to candidate keys? provide examples from either your workplace or class assignments

  Prior to the adoption of sql as a standard

Prior to the adoption of SQL as a standard by the American National Standards Institute (ANSI), each database management system (DBMS) had its own unique command language and syntax. SQL was adopted as an ANSI standard in 1986. The International S..

  Write a script that uses two variables

Write a script that uses two variables to store (1) the count of all of the products in the Products table and (2) the average list price for those products. If the product count is greater than or equal to

  Pretend that you are on the boards

Pretend that you are on the boards of the American National Standards Institute (ANSI) and the International Organization for Standards (ISO), two of the organizations who standardized SQL

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Write the queries in sql

Write your queries so that the final answers will never include duplicates, but add the keyword DISTINCT only in cases where duplicates would otherwise be produced.

  Let the user type his first and last name

The program should let the user type his first and last name.

  Create a pl-sql block using the hr schema

Create a PL/SQL block to achieve the following using the HR schema and select the name, salary, and department of the employee with the maximum salary.

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Write sql create table statement to create pet table

Write an SQL CREATE TABLE statement to create the PET table without referential integrity constraint on OwnerID in PET.

  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..

  Draw an entity-relationship diagram

Draw an Entity-Relationship Diagram (ERD) for the data storage requirements of a business described in the case study and Data Model Transformation.

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