Assignment 6:SQL Concepts and Database DesignDue Week 7 and worth 120 points
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 organizations 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
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more