Identify the primary key in each of the relations

Assignment Help Basic Computer Science
Reference no: EM132926401

Radisson Blue Hotels stores information about their hotels in different countries. Every hotel is identified by hotel id, hotel name, hotel address, city and URL. Every country is identified by country code, country name and country currency. Guests staying in the hotel is identified by guest number, guest name, guest address and guest city. Every room in the hotel is identified by room number, and room floor. Every room booking is identified by booking id, starting date, and ending date. There are different types of rooms in the hotel. Each room type is identified by room type code, room standard rate, and description. In each country, there may be no hotels or more than one hotel. A hotel may have one or more rooms. A guest can book one or more rooms and a room may be booked by one or more guests. A hotel may have one or more bookings and each booking is associated with exactly one hotel. Each room type may have one or more rooms and a room belongs to one room type.

Question 1: Write the schema of the appropriate relations for the above scenario. Identify the primary key and the foreign key in each of the relations.

Question 2: How did you identify the primary key and foreign key? Explain.

Reference no: EM132926401

Questions Cloud

Determine nature of it certification needs for it positions : What are some examples of IT certifications that you might wish to pursue? Determine the nature of IT certification needs for IT positions
By how much will the return on equity change : Harbor View Medical currently uses zero debt financing. By how much will the return on equity (ROE) change after the change in the capital structure
List the number of hotels in each country : Display all the rooms having the same rate in the ascending order of room rate. List the number of hotels in each country. Only include countries.
What is the company unlevered cost of equity capital : The firm's weighted average cost of capital is 12.9% and its pretax cost is 5.8%. The tax rate is 38%. What is the company's unlevered cost of equity capital
Identify the primary key in each of the relations : Write the schema of the appropriate relations for the above scenario. Identify the primary key and the foreign key in each of the relations.
What is best practice to do prior to updating the data : What is best practice to do prior to updating the data? What business issues may occur if you don't use a qualifier, for example, a WHERE keyword when updating
What ideas do for potentially making usefully interactive : What ideas do you have for potentially making it usefully interactive? How might you approach the design if it had to work on both mobile/tablet and desktop?
Explain dynamic balance : Explain Dynamic Balance as in the core to the creative problem-solving process.
What other features or hardware to think : What does it mean to have this much computing power for $35 ? It was not too long ago that desktop PCs had these types of specs.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd