Construct a query to show the expected payment date

Assignment Help Database Management System
Reference no: EM132100755

Assignment : SQL Concepts and Database Design

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 four to five (4-5) page paper in which you:

Create a data dictionary that includes the following:

A description of the content for each field

The data type of each field

The format the data will be stored as in the field

The range of value for the field

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.

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:

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.

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

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

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

Steps in the conceptual design stage

Steps in DBMS selection stage

Steps in logical design stage

Steps in physical design stage

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: EM132100755

Questions Cloud

Energy incinerator that is to double as tourist attraction : Nils bargains with the city of Fargo, North Dakota, concerning a contract to design a waste-to-energy incinerator that is to double as a tourist attraction.
Population mean of the reading scores : The population mean of the reading scores is 100 and the standard deviation is 10. (Round the answers to two decimal places)
Using the job characteristics model : Using the Job Characteristics Model, give two examples from your own work/school life.
What are some ways to promote self-determination with client : In doing this, it allowed the clients to build a positive sense of self-efficacy. To the class- what are some ways to promote self-determination with clients?
Construct a query to show the expected payment date : Construct a query to show the expected payment date if invoices are due within 30 days of transaction.
Detailed setup of network devices only for a lan : Local Area Network Design and Setup - Advanced Network Design - Analyse the need for the network for above case study. Investigate and propose a suitable
Find the numbers : Four times the square of the first number increased by the square of the second number is 17. Find the numbers.
Compare wireless communication technologies : Compare wireless communication technologies and evaluate the wireless communication standards for wireless cyber physical systems and internet of things.
Midpoint of the line segment with the given endpoints : State the midpoint of the line segment with the given endpoints. (No work required)

Reviews

Write a Review

Database Management System Questions & Answers

  Describe the basic principles of relational databases

Describe the basic principles of relational databases. How widely used are relational databases as compared with other types of databases?

  Discuss the advantage of implementing a distributed database

Research online, and discuss the advantages and disadvantages of implementing a distributed database management system (DDBMS).

  Define the importance of various system analysis

By now you should have a "toolbox" full of useful design and analysis tools. List the tools in your toolbox and then write one short paragraph on how you can/will apply them in your careers, lives, etc.

  Big data

The technical briefs will have you summarize in your own words some key topics related to databases and big data. Assume that you have been asked by the CEO in the organization that you work for to give him or her a paper on a topic he heard about wh..

  Explain use of sequential file over database

Explain these situations. When would the database be more beneficial than sequential file? Is it possible for two kinds of permanent storage to be used interchangeably?

  Create a schema that supports the company business

Create a schema that supports the company's business and processes. Explain and support the database schema with relevant arguments that support the rationale.

  What is cold backup and hot backup in case of oracle

What is cold backup and hot backup (in case of Oracle)? What are Armstrong rules? How do we say that they are complete and/or sound?

  Design a data model for a given scenario

CN5101 -design and implement a realistic database system and develop a range of SQL queries based on the case study below. For the deliverables c, d & e enclose the necessary screenshots without fail.

  Design of database systems

Write a trigger that will increment the new field numHours in the Employee table automatically whenever a record is inserted in the Works table - Create a view that shows the eids and managerids in Sales department.

  Draw dependency diagram to show the functional dependencies

Draw a dependency diagram to show the functional dependencies that exist in relation and Decompose the Home Library relation into a set of 3NF relation

  Write-up thoughts on the tutorial

Write-up thoughts on the tutorial on given tutorials: 2005 Tutorials

  How sql used to retrieve information from a spatial database

What does a spatial database store? How does it store it? How is SQL used to retrieve information from a spatial database? Explain what observer functions are and their role in a spatial database. Provide examples.

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