Consider the following database that contains information

Assignment Help Database Management System
Reference no: EM13380039

Consider the following database that contains information about people, vacation locations, and when those people visited them.

The relations are:

  • Person(ID, Name)
  • Location(PlaceName, Country, MainAttraction)
  • Visited(ID, PlaceName, Year).

You should assume that place names are unique in the world.

Consider the schema given above.

(a) Give a primary key for each relation. Are there any relations for which there is an alternate candidate key which you have not chosen as the primary key? Why or why not?

(b) State all referential integrity constraints (inclusion dependencies) that should hold on these relations.

( c) Explain how the difference between an outer join and an inner join. What could be the use of each?

Explain what each of the following relational algebra queries would return:

a) πPlaceName σYear<2005(Visited)

b) πName(Person) ? (πID(Person) - πID(Visited)))

c) πName(Person) ? (πID,PlaceName(Visited ÷ (πPlaceNameLocation)))

Reference no: EM13380039

Questions Cloud

Erp software and service industryoriginally the sap erp : erp software and service industryoriginally the sap erp software was developed for and implemented by mostly
1 what is the role of the project manager why is : 1. what is the role of the project manager? why is leadership so important for project managers?2. discuss the
Fiction corporation is a large national retail chain of : fiction corporation is a large national retail chain of 10000 employees and 500 retail outlets. fiction is moving its
Your database has been a hit you have been called back to : your database has been a hit. you have been called back to the customers headquarters and they want a detailed report
Consider the following database that contains information : consider the following database that contains information about people vacation locations and when those people visited
Suppose we have a relation employees ssn name department : suppose we have a relation employees ssn name department salary.nbspfor each of the following queries either write the
1 a discuss the importance of scada securityb why are scada : 1. a. discuss the importance of scada security.b. why are scada systems particularly vulnerable to cyber treats? c.
Design reportthe design report is a single team report that : design reportthe design report is a single team report that describes the functionality of the application in its final
Question 1describe a malware attack that causes the victim : question 1describe a malware attack that causes the victim to receive physical advertisement.question 2suppose that a

Reviews

Write a Review

Database Management System Questions & Answers

  Describe information using table

Describe the information seen, using the terms such as table, schema and key. Describe the EMPLOYEE and EMP_PHOTO tables in detail.

  Assignment 43 complete problems 1-5 on page 283 of your

assignment 4.3 complete problems 1-5 on page 283 of your textbook. test your sql code using oracle xe. once you are

  Create an rdm for each table in the erd

List all the business rules for the database for Kangaroo Inn. An example of a business rule is: "An invoice is generated by only one customer".

  Problem 1- customers with certain list patternsnbspproblem

problem 1- customers with certain list patternsnbspproblem descriptionnbsp you are provided with four tables in

  Create a list of managers and supervisors

Your company wants to encourage carpooling. Create an answer table listing employee name, city and street address (in that order) for employees who live in Crestline.

  Design an er diagram to capture the given requirements

Design an ER diagram to capture the requirements. State any assumptions you have that affects your design and three-level schema architecture for the Gyan Gurukul Company that provide better security also design a data abstraction for his client ka..

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Write a program to keep track of a cd or dvd collection.

write a program to keep track of a CD or DVD collection. This can only work exclusively with either CDs or DVDs since some of the data is different. The data will be stored ina file. The data from the file will be stored ina text file as records. Eac..

  Create microsoft access database

Create a Microsoft Access database. Create the tables, fi elds, data types, and primary key(s) for the database. Create the relationship(s) needed between the tables.

  Give preliminary information on data requirements for gis

You have been requested to give preliminary information on the data requirements for a GIS which is to be used to hold inventory of continental scale vegetation maps for coarse scale land surface

  Develop basic tools to expedite use of oracles data

develop basic tools to expedite use of oracles data dictionarygoalsdevelop and demonstrate sql skillsdevelop your

  Analysis of a simple case study

VSS has an existing software package that controls its high bay systems and wants to rewrite it. The existing system is written in C and uses C-ISAM files to store data.

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