What are the appropriate primary keys in each relation

Assignment Help Database Management System
Reference no: EM131684490

Introduction to Databases Assignment Questions

Question One - Consider the following three relations:

1757_figure.png

For each of the following relational expressions, compute the result on the above relations and submit only the final answer. For example, for query: πB, D(S), the result should be entered as: {(a, x), (b, y), (b, x), (c, y)}.

a. πA, D(R×S)

b. πA, D(R∞S)

c. πE(T) - πE(S∞T)

Question Two - Consider the Bank database:

414_figure1.png

a. What are the appropriate primary keys in each relation?

b. Given your choice of primary keys, identify appropriate foreign keys.

Question Three - Consider the relational database of instructor:

ID

Name

DOB

Gender

Dept_No

E101

Ahmed

15-JUL-1986

M

2

E103

Ali

04-MAY-1989

M

2

E104

Sara

29-OCT-1987

F

1

E102

Omar

20-MAY-1988

M

3

E105

Hind

23-JAN-1980

F

4

a. Identify at least four possible super keys?

b. Identify at least three possible candidate keys?

Question Four - Employee (Id, emp_name, age, occupation_Id, city_Id)

Occupation (occupation_id, occup_name)

City (city_id, city_name)

Consider the above relational database. Give an expression in the relational algebra to express each of the following queries:

a. Find the names and ages of all employees who work in "New York".

b. Find the names and cities of all employees who work as "Software Engineer".

Reference no: EM131684490

Questions Cloud

What will be your recommendation to the president : If you were the Human Resource Director, how will you resolve this issue and what will be your recommendation to the President?
Write problem statement to address specific health disparity : Write a problem statement to address this specific health disparity. Support your proposed solutions and answers with appropriate references.
Explain the current state of organizations workforce dynamic : Explain the current state of the organization's workforce dynamic. Is its workforce growing? Is it changing? How is it changing and why?
Find the percentages of people with different opinions : Using the 1% significance level, test the null hypothesis that the percentages of people with different opinions are similar for all four regions.
What are the appropriate primary keys in each relation : IT-244 Introduction to Databases Assignment Questions. Consider the Bank database: What are the appropriate primary keys in each relation
Formulate the variance of the given bulbs : Test at the 5% significance level whether the variance of such bulbs is different from 4200 square hours.
What will be your recommendation to the president : If you were the Human Resource Director, how will you resolve this issue and what will be your recommendation to the President?
Why you are interested in the master of social work program : Why you are interested in the Master of Social Work (MSW) program at Walden University and what are your plans after you receive your degree?
Discuss the ethical issues that may be found in health care : Assess common health care leadership issues. Discuss the ethical and legal issues that may be found in the health care organization of your choice.

Reviews

len1684490

10/18/2017 2:46:42 AM

This Assignment must be submitted on Blackboard via the allocated folder. Email submission will not be accepted. You are advised to make your work clear and well-presented, marks may be reduced for poor presentation. You MUST show all your work. Late submission will result in ZERO marks being awarded. The work should be your own, copying from students or other resources will result in ZERO marks. Use Times New Roman font for all your answers.

len1684490

10/18/2017 2:46:31 AM

Learning Outcome(s): Define the relational model. Identify the appropriate primary key and foreign key in a given relation. Describe different types of relational model keys and their use in databases. Define the operations of therelational algebra.

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  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

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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