Preview

KXO206-Asst3-Previous-Solution

Powerful Essays
Open Document
Open Document
7096 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
KXO206-Asst3-Previous-Solution
This is a solution to a previous year’s assignment submitted by a former KXO206 Student
(used with permission)

KXO206
Database Management Systems

Assignment 3: Database Creation Report

Michael Cantwell

Skid Marx Motor Inn

Executive Summary
The Skid Marx Motor Inn has multiple requirements for its database management system (DBMS). These relate primarily to their user of the DBMS to support the operation of their Inn. As such this report provides scripts and example outputs of these scripts.

Ten requirements were specified by Skid Marx Motor Inn and each has been addressed in the following manner:


The SQL and PL/SQL script used to meet the specified requirement;



The resultant output from each specified requirement;



Relevant comments pertaining to each script;

All of the requirements as set out in the requirements report have been met.
Below is a summary of these:

Requirement

Completion Status

1 - Setup the Database

Complete

2 - Create a Structured Database Report

Complete

3 - Highlight Bookings

Complete

4 - Check Guests In and Out

Complete

5 - Summarise Room Income

Complete

6 - Find Available Rooms - PL/SQL

Complete

7 - Create a Cleaning Table

Complete

8 - Create a Cleaning Exception Report

Complete

9 - Create a Customer’s Bill

Complete

10 - Additional Scripts

Complete

Page 3 of 59

Contents
EXECUTIVE SUMMARY

3

CONTENTS

4

QUESTION 1

6

SQL SCRIPT

6

RESULTS

8

COMMENTS

9

10

QUESTION 2
SQLSCRIPT

10

RESULTS

11

COMMENTS

14

15

QUESTION 3
SQL SCRIPT

15

RESULTS

15

COMMENTS

16

17

QUESTION 4A
SQL SCRIPT

17

RESULTS

18

COMMENTS

18

19

QUESTION 4B
SQL SCRIPT

19

RESULTS

20

COMMENTS

20

21

QUESTION 5
SQL SCRIPT

21

RESULTS

22

COMMENTS

23

24

QUESTION 6
SQL QUERY

24

RESULTS

25

COMMENTS

25

You May Also Find These Documents Helpful

  • Satisfactory Essays

    1) The result for requirement 1 through 3 will vary depending on the date of the financial statement. The analysis will be the same even though the date is different. Lease Obligations shows that the present value of net lease payments for capital lease obligations was $626,000,000.…

    • 402 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    ACA1 TASK 3

    • 435 Words
    • 2 Pages

    The calculation of the straight line method of depreciation is by taking the cost of the item minus its salvage value then dividing that figure by the expected year’s life cycle of the item. This is a non complex calculation and it reduces net income and the equal amounts of depreciation are deducted from every life cycle year of the item.…

    • 435 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Int1 114.1.1 Task 3

    • 2000 Words
    • 8 Pages

    After researching, I found two studies that are similar to my experiment. One study by Sean Boyd (2007) tested to see which brand of microwave popcorn yielded the least amount of un-popped kernels. Mr. Boyd tested five brands of butter flavored microwave popcorn: Aldi, Act II, Orville Redenbacher, Jolley Time and Pop-Secret. His experiment proved his hypothesis partially wrong. Mr. Boyd hypothesized that Orville Redenbacher would be the best and Aldi's would be the worst. His experiment proved that Act II produced the least amount of un-popped kernels while Aldi's did have the most un-popped kernels on average.…

    • 2000 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    Adm2304 Assignment 2

    • 747 Words
    • 3 Pages

    (a) Test at the .05 level of significance whether the data constitute evidence of a…

    • 747 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    Gke1 Task 2

    • 1820 Words
    • 8 Pages

    In creating the following possible decision scenarios, the well-being of this company is a massive concern…

    • 1820 Words
    • 8 Pages
    Better Essays
  • Powerful Essays

    1) Using the FASB Accounting Standards Codification (http://aaahq.org/ascLogin.cfm User ID: AAA51167 Password: HcP5b3G) Answer the following question: How should Casino comps be recognized (I do not want the definition of a comp)? State 1) The codification number in the format XXX-XXX-XX-X or Topic-Subtopic-Section-Paragraph…

    • 1593 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    3. Using the keypad, type the numbers across the table in exercise C and exercise D into the table (box) provided below.…

    • 625 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    K01 Assignment 1

    • 317 Words
    • 2 Pages

    Task 1. Produce an information sheet which outlines the following: the current legislation for home based childcare and the role of regulatory bodies.…

    • 317 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    input the name and price of an item and its weight in pounds and ounces.…

    • 269 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    ACCT550 Chapter 10

    • 926 Words
    • 4 Pages

    E10-1(Acquisition Costs of Realty) The expenditures and receipts below are related to land, land improvements, and buildings acquired for use in a business enterprise. The receipts are enclosed in parentheses.…

    • 926 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Project Statement Year | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Sales | | 950,000 | 1,500,000 | 1,500,000 | 1,500,000 | 1,500,000 | 1,500,000 | 1,500,000 | 1,500,000 | Direct Cost55% of sales(Sales * 55% = DC) | | 522,500 | 825,000 | 825,000 | 825,000 | 825,000 | 825,000 | 825,000 | 825,000 | Indirect Incremental Costs | | 80,000 | 80,000 | 80,000 | 80,000 | 80,000 | 80,000 | 80,000 | 80,000 |…

    • 474 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Kot Task 3.4

    • 2014 Words
    • 9 Pages

    According to (Cherry and Jacob, 2011) Medicare is a federal funded health insurance plan for people over the age of 65 and for those who are younger with certain disabilities. In discussing the details to Mrs. Zwick’s daughter about Medicare coverage information I would explain to them in terms that both mother and daughter can understand. An explanation would begin by letting Mrs. Zwick’s daughter know that Medicare part A is a hospital insurance that helps covers several health care facilities such as hospital stay, skilled…

    • 2014 Words
    • 9 Pages
    Better Essays
  • Good Essays

    Tda 2.13 1.2

    • 748 Words
    • 3 Pages

    In schools you will find display boards that are used for many different purposes. It's important to remember when you do a display that it has a clear purpose and the headings identify this so that anyone who sees the display find it appealing and are able to understand it. In schools displays are used to provide information for pupils, staff and parents. Generally you will find specific boards are set aside in the reception area of a school to give information to parents. Staff boards will be in the staff-room to display events in schools, important messages, whereabouts of staff and playground duties rota etc. In individual classrooms you will find that the pupils work is displayed or they are used as a learning resource with a particular purpose relating to a subject as a reference to enhance pupils learning with a constant reminder.…

    • 748 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Grt110 Task 1

    • 4250 Words
    • 17 Pages

    1) New information gained: Emcees of physical aging good health excuse, because if we don’t exercise our body and muscle get weak as we aging. We have to exercise and good quality of life, if we add aerobic and strengthens its help warn the body for movement. Physical you have to balances your body everyday, balances everything, life styles, but you have to keep balances nutrition a good diabeth, there are tools help you with arthritis, blood presser, diabeth, and sleeping pattern there way that can help us as we aging.…

    • 4250 Words
    • 17 Pages
    Satisfactory Essays
  • Good Essays

    ACCT1511 topic 1

    • 2204 Words
    • 14 Pages

    about the reporting entity that is useful to existing and potential investors, lenders and other…

    • 2204 Words
    • 14 Pages
    Good Essays

Related Topics