Construct a query that will show the number of days

Assignment Help Database Management System
Reference no: EM131729502

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:

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.

The specific course learning outcomes associated with this assignment are:

Design a relational database so that it is at least in 3NF.

Prepare database design documents using the data definition, data manipulation, and data control language components of the SQL language.

Explain the key principles of data security and identify data security risk and violations in data management system design.

Use technology and information resources to research issues in the strategic implications and management of database systems.

Write clearly and concisely about topics related to the strategic planning for database systems using proper writing mechanics and technical style conventions.

Reference no: EM131729502

Questions Cloud

Develop a list of software needed to restore operations : You are part of a disaster recovery team charged with completing the asset inventory at a small business that primarily sells a small selection of products.
Explain the methods to optimize database components : Evaluate at least two methods that can be used to optimize database components such as queries, reports SQL transaction processing, and data consumption.
What are your personal views of what your interviewee does : What are your personal views of what your interviewee does? Do you believe this impacts crime control/crime prevention?
Evolving standards of decency : With so many juveniles committing heinous crimes, take a position and debate as a public administrator on whether you think the death penalty should be allowed
Construct a query that will show the number of days : Construct a query to show the expected payment date if invoices are due within 30 days of transaction.
Describe three human resource factors that affect project : Describe the different organizational structures as it relates to project management (i.e., functional, project-based, matrix).
How you would study the topic using the scientific method : What are some of the pros of the method you chose? What are some of the limitations, challenges, and/or problems inherent in the method you selected?
Discuss about the cbs news survey : In a CBS News survey done in 2009, 95% of n = 346 randomly sampled married men said that they would marry their spouses again if they had it to do all.
Create a typed dataset and a data layer class : INSERT records into a database table and SELECT records for display to the user. We will create a typed dataset, a Data Layer class, several functions.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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