Construct a query to show the expected payment date

Assignment Help Database Management System
Reference no: EM132172266

Question: 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 a Strayer University maintained Oracle server.

Imagine that you work for a finance industry-based organization. Your organization is looking to submit its database design documentation to an evaluation team in order to meet Sarbanes-Oxley (SOX) compliance. You have been assigned to assist in preparing the documentation of the organization's sales database. You are asked to propose a data dictionary that can be used to document the following:

• Employee (EmpNumber, EmpFirstName, EmpLastName, CommissionRate, YrlySalary, DepartmentID, JobID)

• Invoice (InvNumber, InvDate, EmpNumber, InvAmount, CustomerID)

• InvoiceLine (InvLineNumber, InvNumber, ProductNumber, Quantity)

• Product (ProductNumber, ProductDescription, ProductCost)

• Department (DepartmentID, DepartmentDescription)

• Job (JobID, JobDescription)

• Customer (CustomerID, CustomerName, CustomerAddress, CustomerPhone)

Write a three to four (3-4) page paper in which you:

1. Create a data dictionary that includes the following:

1. A description of the content for each field

2. The data type of each field

3. The format the data will be stored as in the field

4. The range of value for the field

5. A label, as required, if the attribute is a primary key or foreign key

Note: An example is shown in Table 7.3 in chapter 7 of the textbook.

1. Imagine that you are asked to identify the number of days that exist between the first invoice and last invoice for each month and complete the following:

1. Construct a query that will show the number of days that exist between the first invoice and last invoice, for each month, for each employee, using the DATEDIFF function. Be sure to provide the SQL script that will carry out this function.

2. Construct a query to show the expected payment date if invoices are due within 30 days of transaction.

3. Construct a query that will show distinct area codes of the customers.

2. Create a plan of the necessary activities that would be required to implement a valid database design process by including the following:

1. Steps in the conceptual design stage

2. Steps in DBMS selection stage

3. Steps in logical design stage

4. Steps in physical design stage

5. Task details of each activity within each stage

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.

Reference no: EM132172266

Questions Cloud

What was your ig or iig term course : What was your IG or IIG term course? Reflect on the connection between knowledge or concepts from this courses and how those have been or could be applied.
Create naming conventions for each entity and attributes : Propose an efficient data structure that may hold the tour operator's data using a normalization process. Describe each step of the process that will enable.
What is first-year relative cash flow : What is the total of present value for all five years? Should the factory be purchased? Why or why not - What is first-year relative cash flow
Forest and the trees in terms of organizational structure : Discuss the relationship between the forest and the trees in terms of organizational structure and organizational culture.
Construct a query to show the expected payment date : Construct a query that will show the number of days that exist between the first invoice and last invoice, for each month, for each employee.
Prepare an initial researched and cited discussion post : Prepare an initial researched and cited discussion post early in the week about the topic that you choose and follow with at least two more researched.
Achieved by using the corporate level growth strategy : list and discuss four ways in which company growth can be achieved by using the corporate level growth strategy.
Determine the values of commodity imports : What are the methods that customs appraisers use to determine the values of commodity imports
Discuss the management of global teams : Discuss the management of global teams as it relates to group structure.

Reviews

Write a Review

Database Management System Questions & Answers

  Write only two commands to accomplish this task.

Write only two commands to accomplish this task. Save your work as a .sql file.

  Explain the merits and demerits of dbms-provided security

write a 200- to 300-word short-answer response for the followingdescribe the advantages and disadvantages of

  What is a dbms and what are its functions

Define each of the following terms: a. data b. field c. record d. file

  Creates a user-defined database role named paymententry

Write a script that creates a user-defined database role named PaymentEntry in the AP database. Give UPDATE permission to the new role for the Invoices table, UPDATE and INSERT permission for the InvoiceLineItems table.

  Create a complete e-r diagram in crows foot notation

Design a database using the following information. Using Microsoft Visio 2013, create a complete E-R Diagram in Crow's Foot notation (including entity names, attributes, primary keys and foreign keys) that can be implemented, and then implement it..

  Could a relation be stored as a sequential file

Suppose a sequential file contains 50,000 records, and 5 milliseconds are required to interrogate an entry. How long should we expect to wait when retrieving a record from the middle of the file?

  How to switch to new data transformation techniques

How to improve query performance? How to determine external sources? Where to cleanse the data? How to switch to new data transformation techniques? How to apply ongoing changes in source systems?

  Create an erd that represents the entities and attributes

Create an ERD that represents the entities, attributes, the relationships between entities, and the cardinality and optionality of each relationship that are described by this business rule

  What do you mean by data base scheme

Database Questions:  What do you mean by data base scheme?  What do you mean by cardinality ratio?   What do you mean by degree of relation?

  Describe possible interpretations of the data

Describe some possible interpretations of the data related to the patient fall rate on the telemetry unit and Discuss the quality management process you would follow to improve patient fall rates on the unit.

  Discuss about the database modeling and normalization

Imagine that you work for a consulting firm that offers information technology and database services. Part of its core services is to optimize and offer streamline solutions for efficiency. In this scenario, your firm has been awarded a contract t..

  What are the key components of a data governance program

What are the key components of a data governance program? What are four reasons why data quality is important to an organization? Describe the key steps to improve data quality in an organization.

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