Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Report also. Tables provided create two store procedures and define the business reasons for them.usetables.
 
 
 
P VRENTAL_ID
DESCRIPTION
COMPLETE_ADDRESS
* OWNER_NAME
OWNER_EMAIL
OWNER PHONE
OTHER DETAILS
VACATION RENTAL
NUMBER (10)
VARCHAR2 (50 BYTE)
VARCHAR2 (100 BYTE)
VARCHAR2 (50 BYTE)
VARCHAR2 (100 BYTE)
CHAR (10 BYTE)
VARCHAR2 (100 BYTE)
HOLIDAY_HOME_PK (VRENTAL_ID)
◆ HOLIDAY_HOME_PK (VRENTAL_ID)
PF VRENTAL_ID
PF" AMENITY_CODE
VRENTAL_AMENITY
PF* PROPERTY_ID
NUMBER (10)
PF PROPERTY_UNIT_NUMBER CHAR (8 BYTE)
P STATUS_DATE
DATE
F
NUMBER (10)
CHAR (5 BYTE)
OTHER DETAILS VARCHAR2 (100 BYTE)
PROPERTY_AMENITY_PK (VRENTAL_ID, AMENITY_CODE)
FK PROPERTY_AMENITY_TO_AMENITY (AMENITY_CODE)
FK_PROPERTY_AMENITY_TO_VRENTAL (VRENTAL_ID)
PROPERTY_AMENITY_PK (VRENTAL_ID, AMENITY_CODE)
BOOKING ID
NUMBER (10)
CHAR (1 BYTE)
PROPERTY_STATUS_PK (PROPERTY_ID, PROPERTY_UNIT_NUMBER, STATUS_DATE)
* AVAILABLE
FK_PROPERTY_STATUS_TO_BOOKING (BOOKING_ID)
FK_PROPERTY_STATUS_TO_PROPERTY (PROPERTY_ID, PROPERTY_UNIT_NUMBER)
PROPERTY_STATUS
PROPERTY_STATUS_PK (PROPERTY_ID, PROPERTY_UNIT_NUMBER, STATUS_DATE)
K
PF PROPERTY_ID
P PROPERTY_UNIT_NUMBER
* PROPERTY TYPE
.
* BATHROOM_COUNT
* BEDROOM_COUNT
ROOM_COUNT
* SLEEPS HOW MANY
OTHER DETAILS
PROPERTY
NUMBER (10)
CHAR (8 BYTE)
VARCHAR2 (50 BYTE)
NUMBER (3.1)
NUMBER (3)
VARCHAR2 (100 BYTE)
PROPERTY_PK (PROPERTY_ID. PROPERTY_UNIT_NUMBER)
NUMBER (2,1)
NUMBER (2)
PAMENITY_CODE
FK_PROPERTY_TO_VRENTAL (PROPERTY_ID)
PROPERTY_PK (PROPERTY_ID, PROPERTY_UNIT_NUMBER)
AMENITY
CHAR (5 BYTE)
AMENITY_DESCRIPTION VARCHAR2 (100 BYTE)
AMENITY_PK (AMENITY_CODE)
AMENITY PK (AMENITY_CODE)
P BOOKING_ID
F
PROPERTY_ID
F.
* PROPERTY_UNIT_NUMBER
.
K
GUEST_ID
* BOOKING_STATUS
* BOOKING_STATUS_CHANGE_DATE
BOOKING START
* BOOKING_END
OTHER DETAILS
BOOKING_PK (BOOKING_ID)
BOOKING_PK (BOOKING_ID)
P GUEST_ID
BOOKING
GUEST_FIRST_NAME
GUEST_LAST_NAME
NUMBER (10)
NUMBER (10)
CHAR (8 BYTE)
FK_BOOKING_TO_GUEST (GUEST_ID)
FK_BOOKING_TO_PROPERTY (PROPERTY_ID, PROPERTY_UNIT_NUMBER)
NUMBER (10)
VARCHAR2 (25 BYTE)
DATE
DATE
DATE
VARCHAR2 (100 BYTE)
. DOB
* DRIVERS_LICENSE STATE
* DRIVERS LICENSE_NO
OTHER DETAILS
GUEST_PK (GUEST_ID)
GUEST_PK (GUEST_ID)
GUEST
NUMBER (10)
VARCHAR2 (50 BYTE)
VARCHAR2 (50 BYTE)
DATE
CHAR (2 BYTE)
VARCHAR2 (15 BYTE)
VARCHAR2 (100 BYTE)
Transcribed Image Text:P VRENTAL_ID DESCRIPTION COMPLETE_ADDRESS * OWNER_NAME OWNER_EMAIL OWNER PHONE OTHER DETAILS VACATION RENTAL NUMBER (10) VARCHAR2 (50 BYTE) VARCHAR2 (100 BYTE) VARCHAR2 (50 BYTE) VARCHAR2 (100 BYTE) CHAR (10 BYTE) VARCHAR2 (100 BYTE) HOLIDAY_HOME_PK (VRENTAL_ID) ◆ HOLIDAY_HOME_PK (VRENTAL_ID) PF VRENTAL_ID PF" AMENITY_CODE VRENTAL_AMENITY PF* PROPERTY_ID NUMBER (10) PF PROPERTY_UNIT_NUMBER CHAR (8 BYTE) P STATUS_DATE DATE F NUMBER (10) CHAR (5 BYTE) OTHER DETAILS VARCHAR2 (100 BYTE) PROPERTY_AMENITY_PK (VRENTAL_ID, AMENITY_CODE) FK PROPERTY_AMENITY_TO_AMENITY (AMENITY_CODE) FK_PROPERTY_AMENITY_TO_VRENTAL (VRENTAL_ID) PROPERTY_AMENITY_PK (VRENTAL_ID, AMENITY_CODE) BOOKING ID NUMBER (10) CHAR (1 BYTE) PROPERTY_STATUS_PK (PROPERTY_ID, PROPERTY_UNIT_NUMBER, STATUS_DATE) * AVAILABLE FK_PROPERTY_STATUS_TO_BOOKING (BOOKING_ID) FK_PROPERTY_STATUS_TO_PROPERTY (PROPERTY_ID, PROPERTY_UNIT_NUMBER) PROPERTY_STATUS PROPERTY_STATUS_PK (PROPERTY_ID, PROPERTY_UNIT_NUMBER, STATUS_DATE) K PF PROPERTY_ID P PROPERTY_UNIT_NUMBER * PROPERTY TYPE . * BATHROOM_COUNT * BEDROOM_COUNT ROOM_COUNT * SLEEPS HOW MANY OTHER DETAILS PROPERTY NUMBER (10) CHAR (8 BYTE) VARCHAR2 (50 BYTE) NUMBER (3.1) NUMBER (3) VARCHAR2 (100 BYTE) PROPERTY_PK (PROPERTY_ID. PROPERTY_UNIT_NUMBER) NUMBER (2,1) NUMBER (2) PAMENITY_CODE FK_PROPERTY_TO_VRENTAL (PROPERTY_ID) PROPERTY_PK (PROPERTY_ID, PROPERTY_UNIT_NUMBER) AMENITY CHAR (5 BYTE) AMENITY_DESCRIPTION VARCHAR2 (100 BYTE) AMENITY_PK (AMENITY_CODE) AMENITY PK (AMENITY_CODE) P BOOKING_ID F PROPERTY_ID F. * PROPERTY_UNIT_NUMBER . K GUEST_ID * BOOKING_STATUS * BOOKING_STATUS_CHANGE_DATE BOOKING START * BOOKING_END OTHER DETAILS BOOKING_PK (BOOKING_ID) BOOKING_PK (BOOKING_ID) P GUEST_ID BOOKING GUEST_FIRST_NAME GUEST_LAST_NAME NUMBER (10) NUMBER (10) CHAR (8 BYTE) FK_BOOKING_TO_GUEST (GUEST_ID) FK_BOOKING_TO_PROPERTY (PROPERTY_ID, PROPERTY_UNIT_NUMBER) NUMBER (10) VARCHAR2 (25 BYTE) DATE DATE DATE VARCHAR2 (100 BYTE) . DOB * DRIVERS_LICENSE STATE * DRIVERS LICENSE_NO OTHER DETAILS GUEST_PK (GUEST_ID) GUEST_PK (GUEST_ID) GUEST NUMBER (10) VARCHAR2 (50 BYTE) VARCHAR2 (50 BYTE) DATE CHAR (2 BYTE) VARCHAR2 (15 BYTE) VARCHAR2 (100 BYTE)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY