WE WRITE CUSTOM ACADEMIC PAPERS

100% Original, Plagiarism Free, Tailored to your instructions

Order Now!

Directions: Write your answers to the exam questions on this document.
Bulleted items denote a deliverable.
Midterm: DBST 652 spring 2017: There are 5 questions. Each question is worth 20 points.
Items 1 – 5 refer to a purchase order database created in Microsoft Access. You will create a version of the database in Oracle.
Below is a relational diagram of the MS Access database. (For simplicity, some fields are not visible.)
Figure 1 – Relational Diagram MS Access
Some videos on MS Access relationships are located following these links:

1. (20 Points)
• Briefly describe the business rules implied by the relational diagram in the space below.
• Name the primary keys and foreign keys suggested by the relational diagram – complete the table below.
Table Name Primary key Foreign key
• Create a relational diagram of the PO database using Oracle SQL Data Modeler.
Use the MS Access relational diagram as a model for a new relational diagram made in Oracle Data Modeler.
Show evidence that you successfully created the diagram – in the space below show a screenshot of the diagram.
• Provide a brief explanation of any weakness in the data model and any suggestions for improving the model.
2. (20 Points)
Write the Oracle DDL commands to create the 4 tables, primary keys and referential integrity constraints implied in the MS Access relational diagram. Check your Oracle DDL for correctness.
• Submit a copy of the Oracle DDL as a separate file with the name DDL_Midterm.SQL in the assignment folder for the midterm.
• Show evidence that you successfully created the tables – show screenshots below.
• Write a brief explanation on how your solution supports your relational diagram.
3 (20 Points)
Write the Oracle DML commands to populate each of the 4 tables with a minimum of 3 rows data. Use the INSERT statement. Check your DML for correctness.
Minimum data requirements:
At least two rows with different values for Status in the table Purchase Order Status
At least two rows with the same values for Purchase Order ID in the table Purchase Orders Details
• Submit a copy of the Oracle DML as a separate file with the name DML_Midterm.SQL in the assignment folder for the midterm
• Show evidence that you successfully populated the tables in Oracle – in the space below show screenshots of the result set of a SELECT and COUNT statements.
?
4. Part 1 (10 Points)
4.a    Write 1 query demonstrating the use of one of Oracle’s SQL Datetime functions on the Oracle purchase order database. See a description of Datetime functions here: https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions001.htm
• Show evidence that you successfully executed the query – show screenshots below of the result of the queries.
• Explain the query: What is the purpose and expected result of the query?
4.b    Write 2 views that have business value on the Oracle purchase order database.
• Show evidence that you successfully executed the views – show screenshots below of the queries and the result of the queries.
• Explain the business value and expected results of the views
4.c    Create 2 indexes that have business value on the Oracle purchase order database.
— Do not create an index on a primary key
• Explain the value of the index in the space below.
• Show evidence that you successfully created the indexes – show screenshots below that show the indexes in Oracle SQL Developer.
• Submit one file with the name Question_4_Midterm.SQL to the midterm assignment a copy of the Oracle SQL commands for the queries, views and indexes as i
5. (20 Points)
Design a denormalized version of the PO database that would minimize the number of joins required to write a query that shows the status of an order for a particular product.
Create a new or modify the existing PO database relational diagram to illustrate the denormalized database.
• Show evidence that you successfully created the diagram of the denormalized database– in the space below show a screenshot of the diagram.
Extra Credit 1
Implement the denormalized version of the database. Show evidence that you created a denormalized version of the PO database. Alter the original database. Show deletion of records and tables and updates to existing tables.
Extra Credit 1
Compare the execution plans of on each version of the database (normalized and denormalized) for the query that would return the answer to the question, “List every item on order and the status of the order.” Provide an interpretation the resulting Explain plans.

Our Service Charter

  1. Excellent Quality / 100% Plagiarism-Free

    We employ a number of measures to ensure top quality essays. The papers go through a system of quality control prior to delivery. We run plagiarism checks on each paper to ensure that they will be 100% plagiarism-free. So, only clean copies hit customers’ emails. We also never resell the papers completed by our writers. So, once it is checked using a plagiarism checker, the paper will be unique. Speaking of the academic writing standards, we will stick to the assignment brief given by the customer and assign the perfect writer. By saying “the perfect writer” we mean the one having an academic degree in the customer’s study field and positive feedback from other customers.
  2. Free Revisions

    We keep the quality bar of all papers high. But in case you need some extra brilliance to the paper, here’s what to do. First of all, you can choose a top writer. It means that we will assign an expert with a degree in your subject. And secondly, you can rely on our editing services. Our editors will revise your papers, checking whether or not they comply with high standards of academic writing. In addition, editing entails adjusting content if it’s off the topic, adding more sources, refining the language style, and making sure the referencing style is followed.
  3. Confidentiality / 100% No Disclosure

    We make sure that clients’ personal data remains confidential and is not exploited for any purposes beyond those related to our services. We only ask you to provide us with the information that is required to produce the paper according to your writing needs. Please note that the payment info is protected as well. Feel free to refer to the support team for more information about our payment methods. The fact that you used our service is kept secret due to the advanced security standards. So, you can be sure that no one will find out that you got a paper from our writing service.
  4. Money Back Guarantee

    If the writer doesn’t address all the questions on your assignment brief or the delivered paper appears to be off the topic, you can ask for a refund. Or, if it is applicable, you can opt in for free revision within 14-30 days, depending on your paper’s length. The revision or refund request should be sent within 14 days after delivery. The customer gets 100% money-back in case they haven't downloaded the paper. All approved refunds will be returned to the customer’s credit card or Bonus Balance in a form of store credit. Take a note that we will send an extra compensation if the customers goes with a store credit.
  5. 24/7 Customer Support

    We have a support team working 24/7 ready to give your issue concerning the order their immediate attention. If you have any questions about the ordering process, communication with the writer, payment options, feel free to join live chat. Be sure to get a fast response. They can also give you the exact price quote, taking into account the timing, desired academic level of the paper, and the number of pages.

Excellent Quality
Zero Plagiarism
Expert Writers

Instant Quote

Subject:
Type:
Pages/Words:
Single spaced
approx 275 words per page
Urgency (Less urgent, less costly):
Level:
Currency:
Total Cost: NaN

Get 10% Off on your 1st order!