Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Customers customerID C001 C002 C003 C004 firstName Tony Daniel Jimmy Jimmy lastName Sahama James immy ames email tony@gmail.com dan@yahoo.com phoneNumber 0432328888 0412348711 0725637822 0488226739 jimmy@gmail.com

image text in transcribed

Customers customerID C001 C002 C003 C004 firstName Tony Daniel Jimmy Jimmy lastName Sahama James immy ames email tony@gmail.com dan@yahoo.com phoneNumber 0432328888 0412348711 0725637822 0488226739 jimmy@gmail.com Hosts hostID H001 H002 H003 H004 H005 name Joe Hockey Malcom Turnbull Richy Rich Empire Builder Richy Rich address 101 Blue St 22 Riverview Ro 99 Penthouse Dr 01 Mountain Rd 22 Kiribilli St Bookings hostID H002 H004 H001 H004 H002 customerID C001 C002 C001 C004 C001 dateFrom 20/08/2018 25/08/2018 24/08/2018 25/08/2018 30/08/2018 numberOfNights bookinglD B001 B002 B003 B004 B005 Consider the tables above that show the relations and the existing tuples within the Hire a Holiday Home relational schema. Currently the database only has a few tuples in each relation. However, it will store significantly more information in the future. Note: there can only be one host at a given address, a customer can only book with one host for any given night (they cannot book for someone else) Choose the correct answer below for the following How many superkeys are there in the Hosts relation?v How many candidate keys are there in the Bookings relation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

Add or subtract as indicated. (6t 4t4 t) + (3t4 4t + 5) - -

Answered: 1 week ago