Construct a query to show the expected payment date

Assignment Help Database Management System
Reference no: EM131613146

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:

a. A description of the content for each field

b. The data type of each field

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

d. The range of value for the field

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

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

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

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

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

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

a. Steps in the conceptual design stage

b. Steps in DBMS selection stage

c. Steps in logical design stage

d. Steps in physical design stage

e. 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: EM131613146

Questions Cloud

Why indirect approach often used in persuasive messages : It is more courteous and therefore gives the writer the opportunity to build up goodwill before slipping in the sales pitch.
Create your policy before procuring technology : Create your policy before procuring technology - Find the devices that are accessing corporate resources
What will the energy consumption of the new robotics : What will the energy consumption of the new robotics. Make sure sunk costs are included. Whether even better robotics may be available in a short while.
Describe the advantages of atm to those of frame relay : Compare the advantages and disadvantages of ATM to those of frame relay. Recommend the superior technology and explain your rationale.
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.
Articulate personal interaction with modern leadership : Although the formal paper this week has some personal response, these Journals are intended to be specifically informal and self-reflective.
How economic evaluation can be used using basic information : In your initial posting explain how economic evaluation can be used using basic information. Using the major types of health outcomes.
Establish a policy for reporting theft or misplacement : Establish a customized corporate usage policy for mobile devices and establish a policy for reporting theft or misplacement
Analyze the fundamentals of pki : Determine the primary ways in which its features and functions could benefit your organization and its information security department.

Reviews

Write a Review

Database Management System Questions & Answers

  Find the enames of managers who manage the departments

Find the enames of managers who manage the departments with the largest budget. Find the managerids of managers who manage only departments with budgets greater than $1,000,000.

  Provide a main program to test the lexical analyzer

The getToken() function should read characters from the stream pointed to by the first argument and return the token that it recognizes. This file should #include p2lex.h and provide a main program to test the lexical analyzer

  Identify the assets that you are protecting

Define who would be included in the assessment of the database environment and identify the assets that you are protecting.

  Describe information the dbms maintains in system catalog

What are the generic names for three tables in the catalog and their corresponding names in Oracle?

  Draw the dependency diagram

Suppose you have been given the table structure and data shown in Table P6.9, which was imported from an Excel spreadsheet.

  Identify the foreign key columns in the table structures

The problems below use the Customer, OrderTbl, and Employee tables of a simplified Order Entry database.

  Advantages and disadvantages of using data analytics

Analyze the main advantages and disadvantages of using data analytics within the industry or company that you have chosen

  Create microsoft access database for doc-n-the-box pharmacy

Create a Microsoft Access database for the Doc-n-the-Box pharmacy. Create the table(s), field(s), data type(s), primary key(s), etc. for the database

  What are the primary entity relationship modeling

What are the primary entity relationship modeling and design conventions used for Oracle Database Management Systems

  Provide a sql script file to define the database schema

Provide a SQL script file to define the database schema, HappyCustomerDB. Your script should be organised so that whenever the script is loaded all the database objects will be dropped and re-created.

  Assume that a student table in a university database has an

assume that a student table in a university database has an index on studentid the primary key. and additional indexes

  Why is technical architecture important to a data warehouse

Why is the technical architecture important to a data warehouse? Discuss the back room and front room components in relation to the technical architecture.

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